I’ve searched through stackoverflow for a similiar problem, but none of the solutions seem to work.
I’m running WAMP and have a network drive T:\ which I want to use as an alias in Apache. So far I have added:
Alias /p \\ps-file.server_location.edu\A$
< Directory /p>
Order allow,deny
Allow from all
< / Directory>
However, whenever I try to access localhost/p I get a 403 forbidden message saying You don't have permission to access /p on this server. Any suggestions?
I have tried changing the logon settings in services.msc, but this stops apache from starting all together.
EDIT: I also have to enter my login information for the network drive the first time I connect it. Can I somehow give apache my login information?
You need to use forward slashes instead of backslashes or escape them all using an additional backslashas well as enclosing the paths in quotes as stated by Xophmeister. Eg:
or
You are correct to use a UNC path unless you create a mapped drive in the user profile being used to run the apache service.