4 Oct 2005 07:59
Re: PHP: requests for non-existent files
Janusz Gumkowski <Janusz.Gumkowski <at> am.torun.pl>
2005-10-04 05:59:11 GMT
2005-10-04 05:59:11 GMT
On Mon, Oct 03, 2005 at 10:40:31PM +0100, Martin Johnson wrote:
> I use Mathopd with PHP. There's a minor problem: requests for
> non-existent files return "200 OK" and execute index.php (as if
> index.php had been requested).
>
> I'd prefer "404 Not Found". Can I fix this in mathopd.conf?
Add "PathInfo Off" somewhere inside Control{} block.
--
--
Janusz Gumkowski
http://www.am.torun.pl/~ja Janusz.Gumkowski <at> am.torun.pl
RSS Feed