RE: [PHP] Maybe OT but I was wondering....
in Apache you can set this in the httpd.conf or in any .htaccess file : ErrorDocument 404 http://www.weberdev.com/404.php3 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Ben Turner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 10:37 PM To: [EMAIL PROTECTED] Subject: [PHP] Maybe OT but I was wondering I am trying to set up a completely dynamic site using php and a mysql backend. I am trying to find somewhere that I can identify a custom 404 error page and then pull the page based on the document directory. Problem is, is this even possible in PHP? I haven't found too much related to custom 404 pages done in php. So I was thinking, if anyone knows some information on this topic, might you have a url or maybe a book title that I could check out to research this a bit further? thanks for your help Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Maybe OT but I was wondering....
read http://shat.net/php/404/ as an example then do your page... Maciek > -Original Message- > From: Ben Turner [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 08, 2002 9:37 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Maybe OT but I was wondering > > > I am trying to set up a completely dynamic site using php and a mysql > backend. I am trying to find somewhere that I can identify a custom 404 > error page and then pull the page based on the document > directory. Problem > is, is this even possible in PHP? I haven't found too much related to > custom 404 pages done in php. > > So I was thinking, if anyone knows some information on this > topic, might you > have a url or maybe a book title that I could check out to research this a > bit further? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Maybe OT but I was wondering....
I believe that this is something you actually set in your webserver. Which webserver are you running? Check out the documentation for that. Ben Turner wrote: > I am trying to set up a completely dynamic site using php and a mysql > backend. I am trying to find somewhere that I can identify a custom 404 > error page and then pull the page based on the document directory. Problem > is, is this even possible in PHP? I haven't found too much related to > custom 404 pages done in php. > > So I was thinking, if anyone knows some information on this topic, might you > have a url or maybe a book title that I could check out to research this a > bit further? > > thanks for your help > Ben > > -- Sliante, Richard S. Crawford mailto:[EMAIL PROTECTED] http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Yahoo!: rscrawford MSN: [EMAIL PROTECTED] "When you have lost the ability to laugh at yourself, you have lost the ability to think straight." --Clarence Darrow "Push the button, Max!" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]