Custom 404 page not interpreting ASP?
Hi, I wonder if anyone can help my host to help me..!At my previous host, I mapped 404 errors to a directory, and ran an ASP script that emailed me with the Referring URL, Requested Page, etc, then showed a customised 404 error.
I recently moved to a new host, using IIS 5 Win2K servers, FP2002 extensions and hosting Controller.
On this host, after mapping 404 errors to a folder in my web, the source code of ASP pages are displayed as if they were text files.
After playing around, I found the following:
- Requesting a non-existing ".ASP" page DOES interpret the ASP in the 404 error page.
- Requesting a non-existing ".HTM" page gives the system default "HTTP/1.1 404 Object Not Found" error
- Requesting a non-existing ".PHP" page gives "CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:"
- Requesting a non-existing folder DOES NOT process the ASP in the error page- The page shows as text if it is ASP only, or as HTML if the page contains HTML.
regards,
Peter