Reply to OT: Re: Dedicated 404 pages how do they do it?

Your name:

Reply:


Posted by Sanders Kaufman on 09/24/07 09:52

"Michael Fesser" <netizen@gmx.de> wrote in message
news:uvhdf31uqqv668fsul7gt4ar7qmoi2mr15@4ax.com...
> .oO(Jensen Somers)
>
>>You will have to create a .htaccess file, put it in the websites root
>>folder and use the following line:
>>
>>ErrorDocument 404 http://www.mywebsite.tld/404.php
>
> _Don't_ use an absolute URL in an ErrorDocument directive unless you
> know exactly what you're doing. This will lead to a redirect and an
> additional request of the given document, which usually results in the
> status code 200 ("OK") sent back to the client instead of the correct
> error code.
>
> http://httpd.apache.org/docs/2.2/mod/core.html#errordocument

Thank you very much for that!
I'll fix mine right away.
There's also a WHOLE LOTTA extra HTAccess stuff in that link I'll be
studyin' on.

[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

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