.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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -