Results 1 to 10 of 10

Thread: moving inc folder/speed

  1. #1
    flofou
    Guest

    Default moving inc folder/speed

    Hello,

    I just moved inc folder to home/ directory (except header.inc.php and js folder)
    Also i had to edit all inc.php files:

    changed this:
    PHP Code:
    require_once( "header.inc.php" ); 
    to this:
    PHP Code:
    require_once( "/home/public_html/inc/header.inc.php" ); 
    This change will affect my website speed or functions?

    Regards.

  2. #2
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    I don't know why you would do this... please explain your reason?

    It will have no effect on speed.

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  3. #3
    flofou
    Guest

    Default

    Hello Smoge,

    I did this because i was browsing your forum and i saw this thread:
    Security Checklist for Dolphin

    So i did the checklist (note that i didnt set the permission of cmd.php and notifie.php to 644 but to 744 because cronjobs werent working anymore)
    Then i saw the post of rn1024 who was adding to the cheklist that it was good to move the inc directory.
    Do you think, its a good thing to secure more the script or this wont do anything for security?
    Im very interesting about securising my script/server and after i installed apf and bfd (alone!!! wow i found how to do it! please dont laugh ), i was looking for possible stuffs which could secure a lil more my aedating script. Since AeDating script is not more updating with security patches and that i dont want to upgrade to dolphin (i have too much mods already done and im unable to remember what i modified or changed), im trying to understand how my script works and how to tweak it.
    As you know Smoge, i have poor knowledge (i should say no knowledge lol), so i m reading and asking question to see if im on the right way to secure or optimize my script.

    Warm Regards and thanks Smoge for your support

  4. #4
    flofou
    Guest

    Default

    note: i didnt change phpmail to SMTP as i dont know how to do it.

    I didnt see reply from you on the thread i was talking about, so i guessed you agree with rr1024

    I saw this when i googled :http://secunia.com/advisories/21955/
    Last edited by flofou; 09-19-2007 at 08:43 PM. Reason: posting a link

  5. #5
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    well - renaming the inc folder is ok - but I don't think you should move it to the public_html root folder as you indicated.

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  6. #6
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    and when RR1024 talks about this:

    2nd move your inc directory files outside the public domain, move everyting except header.inc and js directory
    he means something like this:
    Code:
    /home/yoursite/inc
    (which is not we accessible)

    not
    Code:
    /home/yoursite/public_html
    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  7. #7
    flofou
    Guest

    Default

    well - renaming the inc folder is ok - but I don't think you should move it to the public_html root folder as you indicated.
    Hmmm why Smoge? it could cause issue to my script?

    I moved inc folder to /home/mysite/inc outside public_hmtl folder.

  8. #8
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    Quote Originally Posted by flofou View Post
    Hmmm why Smoge? it could cause issue to my script?
    To put it in public_html - no advantage and also, you loose the ability to control access (via an .htaccess) easily by putting it there.

    Plus - it will clutter things up - inc scripts should be in an inc (or other named) folder - it's normal practice.

    Quote Originally Posted by flofou View Post
    I moved inc folder to /home/mysite/inc outside public_hmtl folder.
    This is a good place - above the public_html folder.

    Any issues with the js folders after moving it there?

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  9. #9
    flofou
    Guest

    Default

    Hello Smoge,

    I didnt moved the js folder. I only moved the inc.php files but not the header as rr1024 said in his post. No issues since i moved the inc folder.

  10. #10
    boifromoz
    Guest

    Default

    how can somebody view the inc files on my site? i tried and failed?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Moving member icon at top
    By peterWAKA in forum General Issues, Comments, Questions
    Replies: 0
    Last Post: 11-22-2009, 09:24 AM
  2. Moving to a new server
    By surfville in forum Dolphin General Discussion v6.00 and above
    Replies: 3
    Last Post: 02-25-2008, 05:35 PM
  3. Moving from Phpizabi to Dolphin 6
    By will2power in forum Dolphin General Discussion v6.00 and above
    Replies: 1
    Last Post: 07-30-2007, 08:54 AM
  4. Moving to a new Server
    By ifeallday1 in forum Dolphin General Discussion v5.3 to v5.6.5
    Replies: 7
    Last Post: 04-30-2007, 10:40 AM
  5. moving boxes?
    By Paradise in forum Graphics / Templates
    Replies: 1
    Last Post: 12-15-2006, 05:12 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •