>Number: 2164 >Category: config >Synopsis: ErrorDocument does not work in <VirtualHost> directive. >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Apr 30 22:20:01 PDT 1998 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3b6 >Environment: Apache 1.3b6 precompiled from apache.org, Win95OSR2 & NT 4.0 WS, 64Megs RAM >Description: Using the ErrorDocument does not work inside a <VirtualHost> directive (Of course added inside the httpd.conf).
When none is defined, I get the ones I have modified that reside in c:/apache/errormsg/, as predefined in the srm.conf. (ErrorDocument 401 /errormsg/401.htm <- IN SRM.CONF) When some are defined, it is configed as such: (Error docs in: c:/apache/error-s10/) <VirtualHost> ErrorDocument 401 /error-s10/401.htm -> Other config directives <- </VirtualHost> As I said, when none are defined in the VH, the ones defined in srm.conf are displayed. When they are defined, the ones in neither /errormsg/ or /error-s10/ are displayed, but internal server message is displayed. Documents are present, valid and not corrupt. Paths are correct and valid. ErrorDocument was given proper arguments as specified in Apache's docs. PLEASE READ: I have submitted this PR even after reading other PRs on the ErrorDocument directive because the other PRs *DO NOT* relate to this particular situation. >How-To-Repeat: Please refer to "Description" >Fix: N/A >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 leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]
