Re: PHP: requests for non-existent files
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!
Re: PHP: requests for non-existent files
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]
