Need a HTTPMODULE / HTTPHANDLER to execute for htm/html files also

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
I wish to run a code on the request to using HttpModule or httphandler but this doesn't seem to work for the htm file
Is there a way other than isapi filter, so that i can run the code of httphandler / httpmodule on request of a html file also.

Than
Prasad
 
In your IIS settings, map HTM extensions to the ISAPI DLL, turn the
directory the html lives in into an application and put a web.config in
there with your handler listed in it. IIS will then pipe requests for HTML
within that application via your handler

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP


Prasad said:
Hi,
I wish to run a code on the request to using HttpModule or httphandler
but this doesn't seem to work for the htm files
Is there a way other than isapi filter, so that i can run the code of
httphandler / httpmodule on request of a html file also.
 
Back
Top