Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-06-2003, 06:26 PM   #1
LQ Newbie
Registered: Feb 2003
Posts: 22

Rep: Reputation: 15
Question user directory mapping

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!

Old 03-06-2003, 08:03 PM   #2
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
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
Old 03-10-2003, 11:55 AM   #3
LQ Newbie
Registered: Feb 2003
Posts: 22

Original Poster
Rep: Reputation: 15
I changed the permission of user directory to 755 and it works. Thank you for all your help.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mapping Homes directory in Samba mheymann Linux - Networking 1 08-05-2005 01:34 PM
Mapping windows directory to linux client automatically at login with credentials bschneider Linux - Networking 13 05-12-2005 10:21 AM
Automatic AD user directory creation/mapping HalJordan Fedora 5 02-19-2005 10:31 AM
samba user mapping michal017 Linux - Software 4 03-18-2004 02:06 AM
Mapping a ftp to a linux directory rmarescu Linux - Networking 1 01-28-2004 01:41 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration