Re: PHP: requests for non-existent files
Martin Johnson <[email protected]> Tue, 04 Oct 2005 08:59:53 +0100
| Newsgroups | gmane.network.mathopd |
|---|---|
| Message-ID | <1128412793.15500.126.camel@localhost> |
On Tue, 2005-10-04 at 07:59 +0200, Janusz Gumkowski wrote:
> 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.
Thanks, that's fixed it!