.htaccess - Can htaccess redirects outiside public_html -
i want access www.something.com/abc.php abc.php resides @ /home/myfolder/abc.php, outside public_html. folder structure below:
/home /myfolder abc.php /public_html
if root of web directory /public_html/, no, cannot redirect or navigate lower directory. can include abc.php in php page resides in /public_html/, however.
example:
/public_html/index.php
<?php include "../myfolder/abc.php" strictly academically speaking, set symlink folder in /public_html/ lower directory, may have massive security implications.
example:
/public_html/myfolder --> /myfolder
Comments
Post a Comment