Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache's user htdocs permissions
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
duanecu
n00b
n00b


Joined: 02 Sep 2002
Posts: 27
Location: South Bend, IN, USA

PostPosted: Fri Sep 20, 2002 6:10 pm    Post subject: Apache's user htdocs permissions Reply with quote

Does anyone know the permissions I use on my ~/htdocs/ user directory to have apache provide the http://localhost/~username service?
Back to top
View user's profile Send private message
count
Apprentice
Apprentice


Joined: 28 May 2002
Posts: 242
Location: Dalton, MA

PostPosted: Fri Sep 20, 2002 8:44 pm    Post subject: Reply with quote

I think you'd only have to make sure ~/htdocs/ is world readable. right?

I've had problems with this in the past where only when I set the users directory to be world readable was I able to view http://localhost/~username/, but I dont think thats a good idea.

play around with the permissions ... see what works ... just make sure you dont make your users' directories insecure.

I don't have a lot of experience with this sort of thing, but thats my two cents.
_________________
- Joseph Monti
_________________
This message is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. For more info visit http://joemonti.org/
Back to top
View user's profile Send private message
kirill
Apprentice
Apprentice


Joined: 01 Aug 2002
Posts: 183
Location: Finland

PostPosted: Fri Sep 20, 2002 8:45 pm    Post subject: Re: Apache's user htdocs permissions Reply with quote

duanecu wrote:
Does anyone know the permissions I use on my ~/htdocs/ user directory to have apache provide the http://localhost/~username service?


Apache uses ~/public_html/ directory by default. If you want to use ~/htdocs/ you should either create a symlink (?) or to set it site widely in /etc/apache/conf/commonapache.conf
_________________
--kirill
Back to top
View user's profile Send private message
duanecu
n00b
n00b


Joined: 02 Sep 2002
Posts: 27
Location: South Bend, IN, USA

PostPosted: Sun Sep 22, 2002 2:56 am    Post subject: Got it Reply with quote

Thanks, I got it. It's the ~/public_html directory name, htdocs. I renamed it, and had to set my own home directory permissions to 755 (by default they're 700), I made sure the public_html was 755 and now it works great. Thanks again.
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