PHP: requests for non-existent files
Martin Johnson <[email protected]> Mon, 03 Oct 2005 22:40:31 +0100
| Newsgroups | gmane.network.mathopd |
|---|---|
| Message-ID | <1128375631.15500.124.camel@localhost> |
Hi,
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?
...
Server {
Port 8888
Virtual {
Host www.example.com
Control {
Alias /
Location /webpub/example.com
PutEnv { PHPRC=/etc/php/example.com }
External {
/usr/bin/php { php }
}
IndexNames { index.html index.php }
}
Thanks for any thoughts,
- Martin.