I have Windows XP professional (SP3) running + XAMPP with Apache 2.2.12. Everything is properly installed and works fine with local drives.
The problem is that I want to access network drive "U:/" using alias defined in Apaches http.conf file:
Alias /w1/ "C:\workspace" // works
Alias /w2/ "U:\workspace" // does not work
Network drive U is hosted somewhere else and i cannot change any settings there. I know that apache is running under another user and therefor is not able to find the network drive U. What can i do to make it work as a windows service?
I already tried to use DocumentRoot/Alias with UNC using the windows service "Log on As" with my own account.
EDIT: What at least works is: Running apache over console using the parameter "-c" with an additional setting apllied after the httpd.conf:
httpd.exe -c "alias /e U:\"
If apache is running as system account, it can't use network resources.
If apache is running as normal user, it can use network resources, but only in UNC format
\\server\share_name
.Running Apache as service on Windows
Try to use an alias as DocumentRoot:
Alias /home/htdocs //FILESERVER/share/home/htdocs
And then you can use:
DocumentRoot /home/htdocs