The UMBC Linux Users Group Mailing List

[Date Prev]
[Date Next]
[Date Index]
[Thread Prev]
[Thread Next]
[Thread Index]
Match: Format: Sort by:
Search:

Re: Personal web directories


On Fri, 21 Jan 2000, Michael A. Powers wrote:

| I'm using apache on Linux and am having a bit of trouble getting public html directories for individual users set up.  In srm.conf I have UserDir set to public_html .  So I created a public_html directory in a user's home.  When I tested it, I got a permission denied error.  Now I'm not really sure what to do.  Do I have to add an entry into access.conf? Could someone give me a step-by-step solution?

Most likely, public_html itself or any directory above it *the user's home
directory, and so on) do not have the public execute bit set in the
permissions. Alot of times, a user's home dir is mode 700, thus
preventingthe httpd proces (which is usualy owned by user "nobody" or
"httpd") from traversing into the home dir and thus public_html.

In short, if the user's home dir isnt at least world-executable (it doesnt
have to neccessarily be world-readable), it should be chmod'd 711 and
public_html should be 755.

/dale