From:             [EMAIL PROTECTED]
Operating system: Linux (redhat)
PHP version:      4.3.0
PHP Bug Type:     Apache2 related
Bug description:  apache_lookup_uri returns "valid URI" even when passed non-existent 
filenames

I compiled Apache 2.0.43 and PHP 4.3.0 from source as a DSO.

When using the internal PHP apache_lookup_uri(), it always returns status
200.

<?php 
$f = apache_lookup_uri("/abcdef");
echo $f->status;
echo $f->the_request;
?>

I always get 200, and the URI of the PHP file in which it is enclosed.

Does anyone know the apache API??? I dug through the source, but I don't
know much about the Apache filter chains and the linkage of the request
structures. I'll try to look further when I get a chance, but if anyone
has any ideas, I'd love to hear them.

- Tony
-- 
Edit bug report at http://bugs.php.net/?id=21448&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21448&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21448&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21448&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21448&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21448&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21448&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21448&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21448&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21448&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21448&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21448&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21448&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21448&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=21448&r=gnused

Reply via email to