mathopd  

Re: PHP: requests for non-existent files

Martin Johnson
Tue, 04 Oct 2005 01:13:05 -0700

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!