LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   user directory mapping (https://www.linuxquestions.org/questions/linux-software-2/user-directory-mapping-48629/)

ariana 03-06-2003 06:26 PM

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

AltF4 03-06-2003 08:03 PM

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

ariana 03-10-2003 11:55 AM

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.