Re: 404 custom handler on a cgi-wrap PHP - No input specified error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Luke Barker wrote:

> I have made a 404 custom error handler, using .htaccess in a directory
> - it is usppoed to route all unfound pages to error.php, and works as
> expected for .htm and .html pages as well as gifs etc. But ofr .php
> scripts, e.g /path/to/wrongurl.php it doesnt show my page -
> instead it shows No Input file specified.. After some Googling I have
> only found people witht eh similar problem without solutions.

> Can any one help me on this? I should say that in IE it just gets the
> default 404 ( I think this is windows own one responding to the
> particular http response header) - in firefox you get the 'No input ' 
> error

> thanks for any advice

> Luke


Hey Luke,

I had the exact same problem on one of my sites and was able to come up
with a solution using mod_rewrite:

http://jenseng.com/archives/000035.html

Hope that's of some use.

Jon

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux