.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

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -