Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need Help With Apache and User Homepages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
MBCook
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jul 2002
Posts: 136
Location: Insanity, USA

PostPosted: Tue Jul 30, 2002 6:38 pm    Post subject: Need Help With Apache and User Homepages Reply with quote

I've looked through all the config files and everything seems correct, and nothing shows up in the log. I'm trying to make it so that a user can type "http://(insert the name of my server here)/~username" to get to their personal homepage. The config files seem set up for it by default, and all I should need to to make a directory called /home/username/public_html and put stuff in there, but it doesn't work. No errors in the log, just a 403 forbidden. Any ideas?
_________________
-- Michael

Read an intelligent book like "The New Thought Police" or "The War Against Boys", and learn the TRUTH.
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Jul 30, 2002 9:09 pm    Post subject: Reply with quote

What are the permissions on the user's home dir (and public_html) :?:
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
MBCook
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jul 2002
Posts: 136
Location: Insanity, USA

PostPosted: Tue Jul 30, 2002 10:08 pm    Post subject: Reply with quote

They are the normal ones. Both are have an owner of the user in question, and belong to the group users.

IE:

If the user is 'joebob'

then 'ls -l /home' would show something like this:

dblahblah root root httpd/
dblahblah joebob users joebob/

and the premissions for /home/joebob are the same as those for /home/joebob/public_html. All the permissions are the defaults.

EDIT EDIT EDIT EDIT

OK, check the permission bits, and the joebob directory wasn't world readable, when i changed the permissions to 755, it worked. I hate it when simple stuff like this happenes. thanks.
_________________
-- Michael

Read an intelligent book like "The New Thought Police" or "The War Against Boys", and learn the TRUTH.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum