ID:               46481
 Updated by:       [EMAIL PROTECTED]
 Reported By:      rosenfield dot albert at gmail dot com
-Status:           Open
+Status:           Feedback
-Bug Type:         Scripting Engine problem
+Bug Type:         Apache2 related
 Operating System: *
 PHP Version:      5.3.0alpha2
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/




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

[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

Reply via email to