Add additional path to vhost wwwdata
Ubuntu 12.04, running on Apache server. I wonder if that is possible to access from browser html/php file from other than document root location let's say from folder /testfolder on the root
So once I enter in browser example.com/testfolder It will be executed the same as from var/www/example.com/httpdocs/testfolder. But files and this folder will be on the root in /testfolder not in document root (httpdocs) I don't want to put this folder physically at all in httpdocs. Goal is to hide those files/folder from default www vhost folder. Of course files var/www/example.com/httpdocs/ will be normally there. In other words I want to run some folder which is not in logic structure of httpdocs but should be treated like it would be there. |
Indeed you can, though putting some php files on / may not be the best idea.
Do a search on the term "Apache mod_userdir" and / or look over here : http://www.server-world.info/en/note...04&p=httpd&f=4 |
All times are GMT -5. The time now is 07:28 PM. |