RewriteCond/Redirect infinite loop issue?

Topics: User Forum
Oct 14, 2010 at 11:50 AM

Hi,

Following on from my previous thread http://iirf.codeplex.com/Thread/View.aspx?ThreadId=207798 , I've tried again with v2.1.1.23 and i'm still having some issues. Just can't seem to get it working satisfactorly.

basically my rules are this.

[54] RewriteRule ^/securearea/login(.*)$  /securearea/Login.aspx?rd=$1	[L]

RewriteCond %{SCRIPT_NAME}	^/securearea((?!.*/login).*)$	[I]
RewriteCond %{HTTP_COOKIE} !MYCOOKIE.+
[55] RewriteRule ^/securearea(.*)$	/securearea/login$1

and another rule as a catchall for everything under the securearea directory:

[97] RewriteRule ^/securearea/(.*[^/])$  /securearea/Content.aspx?page=$1&ppid=$2 [L]

the premise being that the above rules should produce these results:

/securearea	/securearea/login
/securearea/login	/securearea/login
/securearea/test 	/securearea/login/test

=== if cookie exists
/securearea/test 	/securearea/test

however my log file is showing me

...
Thu Oct 14 11:25:58 -  1868 - HttpFilterProc: cfg= 0x0123CDE0
Thu Oct 14 11:25:58 -  1868 - HttpFilterProc: SF_NOTIFY_URL_MAP
Thu Oct 14 11:25:58 -  1868 - HttpFilterProc: cfg= 0x0123CDE0
Thu Oct 14 11:25:58 -  1868 - HttpFilterProc: SF_NOTIFY_AUTH_COMPLETE
Thu Oct 14 11:25:58 -  1868 - DoRewrites
Thu Oct 14 11:25:58 -  1868 - DoRewrites: Url (no decoding): '/securearea/forums'
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: depth=0
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: no RewriteBase
...
...
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: Rule 54: -1 (No match)
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: Rule 55: 2 matches
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: Rule 55: evaluating condition
Thu Oct 14 11:25:58 -  1868 - EvalCondition: Cond t(%{SCRIPT_NAME}) op(|) p(^/securearea((?!.*/login).*)$) => TRUE
Thu Oct 14 11:25:58 -  1868 - EvalCondition: Cond t(%{HTTP_COOKIE}) op(|) p(!MYCOOKIE.+) => TRUE
Thu Oct 14 11:25:58 -  1868 - EvalConditionList: rule 55, TRUE, Rule will apply
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: Result (length 24): /securearea/login/forums
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: depth=1
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: no RewriteBase
...
...
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: Rule 54: 2 matches
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: Result (length 43): /securearea/Login.aspx?rd=/forums
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: Last Rule
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: returning 1
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: returning 1
Thu Oct 14 11:25:58 -  1868 - DoRewrites: Rewrite Url to: '/securearea/Login.aspx?rd=/forums'
Thu Oct 14 11:25:58 -  1868 - HttpFilterProc: SF_NOTIFY_AUTH_COMPLETE
Thu Oct 14 11:25:58 -  1868 - DoRewrites
Thu Oct 14 11:25:58 -  1868 - DoRewrites: Url (no decoding): '/securearea/Login.aspx?rd=/forums'
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: depth=0
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: no RewriteBase
...
...
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: Rule 55: 2 matches
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: Rule 55: evaluating condition
Thu Oct 14 11:25:58 -  1868 - EvalCondition: Cond t(%{SCRIPT_NAME}) op(|) p(^/securearea((?!.*/login).*)$) => TRUE
Thu Oct 14 11:25:58 -  1868 - EvalCondition: Cond t(%{HTTP_COOKIE}) op(|) p(!MYCOOKIE.+) => TRUE
Thu Oct 14 11:25:58 -  1868 - EvalConditionList: rule 55, TRUE, Rule will apply
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: Result (length 49): /securearea/login/Login.aspx?rd=/forums
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: depth=1
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: no RewriteBase
...
...
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: Rule 54: 2 matches
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: Result (length 68): /securearea/Login.aspx?rd=/Login.aspx?rd=/forums
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: Last Rule
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: returning 1
Thu Oct 14 11:25:58 -  1868 - EvaluateRules: returning 1
Thu Oct 14 11:25:58 -  1868 - DoRewrites: Rewrite Url to: '/securearea/Login.aspx?rd=/Login.aspx?rd=/forums'
Thu Oct 14 11:25:58 -  1868 - HttpFilterProc: SF_NOTIFY_URL_MAP
Thu Oct 14 11:25:58 -  1868 - HttpFilterProc: cfg= 0x0123CDE0
Thu Oct 14 11:25:58 -  1868 - HttpFilterProc: SF_NOTIFY_URL_MAP
Thu Oct 14 11:25:58 -  1868 - HttpFilterProc: cfg= 0x0123CDE0
Thu Oct 14 11:25:58 -  1868 - HttpFilterProc: SF_NOTIFY_URL_MAP
Thu Oct 14 11:25:58 -  1868 - HttpFilterProc: cfg= 0x0123CDE0
Thu Oct 14 11:25:58 -  1868 - HttpFilterProc: SF_NOTIFY_URL_MAP
Thu Oct 14 11:25:58 -  1868 - HttpFilterProc: cfg= 0x0123CDE0
Thu Oct 14 11:25:58 -  4064 - HttpFilterProc: SF_NOTIFY_URL_MAP
Thu Oct 14 11:25:58 -  4064 - HttpFilterProc: cfg= 0x0123CDE0
Thu Oct 14 11:25:58 -  4064 - HttpFilterProc: SF_NOTIFY_URL_MAP
Thu Oct 14 11:25:58 -  4064 - HttpFilterProc: cfg= 0x0123CDE0

at this stage I am now at the login screen, but it seems to have run twice as it has duplicated the 'rd' parameter.

once i log in i get the lovely:

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

and the log file then looks like :

...
Thu Oct 14 11:40:49 -  1868 - DoRewrites
Thu Oct 14 11:40:49 -  1868 - DoRewrites: Url (no decoding): '/securearea/login/Login.aspx?rd=/forums'
Thu Oct 14 11:40:49 -  1868 - EvaluateRules: depth=0
Thu Oct 14 11:40:49 -  1868 - EvaluateRules: no RewriteBase
...
...
Thu Oct 14 11:40:49 -  1868 - EvaluateRules: Rule 54: 2 matches
Thu Oct 14 11:40:49 -  1868 - EvaluateRules: Result (length 68): /securearea/Login.aspx?rd=/Login.aspx?rd=/forums
Thu Oct 14 11:40:49 -  1868 - EvaluateRules: Last Rule
Thu Oct 14 11:40:49 -  1868 - EvaluateRules: returning 1
Thu Oct 14 11:40:49 -  1868 - DoRewrites: Rewrite Url to: '/securearea/Login.aspx?rd=/Login.aspx?rd=/forums'
Thu Oct 14 11:40:49 -  1868 - HttpFilterProc: SF_NOTIFY_AUTH_COMPLETE
Thu Oct 14 11:40:49 -  1868 - DoRewrites
Thu Oct 14 11:40:49 -  1868 - DoRewrites: Url (no decoding): '/securearea/Login.aspx?rd=/Login.aspx?rd=/forums'
Thu Oct 14 11:40:49 -  1868 - EvaluateRules: depth=0
Thu Oct 14 11:40:49 -  1868 - EvaluateRules: no RewriteBase
...
...
Thu Oct 14 11:40:49 -  1868 - EvaluateRules: Rule 54: -1 (No match)
Thu Oct 14 11:40:49 -  1868 - EvaluateRules: Rule 55: 2 matches
Thu Oct 14 11:40:49 -  1868 - EvaluateRules: Rule 55: evaluating condition
Thu Oct 14 11:40:49 -  1868 - EvalCondition: Cond t(%{SCRIPT_NAME}) op(|) p(^/securearea((?!.*/login).*)$) => FALSE
Thu Oct 14 11:40:49 -  1868 - EvalConditionList: rule 55, FALSE, Rule does not apply
...
...
Thu Oct 14 11:40:49 -  1868 - EvaluateRules: Rule 97: 2 matches
Thu Oct 14 11:40:49 -  1868 - EvaluateRules: Result (length 92): /securearea/Content.aspx?page=Login.aspx?rd=/Login.aspx?rd=/forums&ppid=
Thu Oct 14 11:40:49 -  1868 - EvaluateRules: Last Rule
Thu Oct 14 11:40:49 -  1868 - EvaluateRules: returning 1
Thu Oct 14 11:40:49 -  1868 - DoRewrites: Rewrite Url to: '/securearea/Content.aspx?page=Login.aspx?rd=/Login.aspx?rd=/forums&ppid='
followed by the infitinie redirect. i'm nearly banging my head on desk here.

