views:

12

answers:

0

Hi,

I'm working on a web site under IIS 6.0 .NET 3.5. I made a custom httpmodule to rewrite our url. It works fine, i do a "rewritepath" in the event "onbeginrequest". In my IIS 6.0 logs i can see my rewrited url.

Now my site is under IIS 7.5. I need to keep my custom httpmodule. I can't use the new urlrewrite module from MS. My custom module works fine. But, now, in my IIS 7.5 logs i got the raw url, not the rewrited one.

I see why : even if my httpmodule is registered after the logginghttpmodule, it make its job before the log because the "beginrequest" event is launched before the "logrequest" event.

My question : how can i do to use my custom rewriteurl module and to log the rewrited url with IIS 7.5 ?

Thank You