Reply to Re: Custom error handling in php e.g. 404 not found

Your name:

Reply:


Posted by J.O. Aho on 02/07/06 20:54

ZeldorBlat wrote:
> J.O. Aho wrote:
>> You would need to get every request redirected to one of your pages and that
>> page would lookup and see if the requested page is there or not, then either
>> serve the page or generate an error page.
>>
>
> Umm, no. You can tell Apache to use anything as the 404 page (and any
> of the other error pages). So, you could have him use 404.php instead
> of his default. Make your own 404.php do whatever you like.
>

As it looks like the original poster isn't the webmaster of the server, and
therefore don't have that option to edit the ErrorDocument options in the
configuration.


//Aho

[Back to original 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

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