RE: [PHP] custom 404 page

2004-09-21 Thread Jay Blanchard
[snip]
I would like to know which headers I have to send on my own 404page?
I read somewhere I have to send the header HTTP 302 Found

I also want to know which header I have to send when I redirect from my 
404page?
do I need HTTP 201? 
[/snip]

Have you checked the http://www.w3c.org ?

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



Re: [PHP] custom 404 page

2004-09-21 Thread John Nichel
Gerben wrote:
I would like to know which headers I have to send on my own 404page?
I read somewhere I have to send the header HTTP 302 Found
I also want to know which header I have to send when I redirect from my 
404page?
do I need HTTP 201? 

http://www.onlamp.com/pub/a/onlamp/2003/02/13/davidsklar.html
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] Custom 404 Page

2002-02-27 Thread Jeroen Geusebroek


I am running apache and php.  I want to create a custom 404 page for my

site.  I have created a .htaccess file and ErrorDocument 404
/error.php3 
line to it.

If someone tries to view www.myserver.com/thispagedoesnotexist.htm the
404 
page is displayed without issue.

I guess you are using PHP on Windows? I had the same problem with a
development server running IIS. I did not find a solution.

IIS starts the PHP parser if you use a file with a .php3 extension (or
whatever you configured) even when It does not exist.

---
Jeroen


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