Welcome Guest, Not a member yet? Register   Sign In
Changing Location of index.php
#1

[eluser]bhogg[/eluser]
Hi all,

Apologies if this is answered elsewhere, but is it possible to change the location of index.php? The goal being to put only index.php inside the visual (public_html) directory, and all other files outside.

Reasons include: additional security in case index.html files are blotted over, someone forgets to put the php at the top to prevent direct execution, and ability to have data directories pulled from outside public_html.

Cheers,
Brian


P.S. Side question, any plans to remove PHP4 support? Likely not a bottle neck, but couldn't hurt going forward with PHP 5.3 / 6...
#2

[eluser]Aken[/eluser]
Sure - just put your system folder below the web root, then edit index.php with the appropriate locations.




Theme © iAndrew 2016 - Forum software by © MyBB