Server is running Windows2003 32bit and IIS 6.0

help :(

Coordinator
Oct 14, 2010 at 11:16 PM

I think I see what you're trying to do.

In rule 55, your RewriteCond tests  %{SCRIPT_NAME}, but the pattern you supply indicates you think you are getting the full URL.  So, when you have '/securearea/Login.aspx?rd=/forums' as the input URL, rule 55 will always inject a new /login segment in there, resulting in '/securearea/login/Login.aspx?rd=/forums'

Not what you want, I suppose. If I were you I would lose the RewriteCond, and just put it into the pattern for the rule itself.  So, rule 55 looks like:

RewriteCond %{HTTP_COOKIE} !MYCOOKIE.+
[55] RewriteRule ^/securearea(?!/(L|l)ogin)(.*)$ /securearea/login$1

But at this point I am asking myself, why are you separating rule 54 and 55?  Why not just use a single rule like this:

RewriteCond %{HTTP_COOKIE} !MYCOOKIE.+
[55a] RewriteRule ^/securearea(?!/(L|l)ogin)(.*)$ /securearea/Login.aspx?rd=$1

 

Oct 15, 2010 at 2:09 PM

Thanks for the feedback cheeso,

What i'm trying to do is this:

i've just tried the [55a] and the condition, removing the other condition, and a url of

/securearea/forums

with MYCOOKIE

goes straight through to rule 97

[97] RewriteRule ^/securearea/(.*[^/])$  /securearea/Content.aspx?page=$1&ppid=$2 [L]
because it doesn't seem to be acknowledging the No cookie condition.

Oct 15, 2010 at 2:28 PM

also just looking at the log files its doing something a bit strange. It actually hits rule 89

RewriteRule  ^/securearea/forums$ /securearea/forums/Default.aspx      [L]
and then goes straight on to rule 97

Fri Oct 15 13:14:52 -  1880 - EvaluateRules: Rule 89: 1 matches
Fri Oct 15 13:14:52 -  1880 - EvaluateRules: Result (length 31): /securearea/forums/Default.aspx
Fri Oct 15 13:14:52 -  1880 - EvaluateRules: Last Rule
Fri Oct 15 13:14:52 -  1880 - EvaluateRules: returning 1
Fri Oct 15 13:14:52 -  1880 - DoRewrites: Rewrite Url to: '/securearea/forums/Default.aspx'
Fri Oct 15 13:14:52 -  1880 - HttpFilterProc: SF_NOTIFY_AUTH_COMPLETE
Fri Oct 15 13:14:52 -  1880 - DoRewrites
Fri Oct 15 13:14:52 -  1880 - DoRewrites: Url (no decoding): '/securearea/forums/Default.aspx'
Fri Oct 15 13:14:52 -  1880 - EvaluateRules: depth=0
Fri Oct 15 13:14:52 -  1880 - EvaluateRules: no RewriteBase
Fri Oct 15 13:14:52 -  1880 - EvaluateRules: Rule 1: -1 (No match)
Fri Oct 15 13:14:52 -  1880 - EvaluateRules: Rule 2: -1 (No match)
..
..
..
Fri Oct 15 13:14:52 -  1880 - EvaluateRules: Rule 97: 2 matches
Fri Oct 15 13:14:52 -  1880 - EvaluateRules: Result (length 55): /securearea/Content.aspx?page=forums/Default.aspx&ppid=
Fri Oct 15 13:14:52 -  1880 - EvaluateRules: Last Rule
Fri Oct 15 13:14:52 -  1880 - EvaluateRules: returning 1
Fri Oct 15 13:14:52 -  1880 - DoRewrites: Rewrite Url to: '/securearea/Content.aspx?page=forums/Default.aspx&ppid='
Fri Oct 15 13:14:52 -  1880 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 13:14:52 -  1880 - HttpFilterProc: cfg= 0x0123B170
Fri Oct 15 13:14:52 -  1880 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 13:14:52 -  1880 - HttpFilterProc: cfg= 0x0123B170

it looks as though it is ignoring the [L] statement, as it hasn't processed

/securearea/forums/Default.aspx

as code in the securearea masterpage should kick the user back to the login page (/securearea/login) if the cookie doesn't exist or does exist but has invalid data.

but the log file shows it as just rewriting the url and then parsing again.

This website isn't running on my local machine, but is running on a (local) network server, if that makes a difference.

Oct 15, 2010 at 4:31 PM

okay i figured that bit out, had it written as RewriteRule RewriteRule.

however using the rules you've give me, takes me to my expected login page,

the codebehind (c#) sets the form action as

if (!IsPostBack)
        {
            this.Page.Form.Action = "/securearea" + Request.QueryString["rd"];
           
        }

which in the page source on first load looks like this: (**1**)

form method="post" action="/securearea/Login.aspx?rd=/forums" id="aspnetForm"

which is correct, however when i click login get a url of

/securearea/Login.aspx?rd=/Login.aspx?rd=/forums

and the source shows:

form method="post" action="/securearea/Login.aspx?rd=/Login.aspx?rd=/Login.aspx?rd=/forums" id="aspnetForm"

probably because of rule [56] and the fact that there is no rule before the conditional rule to stop it.

if i put this rule in before [55]

RewriteRule ^/securearea/Login.aspx?rd=(.*)$	/securearea/Login.aspx?rd=$1	[L]

to catch the initial post action (**1**), i get exactly the same result.

here is the log file

Fri Oct 15 16:25:35 -  6128 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:35 -  6128 - HttpFilterProc: cfg= 0x05336220
Fri Oct 15 16:25:35 -  6128 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:35 -  6128 - HttpFilterProc: cfg= 0x05336220
Fri Oct 15 16:25:35 -  6128 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:35 -  6128 - HttpFilterProc: cfg= 0x05336220
Fri Oct 15 16:25:35 -  6128 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:35 -  6128 - HttpFilterProc: cfg= 0x05336220
Fri Oct 15 16:25:35 -  6128 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:35 -  6128 - HttpFilterProc: cfg= 0x05336220
Fri Oct 15 16:25:35 -  6128 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:35 -  6128 - HttpFilterProc: cfg= 0x05336220
Fri Oct 15 16:25:35 -  6128 - HttpFilterProc: SF_NOTIFY_AUTH_COMPLETE
Fri Oct 15 16:25:35 -  6128 - DoRewrites
Fri Oct 15 16:25:35 -  6128 - DoRewrites: Url (no decoding): '/securearea/forums'
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: depth=0
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: no RewriteBase
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 1: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 2: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 3: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 4: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 5: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 6: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 7: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 8: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 9: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 10: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 11: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 12: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 13: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 14: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 15: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 16: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 17: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 18: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 19: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 20: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 21: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 22: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 23: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 24: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 25: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 26: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 27: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 28: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 29: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 30: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 31: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 32: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 33: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 34: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 35: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 36: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 37: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 38: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 39: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 40: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 41: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 42: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 43: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 44: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 45: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 46: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 47: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 48: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 49: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 50: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 51: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 52: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 53: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 54: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 55: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 56: 3 matches
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 56: evaluating condition
Fri Oct 15 16:25:35 -  6128 - EvalCondition: Cond t(%{HTTP_COOKIE}) op(|) p(!MYCOOKIE.+) => TRUE
Fri Oct 15 16:25:35 -  6128 - EvalConditionList: rule 56, TRUE, Rule will apply
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Result (length 43): /securearea/Login.aspx?rd=/forums
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Last Rule
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: returning 1
Fri Oct 15 16:25:35 -  6128 - DoRewrites: Rewrite Url to: '/securearea/Login.aspx?rd=/forums'
Fri Oct 15 16:25:35 -  6128 - HttpFilterProc: SF_NOTIFY_AUTH_COMPLETE
Fri Oct 15 16:25:35 -  6128 - DoRewrites
Fri Oct 15 16:25:35 -  6128 - DoRewrites: Url (no decoding): '/securearea/Login.aspx?rd=/forums'
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: depth=0
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: no RewriteBase
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 1: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 2: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 3: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 4: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 5: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 6: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 7: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 8: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 9: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 10: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 11: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 12: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 13: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 14: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 15: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 16: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 17: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 18: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 19: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 20: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 21: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 22: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 23: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 24: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 25: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 26: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 27: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 28: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 29: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 30: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 31: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 32: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 33: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 34: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 35: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 36: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 37: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 38: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 39: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 40: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 41: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 42: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 43: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 44: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 45: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 46: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 47: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 48: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 49: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 50: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 51: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 52: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 53: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 54: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 55: -1 (No match)
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 56: 3 matches
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Rule 56: evaluating condition
Fri Oct 15 16:25:35 -  6128 - EvalCondition: Cond t(%{HTTP_COOKIE}) op(|) p(!MYCOOKIE.+) => TRUE
Fri Oct 15 16:25:35 -  6128 - EvalConditionList: rule 56, TRUE, Rule will apply
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Result (length 68): /securearea/Login.aspx?rd=/Login.aspx?rd=/forums
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: Last Rule
Fri Oct 15 16:25:35 -  6128 - EvaluateRules: returning 1
Fri Oct 15 16:25:35 -  6128 - DoRewrites: Rewrite Url to: '/securearea/Login.aspx?rd=/Login.aspx?rd=/forums'
Fri Oct 15 16:25:35 -  6128 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:35 -  6128 - HttpFilterProc: cfg= 0x05336220
Fri Oct 15 16:25:35 -  6128 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:35 -  6128 - HttpFilterProc: cfg= 0x05336220
Fri Oct 15 16:25:35 -  6128 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:35 -  6128 - HttpFilterProc: cfg= 0x05336220
Fri Oct 15 16:25:35 -  6128 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:35 -  6128 - HttpFilterProc: cfg= 0x05336220
Fri Oct 15 16:25:35 -  2804 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:35 -  2804 - HttpFilterProc: cfg= 0x05336220
Fri Oct 15 16:25:35 -  2804 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:35 -  2804 - HttpFilterProc: cfg= 0x05336220
Fri Oct 15 16:25:41 -  6128 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:41 -  6128 - HttpFilterProc: cfg= 0x05336220
Fri Oct 15 16:25:41 -  6128 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:41 -  6128 - HttpFilterProc: cfg= 0x05336220
Fri Oct 15 16:25:41 -  6128 - HttpFilterProc: SF_NOTIFY_AUTH_COMPLETE
Fri Oct 15 16:25:41 -  6128 - DoRewrites
Fri Oct 15 16:25:41 -  6128 - DoRewrites: Url (no decoding): '/securearea/Login.aspx?rd=/forums'
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: depth=0
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: no RewriteBase
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 1: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 2: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 3: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 4: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 5: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 6: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 7: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 8: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 9: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 10: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 11: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 12: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 13: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 14: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 15: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 16: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 17: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 18: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 19: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 20: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 21: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 22: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 23: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 24: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 25: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 26: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 27: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 28: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 29: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 30: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 31: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 32: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 33: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 34: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 35: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 36: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 37: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 38: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 39: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 40: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 41: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 42: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 43: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 44: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 45: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 46: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 47: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 48: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 49: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 50: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 51: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 52: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 53: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 54: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 55: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 56: 3 matches
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 56: evaluating condition
Fri Oct 15 16:25:41 -  6128 - EvalCondition: Cond t(%{HTTP_COOKIE}) op(|) p(!MYCOOKIE.+) => TRUE
Fri Oct 15 16:25:41 -  6128 - EvalConditionList: rule 56, TRUE, Rule will apply
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Result (length 68): /securearea/Login.aspx?rd=/Login.aspx?rd=/forums
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Last Rule
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: returning 1
Fri Oct 15 16:25:41 -  6128 - DoRewrites: Rewrite Url to: '/securearea/Login.aspx?rd=/Login.aspx?rd=/forums'
Fri Oct 15 16:25:41 -  6128 - HttpFilterProc: SF_NOTIFY_AUTH_COMPLETE
Fri Oct 15 16:25:41 -  6128 - DoRewrites
Fri Oct 15 16:25:41 -  6128 - DoRewrites: Url (no decoding): '/securearea/Login.aspx?rd=/Login.aspx?rd=/forums'
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: depth=0
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: no RewriteBase
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 1: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 2: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 3: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 4: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 5: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 6: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 7: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 8: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 9: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 10: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 11: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 12: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 13: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 14: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 15: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 16: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 17: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 18: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 19: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 20: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 21: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 22: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 23: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 24: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 25: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 26: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 27: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 28: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 29: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 30: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 31: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 32: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 33: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 34: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 35: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 36: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 37: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 38: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 39: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 40: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 41: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 42: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 43: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 44: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 45: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 46: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 47: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 48: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 49: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 50: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 51: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 52: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 53: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 54: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 55: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 56: 3 matches
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 56: evaluating condition
Fri Oct 15 16:25:41 -  6128 - EvalCondition: Cond t(%{HTTP_COOKIE}) op(|) p(!MYCOOKIE.+) => TRUE
Fri Oct 15 16:25:41 -  6128 - EvalConditionList: rule 56, TRUE, Rule will apply
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Result (length 93): /securearea/Login.aspx?rd=/Login.aspx?rd=/Login.aspx?rd=/forums
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Last Rule
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: returning 1
Fri Oct 15 16:25:41 -  6128 - DoRewrites: Rewrite Url to: '/securearea/Login.aspx?rd=/Login.aspx?rd=/Login.aspx?rd=/forums'
Fri Oct 15 16:25:41 -  6128 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:41 -  6128 - HttpFilterProc: cfg= 0x05336220
Fri Oct 15 16:25:41 -  6128 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:41 -  6128 - HttpFilterProc: cfg= 0x05336220
Fri Oct 15 16:25:41 -  2804 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:41 -  2804 - HttpFilterProc: cfg= 0x05336220
Fri Oct 15 16:25:41 -  2804 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:41 -  2804 - HttpFilterProc: cfg= 0x05336220
Fri Oct 15 16:25:41 -  6128 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:41 -  6128 - HttpFilterProc: cfg= 0x05336220
Fri Oct 15 16:25:41 -  6128 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:41 -  6128 - HttpFilterProc: cfg= 0x05336220
Fri Oct 15 16:25:41 -  6128 - HttpFilterProc: SF_NOTIFY_AUTH_COMPLETE
Fri Oct 15 16:25:41 -  6128 - DoRewrites
Fri Oct 15 16:25:41 -  6128 - DoRewrites: Url (no decoding): '/securearea/Login.aspx?rd=/Login.aspx?rd=/forums'
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: depth=0
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: no RewriteBase
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 1: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 2: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 3: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 4: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 5: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 6: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 7: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 8: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 9: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 10: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 11: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 12: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 13: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 14: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 15: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 16: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 17: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 18: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 19: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 20: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 21: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 22: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 23: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 24: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 25: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 26: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 27: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 28: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 29: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 30: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 31: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 32: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 33: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 34: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 35: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 36: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 37: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 38: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 39: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 40: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 41: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 42: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 43: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 44: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 45: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 46: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 47: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 48: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 49: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 50: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 51: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 52: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 53: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 54: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 55: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 56: 3 matches
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 56: evaluating condition
Fri Oct 15 16:25:41 -  6128 - EvalCondition: Cond t(%{HTTP_COOKIE}) op(|) p(!MYCOOKIE.+) => TRUE
Fri Oct 15 16:25:41 -  6128 - EvalConditionList: rule 56, TRUE, Rule will apply
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Result (length 93): /securearea/Login.aspx?rd=/Login.aspx?rd=/Login.aspx?rd=/forums
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Last Rule
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: returning 1
Fri Oct 15 16:25:41 -  6128 - DoRewrites: Rewrite Url to: '/securearea/Login.aspx?rd=/Login.aspx?rd=/Login.aspx?rd=/forums'
Fri Oct 15 16:25:41 -  6128 - HttpFilterProc: SF_NOTIFY_AUTH_COMPLETE
Fri Oct 15 16:25:41 -  6128 - DoRewrites
Fri Oct 15 16:25:41 -  6128 - DoRewrites: Url (no decoding): '/securearea/Login.aspx?rd=/Login.aspx?rd=/Login.aspx?rd=/forums'
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: depth=0
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: no RewriteBase
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 1: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 2: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 3: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 4: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 5: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 6: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 7: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 8: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 9: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 10: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 11: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 12: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 13: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 14: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 15: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 16: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 17: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 18: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 19: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 20: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 21: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 22: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 23: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 24: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 25: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 26: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 27: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 28: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 29: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 30: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 31: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 32: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 33: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 34: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 35: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 36: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 37: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 38: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 39: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 40: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 41: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 42: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 43: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 44: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 45: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 46: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 47: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 48: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 49: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 50: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 51: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 52: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 53: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 54: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 55: -1 (No match)
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 56: 3 matches
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Rule 56: evaluating condition
Fri Oct 15 16:25:41 -  6128 - EvalCondition: Cond t(%{HTTP_COOKIE}) op(|) p(!MYCOOKIE.+) => TRUE
Fri Oct 15 16:25:41 -  6128 - EvalConditionList: rule 56, TRUE, Rule will apply
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Result (length 118): /securearea/Login.aspx?rd=/Login.aspx?rd=/Login.aspx?rd=/Login.aspx?rd=/forums
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: Last Rule
Fri Oct 15 16:25:41 -  6128 - EvaluateRules: returning 1
Fri Oct 15 16:25:41 -  6128 - DoRewrites: Rewrite Url to: '/securearea/Login.aspx?rd=/Login.aspx?rd=/Login.aspx?rd=/Login.aspx?rd=/forums'
Fri Oct 15 16:25:41 -  6128 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:41 -  6128 - HttpFilterProc: cfg= 0x05336220
Fri Oct 15 16:25:41 -  6128 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:41 -  6128 - HttpFilterProc: cfg= 0x05336220
Fri Oct 15 16:25:41 -  2804 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:41 -  2804 - HttpFilterProc: cfg= 0x05336220
Fri Oct 15 16:25:41 -  2804 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Oct 15 16:25:41 -  2804 - HttpFilterProc: cfg= 0x05336220

with the relevant rules being

RewriteRule (rule 55)  '^/securearea/Login.aspx?rd=(.*)$'  '/securearea/Login.aspx?rd=$1'      [L]
RewriteCond   %{HTTP_COOKIE}  !MYCOOKIE.+ '(null)'
RewriteRule (rule 56)  '^/securearea(?!/(L|l)ogin)(.*)$'  '/securearea/Login.aspx?rd=$2'      [L]

Oct 18, 2010 at 4:55 PM

Just to add something else.

The iirf definitely seems to be ignoring the [L] directive, or more correctly hitting it and then parsing the iirf.ini again.

example, these don't work

RewriteRule ^/securearea/library$	/securearea/library/Default.aspx	[L]

RewriteRule ^/securearea/forums$	/securearea/forums/Default.aspx	[L]

they don't parse the aspx page and return the result, they re-run again. in order for them to work i have to do this:

RewriteRule ^/securearea/library$	/securearea/library/Default.aspx	[L]
RewriteRule ^/securearea/library/Default.aspx	/securearea/library/Default.aspx	[QSA,L]

RewriteRule ^/securearea/forums$	/securearea/forums/Default.aspx	[L]
RewriteRule ^/securearea/forums/Default.aspx	/securearea/forums/Default.aspx	[QSA,L]

Coordinator
Oct 18, 2010 at 8:42 PM
Edited Oct 18, 2010 at 8:53 PM

About the "something else" behavior... Can you send me the relevant snippet of the IIRF logfile, for the handling on one of those URLs?

Also, collect an HTTP transaction log from the browser side, using something like Fiddler, or another HTTP debugging proxy.  I suspect that you are getting two distinct requests.  The first is for /securearea/library, and this request is rewritten, as your rule directs, as /securearea/library/Default.aspx .  Directly after that, the IIRF logfile seems to indicate there is an additional, new request for /securearea/library/Default.aspx .   I may be wrong about this.  But a browser-side HTTP Transaction log would clearly show it.

Finally, it seems like you are raising multiple issues.  You have 96 rules or something, and yet you are raising basic questions about whether the [L] flag works or not. What I suggest is that you reduce the problem space significantly.  Let's focus on one thing at a time - it's really all I can do remotely.  Reduce your IIRF.ini file to the bare minimum to focus on the one thing that you believe is not working properly (say, the [L] flag).  Describe what you see for that one issue.  Let's resolve THAT.  Then, when that one is resolved, we can move to the next thing (say, the cookie detection logic).  If we can't focus on one thing at a time in this discussion, I won't be able to follow, and consequently I won't be of much help.

Oct 19, 2010 at 9:44 AM

Thanks cheeso, I'd like to concentrate on the [L] not appearing to work.

IIRF.INI

I've stripped the iirf.ini file down to just these lines:

RewriteRule ^/(_documents_|webservices|eshot|CDI|public|secure|article|forms|includes|include|styles|css|images|mediabox-js|JS|resources)/(.*)$ /$1/$2 [I,L]
RewriteRule ^/(Sitemap\.xml|Sitemap\.xml\.gz|robots\.txt|gss\.xml|urllist\.txt|urllist\.txt\.gz)$  /$1 [L]
RewriteRule ^/favicon\.ico$  /favicon.ico [L]
RewriteRule ^/(.*)\.ashx$  /$1.ashx [L]
RewriteRule ^/(.*).axd(.*)$ /$1.axd$2 [I,L]
RewriteRule ^/securearea/library$	/securearea/library/Default.aspx	[L]
RewriteRule ^/securearea/library/search/(.*[^/])$	/securearea/library/Default.aspx?terms=$1	[L]
RewriteRule ^/securearea/library/search/(.*[^/])$	/securearea/library/Default.aspx?terms=$1	[L]
RewriteRule ^/securearea/library/media/(.*[^/])$	/securearea/library/Default.aspx?media=$1	[L]
RewriteRule ^/securearea/library/document/(.*[^/])$	/securearea/library/Default.aspx?document=$1	[L]
RewriteRule ^/securearea/forums$	/securearea/forums/Default.aspx	[L]
RewriteRule ^/securearea/forums/([0-9]+)$	/securearea/forums/Threads.aspx?tid=$1	[L]
RewriteRule ^/securearea/forums/([0-9]+)/([0-9]+)$	/securearea/forums/Discussion.aspx?tid=$1&did=$2	[L]
RewriteRule ^/securearea/test$  /securearea/Test.aspx [L]
RewriteRule ^/securearea/download/(.*[^/])$  /securearea/Download.ashx?hash=$1 [L]
RewriteRule ^/securearea/media/expand/(.*[^/])\?type=([a-zA-Z0-9]+)$  /securearea/MediaGrabber.ashx?hash=$1&l=true [L]
RewriteRule ^/securearea/media/(.*[^/])\?type=([a-zA-Z0-9]+)$  /securearea/MediaGrabber.ashx?hash=$1 [L]
RewriteRule ^/securearea/profile$  /securearea/Profile.aspx [L]
RewriteRule ^/securearea/(.*[^/])$  /securearea/Content.aspx?page=$1&ppid=$2 [L]
RewriteRule ^/securearea$  /securearea/Default.aspx [L]

iirf log file (highlighted in green is where it reaches the correct rule but seems to ignore the [L])

Tue Oct 19 09:27:51 -  4888 - Cached: DLL_THREAD_DETACH
Tue Oct 19 09:27:51 -  4888 - Cached: DLL_THREAD_DETACH
Tue Oct 19 09:27:51 -  4888 - Cached: DLL_THREAD_DETACH
Tue Oct 19 09:27:51 -  4888 - Cached: DLL_THREAD_DETACH
Tue Oct 19 09:27:51 -  4888 - Cached: DLL_THREAD_DETACH
Tue Oct 19 09:27:51 -  4888 - Cached: DLL_THREAD_DETACH
Tue Oct 19 09:27:51 -  4888 - Cached: DLL_THREAD_DETACH
Tue Oct 19 09:27:51 -  4888 - IsIniFileUpdated: F:\Websites\IIS\website.com\Iirf.ini YES
Tue Oct 19 09:27:51 -  4888 - GetVdirConfig: Obtain  vdir '/LM/W3SVC/699077759/Root' , Ini file has been updated.
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: actual log file 'c:\iirf-log\temp-iirf.3780.log'
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: ini file: 'F:\Websites\IIS\website.com\Iirf.ini'
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: ini file timestamp: 2010/10/19 09:27:12 GMT Daylight Time
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: cfg(0x01234C30)
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: LogLevel = 5
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: pass 2
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(3): StatusInquiry ON /iirf RemoteOk
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(3): IIRF Status Inquiry is enabled at path '/iirf' for local or remote requests.
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(39): RewriteRule (rule 1)  '^/(_documents_|webservices|awstats|eshot|CDI|public|secure|article|forms|includes|include|styles|css|images|mediabox-js|JS|admin|__siteadmin|resources)/(.*)$'  '/$1/$2'    [I,L]
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: '[I,L]'
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'I'
Tue Oct 19 09:27:51 -  4888 - rule: Case Insensitive match
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'L'
Tue Oct 19 09:27:51 -  4888 - rule: Last
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(41): RewriteRule (rule 2)  '^/(Sitemap\.xml|Sitemap\.xml\.gz|robots\.txt|gss\.xml|urllist\.txt|urllist\.txt\.gz)$'  '/$1'      [L]
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: '[L]'
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'L'
Tue Oct 19 09:27:51 -  4888 - rule: Last
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(42): RewriteRule (rule 3)  '^/favicon\.ico$'  '/favicon.ico'      [L]
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: '[L]'
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'L'
Tue Oct 19 09:27:51 -  4888 - rule: Last
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(43): RewriteRule (rule 4)  '^/(.*)\.ashx$'  '/$1.ashx'      [L]
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: '[L]'
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'L'
Tue Oct 19 09:27:51 -  4888 - rule: Last
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(49): RewriteRule (rule 5)  '^/(.*).axd(.*)$'  '/$1.axd$2'    [I,L]
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: '[I,L]'
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'I'
Tue Oct 19 09:27:51 -  4888 - rule: Case Insensitive match
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'L'
Tue Oct 19 09:27:51 -  4888 - rule: Last
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(117): RewriteRule (rule 6)  '^/securearea/cdi/details/([0-9]+)$'  '/securearea/cdi/Details.aspx?rid=$1'      [L]
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: '[L]'
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'L'
Tue Oct 19 09:27:51 -  4888 - rule: Last
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(118): RewriteRule (rule 7)  '^/securearea/cdi/Details.aspx(.*)$'  '/securearea/cdi/Details.aspx$1'      [L]
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: '[L]'
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'L'
Tue Oct 19 09:27:51 -  4888 - rule: Last
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(121): RewriteRule (rule 8)  '^/securearea/library$'  '/securearea/library/Default.aspx'      [L]
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: '[L]'
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'L'
Tue Oct 19 09:27:51 -  4888 - rule: Last
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(123): RewriteRule (rule 9)  '^/securearea/library/search/(.*[^/])$'  '/securearea/library/Default.aspx?terms=$1'      [L]
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: '[L]'
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'L'
Tue Oct 19 09:27:51 -  4888 - rule: Last
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(124): RewriteRule (rule 10)  '^/securearea/library/search/(.*[^/])$'  '/securearea/library/Default.aspx?terms=$1'      [L]
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: '[L]'
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'L'
Tue Oct 19 09:27:51 -  4888 - rule: Last
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(124): ERROR: duplicate rule. Ignoring it.
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(125): RewriteRule (rule 10)  '^/securearea/library/media/(.*[^/])$'  '/securearea/library/Default.aspx?media=$1'      [L]
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: '[L]'
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'L'
Tue Oct 19 09:27:51 -  4888 - rule: Last
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(126): RewriteRule (rule 11)  '^/securearea/library/document/(.*[^/])$'  '/securearea/library/Default.aspx?document=$1'      [L]
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: '[L]'
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'L'
Tue Oct 19 09:27:51 -  4888 - rule: Last
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(129): RewriteRule (rule 12)  '^/securearea/forums$'  '/securearea/forums/Default.aspx'      [L]
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: '[L]'
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'L'
Tue Oct 19 09:27:51 -  4888 - rule: Last
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(131): RewriteRule (rule 13)  '^/securearea/forums/([0-9]+)$'  '/securearea/forums/Threads.aspx?tid=$1'      [L]
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: '[L]'
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'L'
Tue Oct 19 09:27:51 -  4888 - rule: Last
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(132): RewriteRule (rule 14)  '^/securearea/forums/([0-9]+)/([0-9]+)$'  '/securearea/forums/Discussion.aspx?tid=$1&did=$2'      [L]
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: '[L]'
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'L'
Tue Oct 19 09:27:51 -  4888 - rule: Last
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(134): RewriteRule (rule 15)  '^/securearea/test$'  '/securearea/Test.aspx'      [L]
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: '[L]'
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'L'
Tue Oct 19 09:27:51 -  4888 - rule: Last
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(135): RewriteRule (rule 16)  '^/securearea/download/(.*[^/])$'  '/securearea/Download.ashx?hash=$1'      [L]
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: '[L]'
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'L'
Tue Oct 19 09:27:51 -  4888 - rule: Last
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(136): RewriteRule (rule 17)  '^/securearea/media/expand/(.*[^/])\?type=([a-zA-Z0-9]+)$'  '/securearea/MediaGrabber.ashx?hash=$1&l=true'      [L]
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: '[L]'
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'L'
Tue Oct 19 09:27:51 -  4888 - rule: Last
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(137): RewriteRule (rule 18)  '^/securearea/media/(.*[^/])\?type=([a-zA-Z0-9]+)$'  '/securearea/MediaGrabber.ashx?hash=$1'      [L]
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: '[L]'
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'L'
Tue Oct 19 09:27:51 -  4888 - rule: Last
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(138): RewriteRule (rule 19)  '^/securearea/profile$'  '/securearea/Profile.aspx'      [L]
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: '[L]'
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'L'
Tue Oct 19 09:27:51 -  4888 - rule: Last
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(139): RewriteRule (rule 20)  '^/securearea/(.*[^/])$'  '/securearea/Content.aspx?page=$1&ppid=$2'      [L]
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: '[L]'
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'L'
Tue Oct 19 09:27:51 -  4888 - rule: Last
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: F:\Websites\IIS\website.com\Iirf.ini(140): RewriteRule (rule 21)  '^/securearea$'  '/securearea/Default.aspx'      [L]
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: '[L]'
Tue Oct 19 09:27:51 -  4888 - ParseRuleModifierFlags: token 'L'
Tue Oct 19 09:27:51 -  4888 - rule: Last
Tue Oct 19 09:27:51 -  4888 - ReadVdirConfig: Done reading INI for the root vdir, found 21 rules (1 errors, 0 warnings) on 165 lines
Tue Oct 19 09:27:51 -  4888 - ReleaseOrExpireVdirConfig: vdir '/LM/W3SVC/699077759/Root' (era=1) (rc=0) (Expired=1) (ptr=0x0123A500)...
Tue Oct 19 09:27:51 -  4888 - GetVdirConfig: Obtain  vdir '/LM/W3SVC/699077759/Root' (era=2) (rc=1) (Expired=0) (ptr=0x01234C30)...
Tue Oct 19 09:27:51 -  4888 - HttpFilterProc: SF_NOTIFY_URL_MAP
Tue Oct 19 09:27:51 -  4888 - HttpFilterProc: cfg= 0x01234C30
Tue Oct 19 09:27:51 -  4888 - IsIniFileUpdated: F:\Websites\IIS\website.com\Iirf.ini NO
Tue Oct 19 09:27:51 -  4888 - GetVdirConfig: Obtain  vdir '/LM/W3SVC/699077759/Root' (era=2) (rc=2) (Expired=0) (ptr=0x01234C30)...
Tue Oct 19 09:27:51 -  4888 - HttpFilterProc: SF_NOTIFY_URL_MAP
Tue Oct 19 09:27:51 -  4888 - HttpFilterProc: cfg= 0x01234C30
Tue Oct 19 09:27:51 -  4888 - HttpFilterProc: SF_NOTIFY_AUTH_COMPLETE
Tue Oct 19 09:27:51 -  4888 - DoRewrites
Tue Oct 19 09:27:51 -  4888 - GetHeader_AutoFree: getting 'url'
Tue Oct 19 09:27:51 -  4888 - GetHeader_AutoFree: 19 bytes   ptr:0x000C0208
Tue Oct 19 09:27:51 -  4888 - GetHeader_AutoFree: 'url' = '/securearea/forums'
Tue Oct 19 09:27:51 -  4888 - GetServerVariable_AutoFree: getting 'QUERY_STRING'
Tue Oct 19 09:27:51 -  4888 - GetServerVariable_AutoFree: 1 bytes
Tue Oct 19 09:27:51 -  4888 - GetServerVariable_AutoFree: result ''
Tue Oct 19 09:27:51 -  4888 - GetHeader_AutoFree: getting 'method'
Tue Oct 19 09:27:51 -  4888 - GetHeader_AutoFree: 4 bytes   ptr:0x000C0390
Tue Oct 19 09:27:51 -  4888 - GetHeader_AutoFree: 'method' = 'GET'
Tue Oct 19 09:27:51 -  4888 - DoRewrites: New Url, before decoding: '/securearea/forums' 
Tue Oct 19 09:27:51 -  4888 - DoRewrites: Url (no decoding): '/securearea/forums'
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: depth=0
Tue Oct 19 09:27:51 -  4888 - GetServerVariable: getting 'SCRIPT_NAME'
Tue Oct 19 09:27:51 -  4888 - GetServerVariable: 19 bytes
Tue Oct 19 09:27:51 -  4888 - GetServerVariable: result '/securearea/forums'
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: no RewriteBase
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 1: pattern: ^/(_documents_|webservices|awstats|eshot|CDI|public|secure|article|forms|includes|include|styles|css|images|mediabox-js|JS|admin|__siteadmin|resources)/(.*)$  subject: /securearea/forums
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 1: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 2: pattern: ^/(Sitemap\.xml|Sitemap\.xml\.gz|robots\.txt|gss\.xml|urllist\.txt|urllist\.txt\.gz)$  subject: /securearea/forums
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 2: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 3: pattern: ^/favicon\.ico$  subject: /securearea/forums
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 3: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 4: pattern: ^/(.*)\.ashx$  subject: /securearea/forums
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 4: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 5: pattern: ^/(.*).axd(.*)$  subject: /securearea/forums
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 5: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 6: pattern: ^/securearea/cdi/details/([0-9]+)$  subject: /securearea/forums
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 6: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 7: pattern: ^/securearea/cdi/Details.aspx(.*)$  subject: /securearea/forums
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 7: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 8: pattern: ^/securearea/library$  subject: /securearea/forums
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 8: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 9: pattern: ^/securearea/library/search/(.*[^/])$  subject: /securearea/forums
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 9: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 10: pattern: ^/securearea/library/media/(.*[^/])$  subject: /securearea/forums
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 10: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 11: pattern: ^/securearea/library/document/(.*[^/])$  subject: /securearea/forums
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 11: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 12: pattern: ^/securearea/forums$  subject: /securearea/forums
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 12: 1 matches
Tue Oct 19 09:27:51 -  4888 - ReplaceServerVariables: alloc 32 bytes
Tue Oct 19 09:27:51 -  4888 - ReplaceServerVariables: in='/securearea/forums/Default.aspx' out='/securearea/forums/Default.aspx'
Tue Oct 19 09:27:51 -  4888 - GenerateReplacementString: alloc 39 bytes
Tue Oct 19 09:27:51 -  4888 - GenerateReplacementString: result '/securearea/forums/Default.aspx'
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Result (length 31): /securearea/forums/Default.aspx
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Last Rule
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: returning 1
Tue Oct 19 09:27:51 -  4888 - DoRewrites: Rewrite Url to: '/securearea/forums/Default.aspx'
Tue Oct 19 09:27:51 -  4888 - HttpFilterProc: SF_NOTIFY_AUTH_COMPLETE
Tue Oct 19 09:27:51 -  4888 - DoRewrites
Tue Oct 19 09:27:51 -  4888 - GetHeader_AutoFree: getting 'url'
Tue Oct 19 09:27:51 -  4888 - GetHeader_AutoFree: 32 bytes   ptr:0x000C0418
Tue Oct 19 09:27:51 -  4888 - GetHeader_AutoFree: 'url' = '/securearea/forums/Default.aspx'
Tue Oct 19 09:27:51 -  4888 - GetServerVariable_AutoFree: getting 'QUERY_STRING'
Tue Oct 19 09:27:51 -  4888 - GetServerVariable_AutoFree: 1 bytes
Tue Oct 19 09:27:51 -  4888 - GetServerVariable_AutoFree: result ''
Tue Oct 19 09:27:51 -  4888 - GetHeader_AutoFree: getting 'method'
Tue Oct 19 09:27:51 -  4888 - GetHeader_AutoFree: 4 bytes   ptr:0x000C1BE8
Tue Oct 19 09:27:51 -  4888 - GetHeader_AutoFree: 'method' = 'GET'
Tue Oct 19 09:27:51 -  4888 - DoRewrites: New Url, before decoding: '/securearea/forums/Default.aspx' 
Tue Oct 19 09:27:51 -  4888 - DoRewrites: Url (no decoding): '/securearea/forums/Default.aspx'
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: depth=0
Tue Oct 19 09:27:51 -  4888 - GetServerVariable: getting 'SCRIPT_NAME'
Tue Oct 19 09:27:51 -  4888 - GetServerVariable: 19 bytes
Tue Oct 19 09:27:51 -  4888 - GetServerVariable: result '/securearea/forums'
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: no RewriteBase
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 1: pattern: ^/(_documents_|webservices|awstats|eshot|CDI|public|secure|article|forms|includes|include|styles|css|images|mediabox-js|JS|admin|__siteadmin|resources)/(.*)$  subject: /securearea/forums/Default.aspx
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 1: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 2: pattern: ^/(Sitemap\.xml|Sitemap\.xml\.gz|robots\.txt|gss\.xml|urllist\.txt|urllist\.txt\.gz)$  subject: /securearea/forums/Default.aspx
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 2: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 3: pattern: ^/favicon\.ico$  subject: /securearea/forums/Default.aspx
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 3: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 4: pattern: ^/(.*)\.ashx$  subject: /securearea/forums/Default.aspx
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 4: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 5: pattern: ^/(.*).axd(.*)$  subject: /securearea/forums/Default.aspx
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 5: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 6: pattern: ^/securearea/cdi/details/([0-9]+)$  subject: /securearea/forums/Default.aspx
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 6: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 7: pattern: ^/securearea/cdi/Details.aspx(.*)$  subject: /securearea/forums/Default.aspx
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 7: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 8: pattern: ^/securearea/library$  subject: /securearea/forums/Default.aspx
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 8: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 9: pattern: ^/securearea/library/search/(.*[^/])$  subject: /securearea/forums/Default.aspx
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 9: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 10: pattern: ^/securearea/library/media/(.*[^/])$  subject: /securearea/forums/Default.aspx
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 10: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 11: pattern: ^/securearea/library/document/(.*[^/])$  subject: /securearea/forums/Default.aspx
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 11: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 12: pattern: ^/securearea/forums$  subject: /securearea/forums/Default.aspx
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 12: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 13: pattern: ^/securearea/forums/([0-9]+)$  subject: /securearea/forums/Default.aspx
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 13: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 14: pattern: ^/securearea/forums/([0-9]+)/([0-9]+)$  subject: /securearea/forums/Default.aspx
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 14: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 15: pattern: ^/securearea/test$  subject: /securearea/forums/Default.aspx
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 15: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 16: pattern: ^/securearea/download/(.*[^/])$  subject: /securearea/forums/Default.aspx
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 16: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 17: pattern: ^/securearea/media/expand/(.*[^/])\?type=([a-zA-Z0-9]+)$  subject: /securearea/forums/Default.aspx
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 17: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 18: pattern: ^/securearea/media/(.*[^/])\?type=([a-zA-Z0-9]+)$  subject: /securearea/forums/Default.aspx
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 18: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 19: pattern: ^/securearea/profile$  subject: /securearea/forums/Default.aspx
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 19: -1 (No match)
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 20: pattern: ^/securearea/(.*[^/])$  subject: /securearea/forums/Default.aspx
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Rule 20: 2 matches
Tue Oct 19 09:27:51 -  4888 - ReplaceServerVariables: alloc 41 bytes
Tue Oct 19 09:27:51 -  4888 - ReplaceServerVariables: in='/securearea/Content.aspx?page=$1&ppid=$2' out='/securearea/Content.aspx?page=$1&ppid=$2'
Tue Oct 19 09:27:51 -  4888 - GenerateReplacementString: alloc 63 bytes
Tue Oct 19 09:27:51 -  4888 - GenerateReplacementString: result '/securearea/Content.aspx?page=forums/Default.aspx&ppid='
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Result (length 55): /securearea/Content.aspx?page=forums/Default.aspx&ppid=
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: Last Rule
Tue Oct 19 09:27:51 -  4888 - EvaluateRules: returning 1
Tue Oct 19 09:27:51 -  4888 - DoRewrites: Rewrite Url to: '/securearea/Content.aspx?page=forums/Default.aspx&ppid='
Tue Oct 19 09:27:51 -  4888 - HttpFilterProc: SF_NOTIFY_URL_MAP
Tue Oct 19 09:27:51 -  4888 - HttpFilterProc: cfg= 0x01234C30
Tue Oct 19 09:27:51 -  4888 - HttpFilterProc: SF_NOTIFY_URL_MAP
Tue Oct 19 09:27:51 -  4888 - HttpFilterProc: cfg= 0x01234C30
Tue Oct 19 09:27:51 -  4888 - HttpFilterProc: SF_NOTIFY_URL_MAP
Tue Oct 19 09:27:51 -  4888 - HttpFilterProc: cfg= 0x01234C30
Tue Oct 19 09:27:51 -  4888 - HttpFilterProc: SF_NOTIFY_URL_MAP
Tue Oct 19 09:27:51 -  4888 - HttpFilterProc: cfg= 0x01234C30
Tue Oct 19 09:27:51 -  5004 - HttpFilterProc: SF_NOTIFY_URL_MAP
Tue Oct 19 09:27:51 -  5004 - HttpFilterProc: cfg= 0x01234C30
Tue Oct 19 09:27:51 -  5004 - HttpFilterProc: SF_NOTIFY_URL_MAP
Tue Oct 19 09:27:51 -  5004 - HttpFilterProc: cfg= 0x01234C30
Tue Oct 19 09:27:52 -  4888 - ReleaseOrExpireVdirConfig: vdir '/LM/W3SVC/699077759/Root' (era=2) (rc=1) (Expired=0) (ptr=0x01234C30)...
Tue Oct 19 09:27:52 -  4888 - ReleaseOrExpireVdirConfig: vdir '/LM/W3SVC/699077759/Root' (era=2) (rc=0) (Expired=0) (ptr=0x01234C30)...

and there is just one line in the website server log files for this request.

2010-10-19 08:27:52 10.139.40.190 GET /securearea/Content.aspx page=forums/Default.aspx&ppid= 80 - 10.141.4.121 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.2.10)+Gecko/20100914+Firefox/3.6.10+(+.NET+CLR+3.5.30729;+.NET4.0E) 404 0 0
HTTPFOX shows one request, a 404.

(Request-Line)	GET /securearea/forums HTTP/1.1
Host	sv-webdev
User-Agent	Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729; .NET4.0E)
Accept	text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language	en-gb,en;q=0.5
Accept-Encoding	gzip,deflate
Accept-Charset	ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive	115
Connection	keep-alive
Cookie	.ASPXANONYMOUS=<snip>
and the response is

