[PHP] custom 404 page

2004-09-21 Thread Gerben
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? 

-- 
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 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


[PHP] Custom 404

2002-04-02 Thread Craig Donnelly

Custom 404



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




Re: [PHP] Custom 404

2002-04-02 Thread Andrew Brampton

.htaccess :)
Andrew
- Original Message - 
From: Craig Donnelly [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 02, 2002 1:36 PM
Subject: [PHP] Custom 404


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


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




RE: [PHP] Custom 404

2002-04-02 Thread Stampe, Lars

http://rob-mike.php4hosting.com/mike/htaccess/

-Original Message-
From: Andrew Brampton [mailto:[EMAIL PROTECTED]]
Sent: 02 April 2002 13:50
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Custom 404


.htaccess :)
Andrew
- Original Message - 
From: Craig Donnelly [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 02, 2002 1:36 PM
Subject: [PHP] Custom 404


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


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

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




Re: [PHP] Custom 404

2002-04-02 Thread Scott St. John

Custom 404 what?  Do you want to make one?


On Tue, 2 Apr 2002, Craig Donnelly wrote:

 Custom 404
 
 
 
 

-- 



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




[PHP] Custom 404 Page

2002-02-27 Thread J. Anderson Scarbrough

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.

If someone tries to view www.myserver.com/thispagedoesnotexist.php3 then the 
following message is displayed instead of the 404 page.

Fatal error: Unable to open /path/to/my/page/thispagedoesnotexist.php3 in - 
on line 0
No input file specified. 

How do I resolve this issue?

Thank you.

_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


-- 
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