user directory mapping
Hi,
I have my user "user1" directory at /home/user1 and my apache web directory at "/var" In the httpd.conf, I set UserDir to be "www" and place a index.html at /home/user1/www. When I tried to access: http://localhost:80/~user1/index.html. The browser says "you don't have the permission to access ~user1/index.html". How do I map users directory under "/home" to url "localhost/~user". I do not quite understand the this part of documentation. Thanks! Ariana |
check permissions on www directory.
directory "www" should rwxr-xr-x (world read and execute) file "www/index.html" should be rw-r--r-- (world readable) hope it helps |
I changed the permission of user directory to 755 and it works. Thank you for all your help.
Ariana |
All times are GMT -5. The time now is 05:03 PM. |