<html>
    <head>
        <title>The resource cannot be found.</title>
        <style>
         body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} 
         p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
         b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
         H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
         H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
         pre {font-family:"Lucida Console";font-size: .9em}
         .marker {font-weight: bold; color: black;text-decoration: none;}
         .version {color: gray;}
         .error {margin-bottom: 10px;}
         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
        </style>
    </head>

    <body bgcolor="white">

            <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>

            <h2> <i>The resource cannot be found.</i> </h2></span>

            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

            <b> Description: </b>HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. &nbsp;Please review the following URL and make sure that it is spelled correctly.
            <br><br>

            <b> Requested URL: </b>/securearea/Content.aspx<br><br>

            <hr width=100% size=1 color=silver>

            <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618

            </font>

    </body>
</html>
<!-- 
[HttpException]: The file '/securearea/Content.aspx' does not exist.
   at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
   at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
--><!-- 
This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using &lt;customErrors mode="Off"/&gt;. Consider using &lt;customErrors mode="On"/&gt; or &lt;customErrors mode="RemoteOnly"/&gt; in production environments.-->
the file '/securearea/content.aspx' does exist.

Oct 19, 2010 at 9:48 AM

actually my mistake, the above file doesn't exist. however the rules should say that it never goes down that far in the rule chain.

