I am trying to set up a simple alias and for some reason can't get it working. I have apache running on a Windows XP machine and the default directory is c:\www. I added the following alias and directory command (shown below). I get nothing for www.servername.com/photo. I tried putting an index.html in the directory but nothing. The drive is physically in the same machine and the user running the web server is an admin user so has full rights to the directory. What am I missing? Thanks. Alias /photo "f:/Photo" <Directory "f:/Photo"> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all Satisfy all </Directory>
I did this and I now get "You don't have permission to access /photo/ on this server." I suppose this is a change but not the desired outcome. I am assuming I have to set directory rights, hence the directory command? Any thoughts? Thanks.
Thats a permissions issue, nothing wrong with Apache. So yeah, change the permissions on the F drive and the Photo directory so that it can at least read it.