#46481 [NoF->Opn]: apache_lookup_uri() draws blank if Apache auth enabled
| From: | rosenfield dot albert at gmail dot com | Date: | Mon, 24 Nov 2008 23:36:27 +0000 |
| Subject: | #46481 [NoF->Opn]: apache_lookup_uri() draws blank if Apache auth enabled | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-131276@lists.php.net to get a copy of this message | ||
ID: 46481
User updated by: rosenfield dot albert at gmail dot com
Reported By: rosenfield dot albert at gmail dot com
-Status: No Feedback
+Status: Open
Bug Type: Apache2 related
Operating System: *
PHP Version: 5.3.0alpha2
New Comment:
The information requested has already been submitted. Does this
tracker software lack the ability to see/flick on which end the next
action rests?
Previous Comments:
------------------------------------------------------------------------
[2008-11-12 01:00:01] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2008-11-05 11:13:31] rosenfield dot albert at gmail dot com
Yes sir!
Replaced PHP 5.2.6 with windows snapshot (5.2.7RC3-dev), but the
problem seems to persist.
------------------------------------------------------------------------
[2008-11-04 22:30:29] jani@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2008-11-04 13:45:49] rosenfield dot albert at gmail dot com
Description:
------------
Using:
$info = apache_lookup_uri($uri);
for a directory fx /test/, which happens to have an index.php file in
it.
Seems to work if there is no .htaccess file in the directory.
With this .htaccess file, apache_lookup_uri stops working:
=====
# NT Domain Logins.
AuthType SSPI
SSPIAuth On
SSPIAuthoritative On
SSPIDomain <domaincontroller>
SSPIOfferBasic On
SSPIOmitDomain On
AuthName "Webstatistics"
Require valid-user
=====
Instead of an object, apache_lookup_uri just returns FALSE.
Reproduce code:
---------------
.htaccess:
# NT Domain Logins.
AuthType SSPI
SSPIAuth On
SSPIAuthoritative On
SSPIDomain <domaincontroller>
SSPIOfferBasic On
SSPIOmitDomain On
AuthName "Webstatistics"
Require valid-user
index.php:
(anything)
PHP script to execute:
$info = apache_lookup_uri($uri);
... where $uri is the virtual path where index.php and .htaccess
resides.
Expected result:
----------------
Object with information about the virtual path.
Actual result:
--------------
Nothing (FALSE).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46481&edit=1