Coordinator
Oct 20, 2010 at 3:20 AM
Ok, waaaay too much information. If you're working on the [L] flag, then you need only one rule. You need to focus and reduce the surface area.
Oct 20, 2010 at 10:59 AM

Hi, sorry for the overload of information! i thought the more complete the info, the easier it would be to diagnose my problem

what you wrote here:

Also, collect an HTTP transaction log from the browser side, using something like Fiddler, or another HTTP debugging proxy.  I suspect that you are getting two distinct requests.  

The first is for /securearea/library, and this request is rewritten, as your rule directs, as /securearea/library/Default.aspx .  Directly after that, the IIRF logfile seems to indicate there is an additional, new request for /securearea/library/Default.aspx .   

I may be wrong about this.  But a browser-side HTTP Transaction log would clearly show it.
seems to be exactly what is happening. i've chopped it down to 2 rules (to show that it immediately re-parses the iirf.ini file after a rewrite)

RewriteRule ^/securearea/library$	/securearea/library/Default.aspx	[I,L]
RewriteRule ^/securearea/(.*[^/])$  /securearea/Content.aspx?page=$1&ppid=$2 [L]

the relevant snippet from the iirf-log file is thus.

Wed Oct 20 10:42:30 -  5908 - GetHeader_AutoFree: getting 'url'
Wed Oct 20 10:42:30 -  5908 - GetHeader_AutoFree: 20 bytes   ptr:0x000C2F68
Wed Oct 20 10:42:30 -  5908 - GetHeader_AutoFree: 'url' = '/securearea/library'
Wed Oct 20 10:42:30 -  5908 - GetServerVariable_AutoFree: getting 'QUERY_STRING'
Wed Oct 20 10:42:30 -  5908 - GetServerVariable_AutoFree: 1 bytes
Wed Oct 20 10:42:30 -  5908 - GetServerVariable_AutoFree: result ''
Wed Oct 20 10:42:30 -  5908 - GetHeader_AutoFree: getting 'method'
Wed Oct 20 10:42:30 -  5908 - GetHeader_AutoFree: 4 bytes   ptr:0x000D4780
Wed Oct 20 10:42:30 -  5908 - GetHeader_AutoFree: 'method' = 'GET'
Wed Oct 20 10:42:30 -  5908 - DoRewrites: New Url, before decoding: '/securearea/library' 
Wed Oct 20 10:42:30 -  5908 - DoRewrites: Url (no decoding): '/securearea/library'
Wed Oct 20 10:42:30 -  5908 - EvaluateRules: depth=0
Wed Oct 20 10:42:30 -  5908 - GetServerVariable: getting 'SCRIPT_NAME'
Wed Oct 20 10:42:30 -  5908 - GetServerVariable: 20 bytes
Wed Oct 20 10:42:30 -  5908 - GetServerVariable: result '/securearea/library'
Wed Oct 20 10:42:30 -  5908 - EvaluateRules: no RewriteBase
Wed Oct 20 10:42:30 -  5908 - EvaluateRules: Rule 1: pattern: ^/securearea/library$  subject: /securearea/library
Wed Oct 20 10:42:30 -  5908 - EvaluateRules: Rule 1: 1 match
Wed Oct 20 10:42:30 -  5908 - ReplaceServerVariables: alloc 33 bytes
Wed Oct 20 10:42:30 -  5908 - ReplaceServerVariables: in='/securearea/library/Default.aspx' out='/securearea/library/Default.aspx'
Wed Oct 20 10:42:30 -  5908 - GenerateReplacementString: alloc 40 bytes
Wed Oct 20 10:42:30 -  5908 - GenerateReplacementString: result '/securearea/library/Default.aspx'
Wed Oct 20 10:42:30 -  5908 - EvaluateRules: Result (length 32): /securearea/library/Default.aspx
Wed Oct 20 10:42:30 -  5908 - EvaluateRules: Last Rule
Wed Oct 20 10:42:30 -  5908 - EvaluateRules: returning 1
Wed Oct 20 10:42:30 -  5908 - DoRewrites: Rewrite Url to: '/securearea/library/Default.aspx'
Wed Oct 20 10:42:30 -  5908 - HttpFilterProc: SF_NOTIFY_AUTH_COMPLETE
Wed Oct 20 10:42:30 -  5908 - DoRewrites
Wed Oct 20 10:42:30 -  5908 - GetHeader_AutoFree: getting 'url'
Wed Oct 20 10:42:30 -  5908 - GetHeader_AutoFree: 33 bytes   ptr:0x000D5560
Wed Oct 20 10:42:30 -  5908 - GetHeader_AutoFree: 'url' = '/securearea/library/Default.aspx'
Wed Oct 20 10:42:30 -  5908 - GetServerVariable_AutoFree: getting 'QUERY_STRING'
Wed Oct 20 10:42:30 -  5908 - GetServerVariable_AutoFree: 1 bytes
Wed Oct 20 10:42:30 -  5908 - GetServerVariable_AutoFree: result ''
Wed Oct 20 10:42:30 -  5908 - GetHeader_AutoFree: getting 'method'
Wed Oct 20 10:42:30 -  5908 - GetHeader_AutoFree: 4 bytes   ptr:0x000C0528
Wed Oct 20 10:42:30 -  5908 - GetHeader_AutoFree: 'method' = 'GET'
Wed Oct 20 10:42:30 -  5908 - DoRewrites: New Url, before decoding: '/commonroom/library/Default.aspx'
Wed Oct 20 10:42:30 -  5908 - DoRewrites: Url (no decoding): '/commonroom/library/Default.aspx'
Wed Oct 20 10:42:30 -  5908 - EvaluateRules: depth=0
Wed Oct 20 10:42:30 -  5908 - GetServerVariable: getting 'SCRIPT_NAME'
Wed Oct 20 10:42:30 -  5908 - GetServerVariable: 20 bytes
Wed Oct 20 10:42:30 -  5908 - GetServerVariable: result '/commonroom/library'
Wed Oct 20 10:42:30 -  5908 - EvaluateRules: no RewriteBase
Wed Oct 20 10:42:30 -  5908 - EvaluateRules: Rule 1: pattern: ^/commonroom/library$  subject: /commonroom/library/Default.aspx
Wed Oct 20 10:42:30 -  5908 - EvaluateRules: Rule 1: -1 (No match)
Wed Oct 20 10:42:30 -  5908 - EvaluateRules: Rule 2: pattern: ^/commonroom/(.*[^/])$  subject: /commonroom/library/Default.aspx
Wed Oct 20 10:42:30 -  5908 - EvaluateRules: Rule 2: 2 matches
Wed Oct 20 10:42:30 -  5908 - ReplaceServerVariables: alloc 41 bytes
Wed Oct 20 10:42:30 -  5908 - ReplaceServerVariables: in='/commonroom/Content.aspx?page=$1&ppid=$2' out='/commonroom/Content.aspx?page=$1&ppid=$2'
Wed Oct 20 10:42:30 -  5908 - GenerateReplacementString: alloc 64 bytes
Wed Oct 20 10:42:30 -  5908 - GenerateReplacementString: result '/commonroom/Content.aspx?page=library/Default.aspx&ppid='
Wed Oct 20 10:42:30 -  5908 - EvaluateRules: Result (length 56): /commonroom/Content.aspx?page=library/Default.aspx&ppid=
Wed Oct 20 10:42:30 -  5908 - EvaluateRules: Last Rule
Wed Oct 20 10:42:30 -  5908 - EvaluateRules: returning 1

