I'm running PHP as CGI instead of as an apache module because my hosting
1) suggests it and 2) this way I can compile my own PHP with whatever
options I want, including a custom php.ini.
Works great except when I load a page that doesn't exist, such as
foo.php, I get No input file specified.
Jared wrote:
foo.php, I get No input file specified. Instead of the standard 404
error. Is there a way to customize this?
Easy with Apache [1,2], with en ErrorDocument [1] directive.
Ex with this in a .htaccess (the FileInfo Override [3] is required)
containing this line:
ErrorDocument 404
2 matches
Mail list logo