Connecting Tech Pros Worldwide Help | Site Map

Document Root of a Virtual Directory

Dormilich's Avatar
Moderator
 
Join Date: Aug 2008
Location: Leipzig, Germany
Posts: 3,642
#1: Nov 23 '08
Hello,

is there any possibility to serve a script (in this case PHP) with the absolute path of a virtual directory?

ex.: "http://127.0.01/~Dormi" is mapped to "/users/Dormi/web" while "http://127.0.01/" is "/var/www". is there any way to pass the virtual directory's path (maybe .htaccess?) to the script?

thanks in advance
Reply

Tags
apache, php, virtual directory


Similar Apache Web Server bytes