Are you using the CGI version of PHP then and does this give you internal
server errors as well?

The only way around this I think would be to write an error handling
document for Apache, written in PHP. This PHP script could then check to see
if the file exists. If it doesn't, then return a 404 error. If it does exist
then it could return a 500 error.
Using the PHP module for Apache does get rid of this problem though.
"Ian Tuck" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi everyone,
> I'm using the most recent security patched version of apache (downloaded
> yesterday, v1.3 series), and most recent PHP (also downloaded yesterday),
> hoping to solve a problem that I'm having, to no avail.
>
> For some reason, when I request a file with a php extension that doesn't
> exist, apache doesn't check to see if it exists before sending it off to
> php.exe.  Is there a way to fix this without switching to the module
version
> of php? (if that will fix it).  I'm pretty sure that it's a problem with
> apache, as it shouldn't even be *getting* to the php processor, but can't
> see where I've configured it incorrectly.
>
> non-existent htm, or html files all show the correct 404 error.
>
> Any hints, suggestions, tips, or voodoo spells I can use to fix this?
>
> Regards,
> Ian
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to