httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44272] Wrong error message for missing directory
Date Mon, 08 Sep 2008 12:08:15 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=44272


rahul <rahul@sun.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #1 from rahul <rahul@sun.com>  2008-09-08 05:08:14 PST ---
Couldn't reproduce in trunk

|echo "GET /index/ HTTP/1.0\r\n\r\n" | nc 0 8080
HTTP/1.1 404 Not Found
Date: Mon, 08 Sep 2008 11:48:17 GMT
Server: Apache/2.3.0-dev (Unix)
Content-Length: 204
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /index/ was not found on this server.</p>
</body></html>

After adding below in httpd.conf, and no file status.* in htdocs
<Location /status>
SetHandler server-status
</Location>

|echo "GET /status HTTP/1.0\r\n\r\n" | nc 0 8080 
HTTP/1.1 200 OK
Date: Mon, 08 Sep 2008 11:51:23 GMT
Server: Apache/2.3.0-dev (Unix)
Content-Length: 1267
Connection: close
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
.....

Also be sure location 'something' has a leading slash


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message