Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- 404 error handling with PHP & IIS


nobody - 2:53 pm on Aug 9, 2005 (gmt 0)


Hi,
I'm using a 404 script to handle errors and hand the user back off to a sensible page. This works fine under IIS5, Apache, but my host is using IIS6 (and php 4.3), and whenever the script is called into action, the user sees :

domainname/phpscript.php?404;http://domainname/fullpath/to/the/badurl

Has anybody seen this behaviour before? I can't replicate it on my local machine(s) - is it an IIS or PHP issue?

How can it be solved?

TIA


Thread source:: http://www.webmasterworld.com/php/9569.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com