httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Allen Crawford <>
Subject RE: UserDir/403 error
Date Thu, 11 Jul 2002 16:44:01 GMT
Ok, this is solved.  I actually didn't even need the lines below for the
directory (although I'm going to use them because it seems like it will be
more secure that way).  I needed to give my home directory world-executable
permissions as well.  So the permissions are as follows:

/home/username: drwx--x--x
/home/username/public_html: drwxr-xr-x
/home/username/public_html/*: -rw-r--r--

Does this sound right?  Are there any disadvantages to giving the home
directories the world-executable permissions (with no read-access of

Also, does anyone know how to make it so that all new user accounts already
have this permission?  If you don't want to answer this OT question, that's

 -----Original Message-----
From: 	Allen Crawford  
Sent:	Thursday, July 11, 2002 10:36 AM
To:	''
Subject:	RE: UserDir/403 error

Thanks for the info.  I didn't know anything really about the Directory
directive, but now I do.  I've read just about all the info on
I then noticed that the lines you typed below were actually already in the
httpd.conf file and just needed uncommented.  I did that and things still
are not working.  Anymore ideas?  The main page (http://servername/) comes
up just fine, but not the ~user stuff.  My file/directory permissions are
correct (i.e. world readable and executable for the public_html directory
and world-readable for all the files within it).

 -----Original Message-----
From: 	Gary Turner [] 
Sent:	Wednesday, July 10, 2002 8:54 PM
Subject:	Re: UserDir/403 error

On Wed, 10 Jul 2002 18:26:22 -0400, Damian A. Colden wrote:

>The permissions need to be
>RWXR-XR-X on your public_html directory.

Not quite true.  I find that -rw-r--r-- is sufficient permission.

>On 10 Jul 2002, Allen Crawford scribbled this about UserDir/403 error:


>> I then created a "public_html" directory under my
>> home directory and made it world-readable and executable.  I also
>> created an "index.html" file with world-readable permissions.
>> After all of this, I am trying to access my page by typing
>> http://servername/~username/ <http://servername/~username/>  and I'm
>> getting the 403-Forbidden error. 

You might check your permissions directive for the user directory to be
sure that gets, etc. are allowed.  This directive assumes a read only

<Directory /home/*/public_html>
		order		allow,deny
		Allow from all
		Order deny,allow
		Deny from all

As a newbie myself, I must be one day ahead of you---I just did work
through this one.
>> In addition, I was wondering if the "public_html" folder in the user
>> directories needs to be world-executable, or if world-readable is good
>> enough?

See above.  
Everything here could be wrong--Messiah's Handbook--Bach

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message