#18359 [Com]: PHP module seem to make trouble with authentication under Apache 2
| From: | php at a0z dot org | Date: | Thu, 08 Aug 2002 22:20:27 +0000 |
| Subject: | #18359 [Com]: PHP module seem to make trouble with authentication under Apache 2 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-16331@lists.php.net to get a copy of this message | ||
ID: 18359
Comment by: php@a0z.org
Reported By: hubweb@hotmail.com
Status: Feedback
Bug Type: Apache2 related
Operating System: Windows 2000
PHP Version: 4.2.1
New Comment:
Sorry, forgot to say:
apache 2.0.39
php 4.2.2
FreeBSD 4.6-STABLE
Previous Comments:
------------------------------------------------------------------------
[2002-08-08 18:16:42] php@a0z.org
same thing happens to me, commenting out
# ErrorDocument 401 /errors/401.php
works around the problem
------------------------------------------------------------------------
[2002-07-25 11:07:38] digex@web.de
Sir, by ht-files I actually mean .htaccess-files... :-)
My Problem is exactly the same and it REALLY suxx!
------------------------------------------------------------------------
[2002-07-25 09:23:03] hubweb@hotmail.com
My problem isn't with PHP authentication, but with .htaccess files. If
PHP is not loaded, they work, but if it is loaded, I automatically get
a 401 error. But if I use PHP authentication
($_SERVER["PHP_AUTH_USER"], $_SERVER["PHP_AUTH_PW"]) it works
perfectly, but I want .htaccess files to work correctly...
------------------------------------------------------------------------
[2002-07-25 06:51:41] digex@web.de
Yes, I know that. I inserted the wrong value in my comment, since I'm
always working with variables and I thought it'd look to confusing this
way. :) Before you ask, the variables were set correctly.
------------------------------------------------------------------------
[2002-07-25 01:40:48] derick@php.net
YOu know that the Location: header should always be a full absolute
URL, including http://hostname/ ?
Derick
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/18359
--
Edit this bug report at http://bugs.php.net/?id=18359&edit=1