httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sander Temme <scte...@apache.org>
Subject Re: [users@httpd] Re: apache/linux newbie has Test Page that won't die
Date Thu, 08 Feb 2007 23:19:29 GMT

On Feb 8, 2007, at 2:50 PM, Urijah Kaplan wrote:

> 208.109dot216.147

  curl -i http://208.109.216.147/
HTTP/1.1 403 Forbidden
Date: Thu, 08 Feb 2007 22:56:45 GMT
Server: Apache/2.0.52 (CentOS)
Accept-Ranges: bytes
Content-Length: 5044
Connection: close
Content-Type: text/html; charset=UTF-8

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/ 
TR/xhtml11/DTD/xhtml11.dtd">
         <head>
                 <title>Apache HTTP Server Test Page powered by  
CentOS</title>
(...)

As you can see, the actual response you get is a 403 Forbidden.  This  
is the way Red Hat and its derivatives serve the default test page:  
in absence of an actual /var/www/html/index.html, Apache would serve  
the directory index, which is forbidden by /etc/httpd/conf.d/ 
welcome.conf.  The corresponding line in the error log file is:

[Tue Jan 16 11:40:08 2007] [error] [client 10.11.0.103] Directory  
index forbidden by rule: /var/www/html/

You say that you commented out the welcome.conf stuff (and restarted  
Apache, right?), and yet you are still sending out 403s.  What error  
log entries are you getting when you try to access / on your server?

S.

-- 
sctemme@apache.org            http://www.temme.net/sander/
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF



Mime
View raw message