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
[PHP] custom 404 page
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
>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
[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. 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 worlds 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