#21074 [Com]: PHP doesn't work with 401 (Auth) ErrorDocument and Apache2

From: Date: Mon, 27 Jan 2003 20:34:45 +0000
Subject: #21074 [Com]: PHP doesn't work with 401 (Auth) ErrorDocument and Apache2
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-31362@lists.php.net to get a copy of this message
 ID:               21074
 Comment by:       bking@starbridgesystems.com
 Reported By:      dreamlab@epost.de
 Status:           Open
 Bug Type:         Apache2 related
 Operating System: Windows XP
 PHP Version:      4.3.0RC3
 New Comment:

I have the same issue with RedHat 8.0 out of the box. I believe that
includes Apache 2.0.40 and PHP 4.2.2. This problem did exist for Apache
1.x back in the day. It was fixed ages ago though, and I was sorry to
see it show up again.


Previous Comments:
------------------------------------------------------------------------

[2002-12-18 04:51:19] dreamlab@epost.de

Whenever I use a .php-file as a 401 ErrorDocument, Apache2 fails and
shows the file specified as ErrorDocument.

My .htaccess contains
ErrorDocument 401 /error.php

This absolutely works with Apache 1.3.27, but not with ANY Apache
2.0.x. This also still occurs with PHP 4.3RC3.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=21074&edit=1



Thread (6 messages)

« previous php.bugs (#31362) next »