fiddler shows only two responses to the single request

GET http://sv-webdev/securearea/library
404 Not Found

GET http://sv-webdev/favicon.ico
200 OK

it is showing a 404 because the line/file from the log in pink, doesn't exist.

To me it looks as though it has re-written the url and then proceeded to continue to rewrite until it can't rewrite anymore without sending a new request to the client?

Oct 20, 2010 at 12:23 PM

one other thing, I have tried uninstalling 2.1 and re-installing it without success.

However I have removed 2.1 and installed 2.0.1.15 and the rules work as intended, i.e. they stop and parse at the [L] modifier.

log output below.

Wed Oct 20 12:14:33 -  2208 - GetServerVariable_AutoFree: getting 'url'
Wed Oct 20 12:14:33 -  2208 - GetServerVariable_AutoFree: 128 bytes
Wed Oct 20 12:14:33 -  2208 - GetServerVariable_AutoFree: result ''
Wed Oct 20 12:14:33 -  2208 - GetHeader_AutoFree: getting 'url'
Wed Oct 20 12:14:33 -  2208 - GetHeader_AutoFree: 20 bytes   ptr:0x000CFE40
Wed Oct 20 12:14:33 -  2208 - GetHeader_AutoFree: 'url' = '/securearea/library'
Wed Oct 20 12:14:33 -  2208 - GetServerVariable_AutoFree: getting 'QUERY_STRING'
Wed Oct 20 12:14:33 -  2208 - GetServerVariable_AutoFree: 1 bytes
Wed Oct 20 12:14:33 -  2208 - GetServerVariable_AutoFree: result ''
Wed Oct 20 12:14:33 -  2208 - GetHeader_AutoFree: getting 'method'
Wed Oct 20 12:14:33 -  2208 - GetHeader_AutoFree: 4 bytes   ptr:0x000CFF50
Wed Oct 20 12:14:33 -  2208 - GetHeader_AutoFree: 'method' = 'GET'
Wed Oct 20 12:14:33 -  2208 - DoRewrites: New Url, before decoding: '/securearea/library' 
Wed Oct 20 12:14:33 -  2208 - DoRewrites: Url (no decoding): '/securearea/library'
Wed Oct 20 12:14:33 -  2208 - EvaluateRules: depth=0
Wed Oct 20 12:14:33 -  2208 - EvaluateRules: Rule 1 : 1 matches
Wed Oct 20 12:14:33 -  2208 - ReplaceServerVariables: in='/securearea/library/Default.aspx' out='/securearea/library/Default.aspx'
Wed Oct 20 12:14:33 -  2208 - GenerateReplacementString: result '/securearea/library/Default.aspx'
Wed Oct 20 12:14:33 -  2208 - EvaluateRules: Result (length 32): /securearea/library/Default.aspx
Wed Oct 20 12:14:33 -  2208 - EvaluateRules: Last Rule
Wed Oct 20 12:14:33 -  2208 - EvaluateRules: returning 1
Wed Oct 20 12:14:33 -  2208 - DoRewrites: Rewrite Url to: '/securearea/library/Default.aspx'
Wed Oct 20 12:14:33 -  2208 - HttpFilterProc: SF_NOTIFY_URL_MAP
Wed Oct 20 12:14:33 -  2208 - HttpFilterProc: cfg= 0x01234A28
Wed Oct 20 12:14:33 -  2208 - HttpFilterProc: SF_NOTIFY_URL_MAP
Wed Oct 20 12:14:33 -  2208 - HttpFilterProc: cfg= 0x01234A28
Wed Oct 20 12:14:35 -  2372 - HttpFilterProc: SF_NOTIFY_URL_MAP
Wed Oct 20 12:14:35 -  2372 - HttpFilterProc: cfg= 0x01234A28
Wed Oct 20 12:14:38 -  2208 - HttpFilterProc: SF_NOTIFY_LOG

Coordinator
Oct 23, 2010 at 9:35 PM

Kolin, thanks for the log snippet.

Judging from that excerpt, it sure looks like IIRF is doing the right thing with the rewrite of the incoming url, /securearea/library.   You can see the line that reads "Last Rule", which indicates that IIRF is applying the [L] flag. You can also see that there is no additional rewrite logged by IIRF following that line.  You can also see the result of the rewrite, which I guess is correct.

I'm not sure if that log excerpt is from the case that works, or the case that doesn't work. It looks correct to me.

 

Nov 1, 2010 at 5:43 PM

that snippet is a section that does work in version 2.0.1.15 the others that didnt work are from 2.1

none of the rules changed, just that when i downgraded, it worked!

if you look at the log file (Oct 20 at 9:59 AM) previous to the one above, lines 25-30  , you can see the same rule hitting the "Last Rule", but carrying on (note the timestamp), this is iirf version 2.1

the same rules in version 2.0.1.15, (the last log file i posted) show that this time, it does seem to understand the "LastRule", and stops the rewriting