httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leif W" <warp-...@usa.net>
Subject Re: [users@httpd] 403 Denied
Date Sun, 02 May 2004 03:24:32 GMT
When I point a browser (Mozilla Firefox 0.8) at
http://charles-sage.homeip.net/ I get an 403 error, "Forbidden: You
don't have permission to access / on this server."

Quick things to check: Is / (root) 755?  Is /home 755?  Is /home/csage
755?  Is /home/csage/public_html 755?

ls -ld /
ls -ld /home
ls -ld /home/csage
ld -ld /home/csage/public_html

Is there any AllowOverride AuthConfig in the vhost config for that dir?
If yes, is there an .htaccess in the public_html directory with any
restrctive settings?  Any AllowOverride Limit?  Any Allow, Deny, Order?

I've never put a virtual host inside the user space dirs.  Is there any
UserDir defined?  Is there any known conflict when using UserDir and
also a NBVH (i.e. which has precedence: when, how and why)?  To rule
this out, have you tried putting the site in another location, outside
/home entirely?  Have you tried putting it in another location, inside
/home/csage, (i.e. /home/csage/vhost/public_html, /home/sage/vhost/logs,
etc?).

Leif

----- Original Message ----- 
From: "Joseph A. Nagy, Jr." <jnagyjr@joseph-a-nagy-jr.homelinux.org>
To: <users@httpd.apache.org>
Sent: Saturday, May 01, 2004 11:05 PM
Subject: [users@httpd] 403 Denied

[Sat May 01 21:45:25 2004] [error] [client 24.159.22.9] client denied by
server configuration: /home/c
sage/public_html/
[Sat May 01 21:51:32 2004] [error] [client 24.159.22.9] client denied by
server configuration: /home/c
sage/public_html/
[Sat May 01 21:54:21 2004] [error] [client 24.159.22.9] client denied by
server configuration: /home/c
sage/public_html/
[Sat May 01 21:54:43 2004] [error] [client 24.159.22.9] client denied by
server configuration: /home/c
sage/public_html/index.html
[Sat May 01 21:58:31 2004] [error] [client 24.159.22.9] client denied by
server configuration: /home/c
sage/public_html/index.html

<VirtualHost *>
   ServerAdmin c_sage@root.you.aint.got.it
   DocumentRoot /path/to/public_html/
   ServerName charles-sage.homeip.net
   CustomLog /path/to/logs/charles-sage.access.log combined
   ErrorLog /path/to/logs/charles-sage.error.log
 <Directory />
        Options All Multiviews
 </Directory>
</VirtualHost>

WTF is going on?

Apache version 2.0.49 on Gentoo Linux w/ PHP 4.3.6. The site in question
doesn't use index.php though.

The file and folder permissions in question is set to 755.

The access log isn't much help.

24.159.22.9 - - [01/May/2004:21:54:43 -0500] "GET /index.html HTTP/1.1"
403
359 "-" "Mozilla/5.0 (X11;
 U; Linux i686; en-US; rv:1.6) Gecko/20040425 Firefox/0.8"
24.159.22.9 - - [01/May/2004:21:58:31 -0500] "GET /index.html HTTP/1.1"
403
359 "-" "Mozilla/5.0 (X11;
 U; Linux i686; en-US; rv:1.6) Gecko/20040425 Firefox/0.8"
-- 
Joseph A. Nagy, Jr. http://joseph-a-nagy-jr.homelinux.org
Political Activist Extraordinaire Peace, Life, Liberty
"The only fallacy is the inaction on our part to stave off the worst of
horrors, the stripping of personal freedom." -- Joseph A. Nagy, Jr.
January 2004



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message