Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

DO NOT REPLY [Bug 13121] New: - ErrorDocument definitions do not work with Auth.

From: <bugzilla(at)apache.org>
Date: Sun Sep 29 2002 - 11:58:33 EDT


DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13121>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13121

ErrorDocument definitions do not work with Auth.

           Summary: ErrorDocument definitions do not work with Auth.
           Product: Apache httpd-2.0
           Version: 2.0.42
          Platform: Other
               URL: 
http://www.crypticallyverbose.net/
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: mordeth@pankurokku.com

in .htaccess:

# Error document handling:

ErrorDocument   401     /error.php?error=401
ErrorDocument   403     /error.php?error=403
ErrorDocument   404     /error.php?error=404

# Content protection:

AuthUserFile /home/mordeth/public_html/access/.passwd AuthGroupFile /dev/null
AuthName "Protected Area"
AuthType Basic

<Limit GET POST>
  require user mordeth
</Limit>

will return the 401 error page without prompting for a username and password.

Do you need help?X

if the 3 ErrorDocument lines are added to httpd.conf instead of to the .htaccess file, the server 403s the 401 page, despite the fact that it is able to read it.

very bizarre.

that .htaccess works perfectly under Apache 1.3.26, by the way.

it took me a long time to figure out that it was the ErrorDocument directives that were causing a couple of my domains to not ask for username and password.



To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org Received on Sun Sep 29 15:57:50 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 16:43:54 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library