Re: [PHP] Costum Error Page
Thx ! It works, now I can code further ! Ashley M. Kirchner [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Daniel Urstöger wrote: How could I check, which file apache tried to access, and didn´t found ? That would be a pretty nice function for my PHP skript .. Check your REQUEST_URI variable. -- H | Life is the art of drawing without an eraser. - John Gardner + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 Director of Internet Operations / SysAdmin. 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave, #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- 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] Costum Error Page
Opps, sorry, I had a bug, now I have this problem: Browser is showing this URL: http://yourdomain.com/play/404.php and so the REQUEST_URI is: /play/404.php But I would need the requested file, before apache redirected to the 404.php Is this possible as well ? -- 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] Costum Error Page
Use $QUERY_STRING instead - Original Message - From: Daniel Urstöger [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, December 08, 2001 1:51 PM Subject: Re: [PHP] Costum Error Page Opps, sorry, I had a bug, now I have this problem: Browser is showing this URL: http://yourdomain.com/play/404.php and so the REQUEST_URI is: /play/404.php But I would need the requested file, before apache redirected to the 404.php Is this possible as well ? -- 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] Costum Error Page
thx for your help .. But I cannot get this running .. Not with getenv nor with the variable itself :( Could you give me a short example ? Would really help me much ! :) thx and cya ... -- 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] Costum Error Page
how about you make a phpInfo() page, and set that as 404 error, then you can find the correct variable to use :) Andrew - Original Message - From: Daniel Urstöger [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, December 08, 2001 12:43 PM Subject: Re: [PHP] Costum Error Page thx for your help .. But I cannot get this running .. Not with getenv nor with the variable itself :( Could you give me a short example ? Would really help me much ! :) thx and cya ... -- 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] Costum Error Page
Just put a phpinfo() call in your 404.php page and see for yourself. On Sat, 8 Dec 2001, Daniel Urstöger wrote: Opps, sorry, I had a bug, now I have this problem: Browser is showing this URL: http://yourdomain.com/play/404.php and so the REQUEST_URI is: /play/404.php But I would need the requested file, before apache redirected to the 404.php Is this possible as well ? -- 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] Costum Error Page
Thx ! The one with the phpinfo was a nice tip .. But yeah, I didn´t found the stuff I wanted either .. But now, I already coded a work around :) Seems to work pretty fine ! :) cya ! and thanks for your help ! Andrew Brampton [EMAIL PROTECTED] schrieb im Newsbeitrag 003801c1801a$26faa4f0$2528260a@STUDENT5830">news:003801c1801a$26faa4f0$2528260a@STUDENT5830... how about you make a phpInfo() page, and set that as 404 error, then you can find the correct variable to use :) Andrew - Original Message - From: Daniel Urstöger [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, December 08, 2001 12:43 PM Subject: Re: [PHP] Costum Error Page thx for your help .. But I cannot get this running .. Not with getenv nor with the variable itself :( Could you give me a short example ? Would really help me much ! :) thx and cya ... -- 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] Costum Error Page
there is an example in the apache docs or httpd.conf samples how to pass to error script the original request uri, ins't there any? - Original Message - From: Ashley M. Kirchner [EMAIL PROTECTED] To: Daniel Urstger [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, December 08, 2001 4:02 AM Subject: Re: [PHP] Costum Error Page | Daniel Urstger wrote: | | How could I check, which file apache tried to access, and didnt found ? | That would be a pretty nice function for my PHP skript .. | | Check your REQUEST_URI variable. | | -- | H | Life is the art of drawing without an eraser. - John Gardner | + | Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 | Director of Internet Operations / SysAdmin. 800.441.3873 x130 | Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave, #6 | http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. | | | | -- | 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] Costum Error Page
Hi ! I hope you can help me with that problem :) I have created a costum error page, and this one is working really fine, already. Was quite easy, but the problem I have now: Somebody trys to access the file: iamnothere.html The requests, doesn´t find the file, so apache redirects the request to my costum error page. I can check http referer, and such stuff, BUT: How could I check, which file apache tried to access, and didn´t found ? That would be a pretty nice function for my PHP skript .. Thx for your help ! cya ! Daniel Urstöger WebMaster @ cdrsoft.info -- 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] Costum Error Page
Daniel Urstöger wrote: How could I check, which file apache tried to access, and didn´t found ? That would be a pretty nice function for my PHP skript .. Check your REQUEST_URI variable. -- H | Life is the art of drawing without an eraser. - John Gardner + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 Director of Internet Operations / SysAdmin. 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave, #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- 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]