httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (David Sklar)
Subject PR#4920 & PHP 3.0.12 & Apache 1.3.9
Date Thu, 23 Sep 1999 18:38:32 GMT
I am having a similar problem to the one mentioned in PR#4920 with a 
DirectoryIndex that is a PHP script that does something like

<?php Location(''); ?>

While the right status code (302) gets sent back to the client whether or
not the page is accessed as or, accessing it as causes it 
to be logged as a 200.

It looks like this is because mod_dir calls ap_sub_req_lookup_uri() to get
the status code of the subrequest with the DirectoryIndex filename in it. The 
status is eventually returned by ap_unescape_url(), which just checks the 
of uri - so the PHP handler never interprets the file.

Is there a way around this?


View raw message