You are here: Re: [PHP] 404 custom handler on a cgi-wrap PHP - No input specified error « PHP « IT news, forums, messages
Re: [PHP] 404 custom handler on a cgi-wrap PHP - No input specified error

Posted by Marek Kilimajer on 01/14/05 19:36

Luke Barker wrote:
> Hi,
>
> This maybe a PHP problem, but is associated with Apache too - so my
> apologies if it is slightly off topic. My web hosts use a CGI wrap
> version of PHP 4.3.10
>
> 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
>

Much like this thread:
http://marc.theaimsgroup.com/?t=110538584700004&r=1&w=2

I suppose the reason is the same, apache handles the request to php
w/out checking if the file exists. Maybe you can solve it with
auto_prepend script

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация