Bug #18359: PHP module seem to make trouble with authentication under Apache 2
| From: | hubweb at hotmail dot com | Date: | Mon, 15 Jul 2002 17:10:06 +0000 |
| Subject: | Bug #18359: PHP module seem to make trouble with authentication under Apache 2 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-14230@lists.php.net to get a copy of this message | ||
From: hubweb@hotmail.com
Operating system: Windows 2000
PHP version: 4.2.1
PHP Bug Type: Apache2 related
Bug description: PHP module seem to make trouble with authentication under Apache 2
-- Some days ago...
In my configuration file, I had :
AddType application/x-httpd-php .php .php3 .php4 .phtml
Every PHP page worked perfectly, but when I tried to open protected
directories, I had no authentication window, only a 401 error.
Presently, I have :
AddType application/x-httpd-php .php3
Every PHP (.php3) page works perfectly and authentications are ok.
So, why with more than one extension for php I have authentication
problems ??
-- Yesterday...
I tried another time the protected folder and now, if any extension is
associated with the PHP module, I get a 401 error, no prompt window.
LoadModule php4_module modules/php4apache2.dll
AddType application/x-httpd-php .php3
=> 401
LoadModule php4_module modules/php4apache2.dll
<Files *.php*>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
=> 401
LoadModule php4_module modules/php4apache2.dll
#AddType application/x-httpd-php .php3
=> Authentication is ok
LoadModule php4_module modules/php4apache2.dll
#<Files *.php*>
#SetOutputFilter PHP
#SetInputFilter PHP
#</Files>
=> Authenticatio is ok
I really really really don't understand !
(This problem occured on Apache 2.0.36 and 2.0.39, the only two version of
Apache 2 I installed)
--
Edit bug report at http://bugs.php.net/?id=18359&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18359&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18359&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18359&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18359&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18359&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18359&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18359&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18359&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18359&r=globals