Re: [PHP] custom 404 page
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
[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
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
RE: [PHP] Custom 404
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
.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 Page
>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