[thelist] IIS/URLs: IIS Directory Querystring

Wade Armstrong wade_lists at runstrong.com
Fri May 24 13:40:01 CDT 2002


on 5/24/02 11:19 AM, Aaron Johnson at ajlist at mindseye.com wrote:

>
>> you could build in such urls by trapping http 404 in an asp page , parsing
>> the URL and building the actual asp?stuff out of it (you will have to write
>> the code) and then doing a Server.Transfer to that page....
> -- I'm pretty certain that this is impossible in ASP, it works great in
> CF, but ASP can't do anything in a 404.

If you have a custom 404 page, it's possible to run any kind of ASP code in
it. Unfortunately, as soon as IIS redirects to its 404 handler page, it also
sends out a 404 header, which means you can't send a useful header like 302
object moved or something. That's why the ISAPI filters you and I
recommended are a better option.




More information about the thelist mailing list