.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

Popular posts from this blog

gcc - MinGW's ld cannot perform PE operations on non PE output file -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -