>Number:         4694
>Category:       general
>Synopsis:       ErrorDocument recursion on relative frame reference
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Jul  5 03:10:00 PDT 1999
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.2.4
>Environment:
BSD/OS odars.com 3.1 BSDI BSD/OS 3.1 Virtual Kernel #17: Tue Dec 22 10:30:12 
MST 1998     root:/usr/src/sys/compile/
VKERN  i386
>Description:
If the ErrorDocument, say /404.html, references another document relatively, 
say english/error404.htm, then there will be a recursion if a nonexisting 
document is requested from a subdirectory of the DocumentRoot.
This is not exactly a bug but it can crash search engines, Web crawlers, and 
Web browsers.
>How-To-Repeat:
ErrorDocument /404.html references english/error404.htm then nonexisting 
english/test.htm is requested which results in a loop because nonexisting 
document /english/english/error404.htm is requested by mistake. 
>Fix:
For the FAQ: Use absolute paths in ErrorDocument files.
For further development: Set current working directory to path of 
ErrorDocument. 
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <[EMAIL PROTECTED]> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]



Reply via email to