Re: PHP: requests for non-existent files
Janusz Gumkowski <[email protected]> Tue, 4 Oct 2005 07:59:11 +0200
| Newsgroups | gmane.network.mathopd |
|---|---|
| Message-ID | <[email protected]> |
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 [email protected]