LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 03-06-2003, 06:26 PM   #1
ariana
LQ Newbie
 
Registered: Feb 2003
Posts: 21

Rep: Reputation: 15
Question 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
 
Old 03-06-2003, 08:03 PM   #2
AltF4
Member
 
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
ariana
LQ Newbie
 
Registered: Feb 2003
Posts: 21

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

Ariana
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 12:58 AM.

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