Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 26542

RE: Duplicate Entries with Url Rewrite Module 2.0

$
0
0

Hi,

When I enable a simple URL rewrite module inbound action I am seeing 2 log entries for each request and I'm not sure why.   I am using the rewrite module to insert HTTP_X_ORIGINAL_URL into the server variables so I can log it with the Advanced Logging module. Here is my log definition:

My rewrite URL doesn't actually do anything:

<rewrite><rules><rule name="All" enabled="true" patternSyntax="Wildcard" stopProcessing="false"><match url="*" /><action type="Rewrite" url="{R:0}" logRewrittenUrl="false" /><serverVariables></serverVariables></rule></rules></rewrite>

This is the result from the logging module for one request:

#Software: IIS Advanced Logging Module
#Version: 1.0
#Start-Date: 2013-02-01 23:11:28.388
#Fields: date time cs-uri-query HTTP_X_ORIGINAL_URL
2013-02-01 23:12:22.105 ticks=634914003857426213&mode=max&height=39&AdjustForDevicePixelRatio=True "/Content/sites/15/header.png?ticks=634914003857426213&mode=max&height=39&AdjustForDevicePixelRatio=True"
2013-02-01 23:12:22.107 ticks=634914003857426213&mode=max&height=39&AdjustForDevicePixelRatio=True -

Has anyone run into this issue or have a solution?


Viewing all articles
Browse latest Browse all 26542

Trending Articles