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 43566] New: - ErrorDocument 404 not working properly in virtual hosts
Date Sat, 06 Oct 2007 22:49:38 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43566>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43566

           Summary: ErrorDocument 404 not working properly in virtual hosts
           Product: Apache httpd-2
           Version: 2.2.6
          Platform: PC
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: Paul.Smith@Spooktech.org


The only way to set the 404 error document inside a virtual host is to use a 
filename starting with a slash and one that is contained within the document 
root. if any other filename is used for example C:\website\404.htm, apache 
outputs "Found The document has moved here.". the word "here" is a link which 
links to the local filename (C:\website\404.htm).

If no 404 error document is specified it returns "Not Found. The requested 
URL /test was not found on this server. Additionally, a 404 Not Found error was 
encountered while trying to use an ErrorDocument to handle the request."

This is *with* a 404 error document defined outside of any virtual hosts.

I dont know if it affects other error documents but i know 404's dont work

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

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


Mime
View raw message