<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>IIRF Forum Rss Feed</title><link>http://www.codeplex.com/Project/ListForums.aspx?ProjectName=IIRF</link><description>IIRF Forum Rss Description</description><item><title>New Post: Logout click still keeps session alive... </title><link>http://iirf.codeplex.com/discussions/441665</link><description>&lt;div style="line-height: normal;"&gt;in one of my application, everything is working with following INI except logout click.&lt;br /&gt;
&lt;br /&gt;
On click of logout,, IIRF not actually logs out the user &amp;amp; getting following details in log file.&lt;br /&gt;
&lt;br /&gt;
I tried ti follow the below post but no luck in my case as there are nothing appended in URL for us.&lt;br /&gt;
&lt;a href="https://iirf.codeplex.com/discussions/220168" rel="nofollow"&gt;https://iirf.codeplex.com/discussions/220168&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
if someone can help me here to resolve the issue.... that would be a gr8 help &amp;amp; really appreciable,,,&lt;br /&gt;
&lt;br /&gt;
____========================&lt;br /&gt;
IIRF.INI Entry:&lt;br /&gt;
&lt;br /&gt;
RewriteLog C:\Temp\iirf&lt;br /&gt;
RewriteLogLevel 4&lt;br /&gt;
&lt;h1&gt;IterationLimit 10&lt;/h1&gt;
&lt;h1&gt;MaxMatchCount 10&lt;/h1&gt;
RewriteEngine ON&lt;br /&gt;
StatusInquiry ON&lt;br /&gt;
ProxyPreserveHost ON&lt;br /&gt;
&lt;br /&gt;
RedirectRule ^/([^.?]+[^.?/])$ /$1/ [R=301]&lt;br /&gt;
&lt;h1&gt;ProxyPass   ^/ABCDir/(.*)$    http://%{LOCAL_ADDR}:12345/ABCDir/$1  [I]&lt;/h1&gt;
========================&lt;br /&gt;
Log Entry:__&lt;br /&gt;
__Fri Apr 26 18:28:57 -  3380 - ProxyRequest: WinHttpReadData 10&lt;br /&gt;
Fri Apr 26 18:28:57 -  3380 - ProxyRequest: WinHttpReadData 4619&lt;br /&gt;
Fri Apr 26 18:28:57 -  3380 - ProxyRequest: segments(2) totalBytes(4629)&lt;br /&gt;
Fri Apr 26 18:28:57 -  3380 - DoRewrites: Proxy complete: 2 chunks, 4629 bytes'&lt;br /&gt;
Fri Apr 26 18:28:57 -  3380 - ReleaseOrExpireVdirConfig: vdir '/LM/W3SVC/1/ROOT' (era=0) (rc=0) (Expired=0) (ptr=0x01E22D20)...&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - IsIniChainUpdated: c:\inetpub\wwwroot\Iirf.ini NO&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - IsIniChainUpdated: return FALSE&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - IsIniChainUpdated: return FALSE&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - GetVdirConfig: Obtain  vdir '/LM/W3SVC/1/ROOT' (era=0) (rc=1) (Expired=0) (ptr=0x01E22D20)...&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - HttpFilterProc: SF_NOTIFY_URL_MAP&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - HttpFilterProc: cfg= 0x01E22D20&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - HttpFilterProc: SF_NOTIFY_AUTH_COMPLETE&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - DoRewrites&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - GetHeader_AutoFree: 'url' = '/ABCDir/logout/'&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - GetHeader_AutoFree: 'method' = 'GET'&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - DoRewrites: New Url, before decoding: '/ABCDir/logout/' &lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - DoRewrites: Url (decoded): '/ABCDir/logout/'&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - EvaluateRules: depth=0&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - EvaluateRules: no RewriteBase&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - EvaluateRules: Rule 1: pattern: ^/([^.?]+[^.?/])$  subject: /ABCDir/logout/&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - EvaluateRules: Rule 1: -1 (No match)&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - EvaluateRules: Rule 2: pattern: ^/Logout$  subject: /ABCDir/logout/&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - EvaluateRules: Rule 2: -1 (No match)&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - EvaluateRules: Rule 3: pattern: ^/ABCDir/(.*)$  subject: /ABCDir/logout/&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - EvaluateRules: Rule 3: 2 matches&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ReplaceServerVariables: alloc 36 bytes&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ReplaceServerVariables: in='&lt;a href="http://%{LOCAL_ADDR}:12345/ABCDir/$1' out='http://10.7.134.21:12345/ABCDir/$1" rel="nofollow"&gt;http://%{LOCAL_ADDR}:12345/ABCDir/$1' out='http://10.7.134.21:12345/ABCDir/$1&lt;/a&gt;'&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - GenerateReplacementString: alloc 42 bytes&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ApplyUrlEncoding: in '&lt;a href="http://10.7.134.21:12345/ABCDir/logout/" rel="nofollow"&gt;http://10.7.134.21:12345/ABCDir/logout/&lt;/a&gt;'&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ApplyUrlEncoding: out '&lt;a href="http://10.7.134.21:12345/ABCDir/logout/" rel="nofollow"&gt;http://10.7.134.21:12345/ABCDir/logout/&lt;/a&gt;'&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - GenerateReplacementString: result '&lt;a href="http://10.7.134.21:12345/ABCDir/logout/" rel="nofollow"&gt;http://10.7.134.21:12345/ABCDir/logout/&lt;/a&gt;'&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - EvaluateRules: Result (length 40): &lt;a href="http://10.7.134.21:12345/ABCDir/logout/" rel="nofollow"&gt;http://10.7.134.21:12345/ABCDir/logout/&lt;/a&gt;&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - EvaluateRules: returning 999&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - DoRewrites: Proxy to: '&lt;a href="http://10.7.134.21:12345/ABCDir/logout/" rel="nofollow"&gt;http://10.7.134.21:12345/ABCDir/logout/&lt;/a&gt;'&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - IirfProxy_TryRelayEmptyBodyRequest: &lt;a href="http://10.7.134.21:12345/ABCDir/logout/" rel="nofollow"&gt;http://10.7.134.21:12345/ABCDir/logout/&lt;/a&gt;&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ParseAllRaw: Connection: keep-alive&lt;br /&gt;
&lt;br /&gt;
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8&lt;br /&gt;
&lt;br /&gt;
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3&lt;br /&gt;
&lt;br /&gt;
Accept-Encoding: gzip,deflate,sdch&lt;br /&gt;
&lt;br /&gt;
Accept-Language: en-US,en;q=0.8&lt;br /&gt;
&lt;br /&gt;
Cookie: JSESSIONID=l0jhcz2z1w971v6patowf4fip; rememberMe=SYiMjxosvC03Sjbmr7kFcevnyDnXTeTU8by6MRYHXiFdrRGYRy/qM3PO2zTKqbaW8xL0UtMg82OMvyCwHeUGC/0Gmn2t8UKZUDBWTx+2t+6VbFUu8o6ObIcjnhjMuq2fsnHyzv7EO08H8LRRZ9FBfyHOEp3Qk+jCNNDqSIq7ndOfDb1ErWVujtfGx2SI1495l8Zzm1DLjfj7MgsEb9Cvm0raMcOzYz0mwAU+Bc41GQCr+47dAE0NyfBM9pwCDEdetkER63CO6Rwrky4/l5fdfasX2VQ51cMrhUr//hMBgIM8AvcCk87I1laWJMAp6CRCZSYy8VgAOp3ZlnmjdKP3v9OpAUEPx1IordySJErbsMkisROBaPeF3AQz7oYs6yn8Vqzy1jgPRxR/H+itxY8kRPubE2xMAJvVAZPN9KF94R7L2LLLF9XmH68QGuvrjbQqFOabWZZxb7bQ9uvLHzmM4OfLp1MnYw4C6wrjC+dsu9HB3H+twaVJ3rVETGqPrXcF&lt;br /&gt;
&lt;br /&gt;
Host: 10.7.134.21&lt;br /&gt;
&lt;br /&gt;
Referer: &lt;a href="http://10.7.134.21/ABCDir/jsf/monitoringView.faces" rel="nofollow"&gt;http://10.7.134.21/ABCDir/jsf/monitoringView.faces&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22&lt;br /&gt;
&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ParseAllRaw: hdr Connection: keep-alive&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ParseAllRaw: hdr Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ParseAllRaw: hdr Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ParseAllRaw: hdr Accept-Encoding: gzip,deflate,sdch&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ParseAllRaw: hdr Accept-Language: en-US,en;q=0.8&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ParseAllRaw: hdr Cookie: JSESSIONID=l0jhcz2z1w971v6patowf4fip; rememberMe=SYiMjxosvC03Sjbmr7kFcevnyDnXTeTU8by6MRYHXiFdrRGYRy/qM3PO2zTKqbaW8xL0UtMg82OMvyCwHeUGC/0Gmn2t8UKZUDBWTx+2t+6VbFUu8o6ObIcjnhjMuq2fsnHyzv7EO08H8LRRZ9FBfyHOEp3Qk+jCNNDqSIq7ndOfDb1ErWVujtfGx2SI1495l8Zzm1DLjfj7MgsEb9Cvm0raMcOzYz0mwAU+Bc41GQCr+47dAE0NyfBM9pwCDEdetkER63CO6Rwrky4/l5fdfasX2VQ51cMrhUr//hMBgIM8AvcCk87I1laWJMAp6CRCZSYy8VgAOp3ZlnmjdKP3v9OpAUEPx1IordySJErbsMkisROBaPeF3AQz7oYs6yn8Vqzy1jgPRxR/H+itxY8kRPubE2xMAJvVAZPN9KF94R7L2LLLF9XmH68QGuvrjbQqFOabWZZxb7bQ9uvLHzmM4OfLp1MnYw4C6wrjC+dsu9HB3H+twaVJ3rVETGqPrXcF&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ParseAllRaw: hdr Host: 10.7.134.21&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ParseAllRaw: hdr Referer: &lt;a href="http://10.7.134.21/ABCDir/jsf/monitoringView.faces" rel="nofollow"&gt;http://10.7.134.21/ABCDir/jsf/monitoringView.faces&lt;/a&gt;&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ParseAllRaw: hdr User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ParseAllRaw: found 9 headers&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ProxyRequest: host(10.7.134.21)  path+query(/ABCDir/logout/)&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - GenProxyRequestHeadersString: rh(0x01E15670) nh(10.7.134.21) sn(10.7.134.21) la(10.7.134.21) ra(10.7.255.9) ts(0)&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ProxyRequest: WinHttpConnect 10.7.134.21 8080&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ProxyRequest: WinHttpOpenRequest: GET /ABCDir/logout/&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ProxyRequest: WinHttpAddRequestHeaders&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ProxyRequest: WinHttpSendRequest&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ProxyRequest: WinHttpReceiveResponse&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ProxyRequest: WinHttpQueryHeaders&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ProxyRequest: WinHttpQueryHeaders: status 404&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - Proxy_SetResponseHeaders: starting status 404&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - Proxy_SetResponseHeaders: status NOT 200, not TIMEOUT&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ProcessResponseHeaders: all X-UA-Compatible: IE=Edge&lt;br /&gt;
&lt;br /&gt;
Pragma: no-cache&lt;br /&gt;
&lt;br /&gt;
Cache-Control: no-cache&lt;br /&gt;
&lt;br /&gt;
Cache-Control: no-store&lt;br /&gt;
&lt;br /&gt;
Cache-Control: must-revalidate&lt;br /&gt;
&lt;br /&gt;
Expires: Mon, 8 Aug 2006 10:00:00 GMT&lt;br /&gt;
&lt;br /&gt;
Content-Type: text/html;charset=UTF-8&lt;br /&gt;
&lt;br /&gt;
Content-Length: 10425&lt;br /&gt;
&lt;br /&gt;
Via: 1.1 10.7.134.21 (IIRF v2.1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ProxyRequest: WinHttpReadData 716&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ProxyRequest: WinHttpReadData 8190&lt;br /&gt;
Fri Apr 26 18:29:05 -  3380 - ProxyRequest: WinHttpReadData 2&lt;br /&gt;
Fri Apr 26 18:29:08 -  3380 - ProxyRequest: WinHttpReadData 1517&lt;br /&gt;
Fri Apr 26 18:29:08 -  3380 - ProxyRequest: segments(4) totalBytes(10425)&lt;br /&gt;
Fri Apr 26 18:29:08 -  3380 - DoRewrites: Proxy complete: 4 chunks, 10425 bytes'&lt;br /&gt;
Fri Apr 26 18:29:08 -  3380 - ReleaseOrExpireVdirConfig: vdir '/LM/W3SVC/1/ROOT' (era=0) (rc=0) (Expired=0) (ptr=0x01E22D20)...&lt;br /&gt;
&lt;/div&gt;</description><author>ajayjawale</author><pubDate>Fri, 26 Apr 2013 12:59:03 GMT</pubDate><guid isPermaLink="false">New Post: Logout click still keeps session alive...  20130426125903P</guid></item><item><title>New Post: Expression for direct input to browser URL field</title><link>http://iirf.codeplex.com/discussions/440936</link><description>&lt;div style="line-height: normal;"&gt;Is there a way to make an expression that allows / disallows access to a document (.pdf) via direct input of the URL to the browser window's URL field?  I.e. if its not a hyper link, how do you describe that in IIRF config files?&lt;br /&gt;
&lt;br /&gt;
Example: I'd like to have everything blocked EXCEPT direct download of .PDF from browser field.  No hyperlinks from any page, only direct download.&lt;br /&gt;
&lt;br /&gt;
Strange request, but please let me know if you have any info on this&lt;br /&gt;
&lt;br /&gt;
thank you!&lt;br /&gt;
&lt;br /&gt;
Max&lt;br /&gt;
&lt;/div&gt;</description><author>MaxRaz</author><pubDate>Fri, 19 Apr 2013 16:08:19 GMT</pubDate><guid isPermaLink="false">New Post: Expression for direct input to browser URL field 20130419040819P</guid></item><item><title>New Post: how to allow for additional dynamic query strings</title><link>http://iirf.codeplex.com/discussions/440144</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
Im relatively new to this filter and im trying to configure my ruleset to allow for additional dynamic rules for my app. I currently have the following rules defined for my shop part of my application.&lt;br /&gt;
&lt;br /&gt;
  RewriteRule ^/shop/(.*)/pages/(.*)   /index.cfm?go=shop.products&amp;amp;content=$1&amp;amp;CurrentPage=$2&lt;br /&gt;
  RewriteRule ^/shop/(.*)/pages/(.*)/   /index.cfm?go=shop.products&amp;amp;content=$1&amp;amp;CurrentPage=$2 &lt;br /&gt;
&lt;br /&gt;
  RewriteRule ^/shop/(.*)$ /index.cfm?go=shop.products&amp;amp;content=$1&lt;br /&gt;
  RewriteRule ^/shop /index.cfm?go=shop.products&lt;br /&gt;
  RewriteRule ^/products.cfm	/index.cfm?go=shop.products&lt;br /&gt;
  RewriteRule ^/details.cfm	/index.cfm?go=shop.products&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A service provider is saying we arent allowing for additional tracking variables to be passed in unless they prefix it with an &amp;amp; symbol.&lt;br /&gt;
&lt;br /&gt;
the URLs look like the below.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.domainname.com/shop/category-of-products" rel="nofollow"&gt;www.domainname.com/shop/category-of-products&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.dimainname.com/shop/" rel="nofollow"&gt;www.dimainname.com/shop/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
with their additional variables they must do as follows&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.domainname.com/shop/category-of-products&amp;amp;additional-query-strings" rel="nofollow"&gt;www.domainname.com/shop/category-of-products&amp;additional-query-strings&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.dimainname.com/shop/&amp;amp;additional-query-strings" rel="nofollow"&gt;www.dimainname.com/shop/&amp;additional-query-strings&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
what they need to do is &lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.domainname.com/shop/category-of-products?additional-query-strings" rel="nofollow"&gt;www.domainname.com/shop/category-of-products?additional-query-strings&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.dimainname.com/shop/?additional-query-strings" rel="nofollow"&gt;www.dimainname.com/shop/?additional-query-strings&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
what is it that i need to do to allow for the additional ? to be referenced&lt;br /&gt;
&lt;br /&gt;
Any help greatly appreciated&lt;br /&gt;
&lt;/div&gt;</description><author>nameunknown01</author><pubDate>Fri, 12 Apr 2013 23:22:08 GMT</pubDate><guid isPermaLink="false">New Post: how to allow for additional dynamic query strings 20130412112208P</guid></item><item><title>New Post: if someone can quickly guide me to kickoff on IIRF...</title><link>http://iirf.codeplex.com/discussions/440060</link><description>&lt;div style="line-height: normal;"&gt;once client requested following url &amp;amp; request comes to IIS as &lt;br /&gt;
&lt;a href="http://12.12.12.12:8080/ABC/asd/index.aspx" rel="nofollow"&gt;http://12.12.12.12:8080/ABC/asd/index.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
i want to rewrite it as &lt;br /&gt;
&lt;a href="http://12.12.12.12:80/ABC/asd/index.aspx" rel="nofollow"&gt;http://12.12.12.12:80/ABC/asd/index.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
what should i write in IIRF.ini file..??&lt;br /&gt;
&lt;/div&gt;</description><author>ajayjawale</author><pubDate>Fri, 12 Apr 2013 12:42:13 GMT</pubDate><guid isPermaLink="false">New Post: if someone can quickly guide me to kickoff on IIRF... 20130412124213P</guid></item><item><title>New Post: IIS 6 / FastCGI PHP RewriteRule problem</title><link>http://iirf.codeplex.com/discussions/439959</link><description>&lt;div style="line-height: normal;"&gt;I have a PHP site running on Windows Server 2003 R2 (x64) under IIS 6 / FastCGI.  The site is a dev instance of a production site running on Linux / Apache.&lt;br /&gt;
&lt;br /&gt;
On the production site, I have a directory that utilizes the following mod_rewrite syntax in a .htaccess file:&lt;br /&gt;
&lt;br /&gt;
  RewriteCond %{REQUEST_FILENAME} !-s&lt;br /&gt;
  RewriteCond %{REQUEST_FILENAME} !-l&lt;br /&gt;
  RewriteCond %{REQUEST_FILENAME} !-d&lt;br /&gt;
  RewriteRule .&lt;em&gt;$ index.php [NC,L]&lt;br /&gt;
&lt;br /&gt;
The rule works as expected on the production site, directing all requests to the index.php script in that directory.  However, I cannot get it to work on the dev (IIS) site.&lt;br /&gt;
&lt;br /&gt;
I have placed the following syntax in a IIRF.ini file in the same directory as the .htaccess file it replaces:&lt;br /&gt;
&lt;br /&gt;
  RewriteCond %{REQUEST_FILENAME} !-s&lt;br /&gt;
  RewriteCond %{REQUEST_FILENAME} !-l&lt;br /&gt;
  RewriteCond %{REQUEST_FILENAME} !-d&lt;br /&gt;
  RewriteRule .&lt;/em&gt;$ index.php [L,I]&lt;br /&gt;
&lt;br /&gt;
Whenever I attempt to access a URL that references the directory in question, I just get a 404 error (Page cannot be displayed).&lt;br /&gt;
&lt;br /&gt;
The ISAPI Rewrite Filter appears to be installed correctly, as far as I can tell, but it doesn't look like the IIRF.ini file above is even being invoked.&lt;br /&gt;
&lt;br /&gt;
Assuming the syntax I am using is valid, might I be missing some other configuration step?&lt;br /&gt;
&lt;/div&gt;</description><author>mphillipson</author><pubDate>Thu, 11 Apr 2013 16:19:21 GMT</pubDate><guid isPermaLink="false">New Post: IIS 6 / FastCGI PHP RewriteRule problem 20130411041921P</guid></item><item><title>New Post: IIS6 neverending loop, GetServerVariable: cannot find that variable </title><link>http://iirf.codeplex.com/discussions/439838</link><description>&lt;div style="line-height: normal;"&gt;I got it working! &lt;br /&gt;
&lt;br /&gt;
Mainly due to my bad syntax. Went back to the drawing boards with regular expressions and got it sorted. &lt;br /&gt;
&lt;br /&gt;
RewriteCond   %{HTTP_HOST} ^(?!myhost.fullname.com)(.*)$ &lt;br /&gt;
RedirectRule ^/(.*)$  &lt;a href="https://myhost.fullname.com/$1" rel="nofollow"&gt;https://myhost.fullname.com/$1&lt;/a&gt; [R=301]&lt;br /&gt;
&lt;br /&gt;
Working as we need, fab tool&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
&lt;/div&gt;</description><author>GinL</author><pubDate>Thu, 11 Apr 2013 15:56:33 GMT</pubDate><guid isPermaLink="false">New Post: IIS6 neverending loop, GetServerVariable: cannot find that variable  20130411035633P</guid></item><item><title>New Post: IIS6 neverending loop, GetServerVariable: cannot find that variable </title><link>http://iirf.codeplex.com/discussions/439838</link><description>&lt;div style="line-height: normal;"&gt;Hi&lt;br /&gt;
&lt;br /&gt;
Just starting to work with IIRF and have an issue with ending up in a never ending loop. We are trying to make the users use a fully qualified name (due to our SSL Cert) , previously users could just go to https:/myhost/myform.aspx but now we want them to go to https:/myhost.fullname.com/myform.aspx. &lt;br /&gt;
We're using a windows server 2003 sp2 and IIS6. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ini file is &lt;br /&gt;
&lt;h1&gt;StatusUrl /iirfStatus&lt;/h1&gt;
RewriteLog c:\temp\iirf &lt;br /&gt;
RewriteLogLevel 2 &lt;br /&gt;
IterationLimit 10 &lt;br /&gt;
MaxMatchCount 10 &lt;br /&gt;
RewriteEngine ON &lt;br /&gt;
StatusInquiry ON &lt;br /&gt;
CondSubstringBackrefFlag &lt;br /&gt;
&lt;br /&gt;
RewriteCond %{HTTPS_HOST} ^(?!myhost.fullname.com)$ &lt;br /&gt;
RedirectRule ^/(.*)$      &lt;a href="https://myhost.fullname.com/$1" rel="nofollow"&gt;https://myhost.fullname.com/$1&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Log file is as below.&lt;br /&gt;
Wed Apr 10 19:58:46 - 28736 - DoRewrites: Url (decoded): '/myform.aspx' &lt;br /&gt;
Wed Apr 10 19:58:46 - 28736 - GetServerVariable: cannot find that variable &lt;br /&gt;
Wed Apr 10 19:58:46 - 28736 - GetServerVariable: cannot find that variable &lt;br /&gt;
Wed Apr 10 19:58:46 - 28736 - DoRewrites: Redirect (code=302) Url to: '&lt;a href="https://myhost.fullname.com/myform.aspx" rel="nofollow"&gt;https://myhost.fullname.com/myform.aspx&lt;/a&gt;' &lt;br /&gt;
Wed Apr 10 19:58:50 - 28736 - DoRewrites: Url (decoded): '/myform.aspx' &lt;br /&gt;
Wed Apr 10 19:58:50 - 28736 - GetServerVariable: cannot find that variable &lt;br /&gt;
Wed Apr 10 19:58:50 - 28736 - GetServerVariable: cannot find that variable &lt;br /&gt;
Wed Apr 10 19:58:50 - 28736 - DoRewrites: Redirect (code=302) Url to: '&lt;a href="https://myhost.fullname.com/myform.aspx" rel="nofollow"&gt;https://myhost.fullname.com/myform.aspx&lt;/a&gt;' &lt;br /&gt;
etc etc. &lt;br /&gt;
&lt;br /&gt;
What am I missing? &lt;br /&gt;
&lt;br /&gt;
Thanks in advance&lt;br /&gt;
&lt;/div&gt;</description><author>GinL</author><pubDate>Wed, 10 Apr 2013 20:11:20 GMT</pubDate><guid isPermaLink="false">New Post: IIS6 neverending loop, GetServerVariable: cannot find that variable  20130410081120P</guid></item><item><title>New Post: Windows 2012 Usage Crash</title><link>http://iirf.codeplex.com/discussions/439671</link><description>&lt;div style="line-height: normal;"&gt;To add some more info - we downgraded to IIRF 2.0 and since then no issues... seems specific to 2.1 which is a shame because we need some logic from 2.1 (mainly it's greater URL length capacity).&lt;br /&gt;
&lt;br /&gt;
Any ideas?  Thanks!&lt;br /&gt;
&lt;/div&gt;</description><author>jblf</author><pubDate>Wed, 10 Apr 2013 18:05:55 GMT</pubDate><guid isPermaLink="false">New Post: Windows 2012 Usage Crash 20130410060555P</guid></item><item><title>New Post: Windows 2012 Usage Crash</title><link>http://iirf.codeplex.com/discussions/439671</link><description>&lt;div style="line-height: normal;"&gt;Hi, I've been using IIRF for a long time - great job with this tool.  Now we recently upgraded the server hosting one of our applications to windows 2012 and using iirf 2.1, however IIRF seems to be randomly crashing (iirfstatus shows no errors/warnings).  Interestingly enough with logging on, it complains about:&lt;br /&gt;
ReadVdirConfig: c:\www\live\stepintospring\web\Iirf.ini(1): WARNING: unrecognized directive, ignoring it: 'ï»¿StatusInquiry'&lt;br /&gt;
&lt;br /&gt;
But then every 10 minutes or so we get the following log:&lt;br /&gt;
&lt;br /&gt;
Tue Apr 09 11:31:50 -  3636 - ReadVdirConfig: INFO: [U] flag in use, with global NotifyLog - Unmangled URIs will be logged.&lt;br /&gt;
Tue Apr 09 11:31:50 -  3636 - ReadVdirConfig: Done reading INI for the root vdir, found 165 rules (0 errors, 0 warnings) on 184 lines&lt;br /&gt;
Tue Apr 09 11:31:50 -  3636 - EXCEPTION&lt;br /&gt;
Tue Apr 09 11:31:50 -  3636 - SymInit: Symbol-SearchPath: 'C:\www\live\fireengine_1_3\Utilities\iirf_2.1x64\bin\;.;c:\windows\system32\inetsrv;c:\windows\system32\inetsrv;C:\Windows;C:\Windows\system32;SRV&lt;em&gt;C:\websymbols&lt;/em&gt;&lt;a href="http://msdl.microsoft.com/download/symbols;" rel="nofollow"&gt;http://msdl.microsoft.com/download/symbols;&lt;/a&gt;', symOptions: 530, UserName: 'stepintospring'&lt;br /&gt;
Tue Apr 09 11:31:50 -  3636 - OS-Version: 6.2.9200 () 0x110-0x3&lt;br /&gt;
Tue Apr 09 11:31:50 -  3636 - Stack trace:&lt;br /&gt;
000007F83EE69D7B module(filter): (filename not available): RegisterModule&lt;br /&gt;
000007F83EDFB098 module(IIRF): (filename not available): Iirf_GetVersion&lt;br /&gt;
000007F83EDFB396 module(IIRF): (filename not available): HttpFilterProc&lt;br /&gt;
000007F83EE615E4 module(filter): (filename not available): (function-name not available)&lt;br /&gt;
000007F83EE613F4 module(filter): (filename not available): (function-name not available)&lt;br /&gt;
000007F83EE611B0 module(filter): (filename not available): (function-name not available)&lt;br /&gt;
000007F83F2626E2 module(iiscore): (filename not available): (function-name not available)&lt;br /&gt;
000007F83F2634A8 module(iiscore): (filename not available): (function-name not available)&lt;br /&gt;
000007F83F26AF06 module(iiscore): (filename not available): (function-name not available)&lt;br /&gt;
000007F83F267395 module(iiscore): (filename not available): (function-name not available)&lt;br /&gt;
000007F83F26A2F7 module(iiscore): (filename not available): (function-name not available)&lt;br /&gt;
000007F83F181428 module(w3dt): (filename not available): UlAtqSetContextProperty&lt;br /&gt;
000007F841F91882 module(W3TP): (filename not available): (function-name not available)&lt;br /&gt;
000007F841F922BD module(W3TP): (filename not available): ThreadPoolBindIoCompletionCallback&lt;br /&gt;
000007F84717167E module(KERNEL32): (filename not available): BaseThreadInitThunk&lt;br /&gt;
000007F848FE3501 module(ntdll): (filename not available): RtlUserThreadStart&lt;br /&gt;
000007F848FE3501 module(ntdll): (filename not available): RtlUserThreadStart&lt;br /&gt;
&lt;br /&gt;
Any ideas what could be the issue?&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;/div&gt;</description><author>jblf</author><pubDate>Tue, 09 Apr 2013 16:00:43 GMT</pubDate><guid isPermaLink="false">New Post: Windows 2012 Usage Crash 20130409040043P</guid></item><item><title>New Post: Reverse Proxy Pass - Not keeping port number</title><link>http://iirf.codeplex.com/discussions/437679</link><description>&lt;div style="line-height: normal;"&gt;Hi there,&lt;br /&gt;
&lt;br /&gt;
1) maybe you can log all requests by enabling it on iirf_global.ini and see what's happening with each request.&lt;br /&gt;
&lt;hr /&gt;
RewriteLogLevel {0,1,2,3,4,5}&lt;br /&gt;
This directive sets the level of logging performed by IIRF. A higher number means more logging: &lt;br /&gt;
&lt;br /&gt;
0 - no logging&lt;br /&gt;
1 - log messages for ini file load and parse events, as well as errors&lt;br /&gt;
2 - Level 1, plus two lines in the log for each successfully handled URL request&lt;br /&gt;
3 - verbose logging for each request.&lt;br /&gt;
4 - also emit trace on server variable replacement and string replacement&lt;br /&gt;
5 - also include messages on other minor events of interest. This is generally not useful for end users.&lt;br /&gt;
The default is zero. If you set an out-of-range value for the log level, you may not get logging. A non-zero value is useful for auditing and monitoring purposes, as well as for giving you that warm fuzzy feeling, knowing that something good is happening.&lt;br /&gt;
&lt;hr /&gt;
2) My best guess is your regular expression. I'm just guessing because I'm not good at it:&lt;br /&gt;
&lt;br /&gt;
RewriteCond %{HTTP_HOST}   portal.domain.com$  [I]&lt;br /&gt;
ProxyPass ^/(.*)$          &lt;a href="http://portal.domain.com:8080/openatrium/$1" rel="nofollow"&gt;http://portal.domain.com:8080/openatrium/$1&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
There is a '^' missing...&lt;br /&gt;
RewriteCond %{HTTP_HOST}   ^portal.domain.com$  [I]&lt;br /&gt;
ProxyPass ^/(.*)$          &lt;a href="http://portal.domain.com:8080/openatrium/$1" rel="nofollow"&gt;http://portal.domain.com:8080/openatrium/$1&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>xan_su8313</author><pubDate>Sat, 30 Mar 2013 02:45:58 GMT</pubDate><guid isPermaLink="false">New Post: Reverse Proxy Pass - Not keeping port number 20130330024558A</guid></item><item><title>New Post: Installed correctly but no logs, no status, no rewrites, no redirects.</title><link>http://iirf.codeplex.com/discussions/438409</link><description>&lt;div style="line-height: normal;"&gt;I guess there's something wrong with your StatusUrl. &lt;br /&gt;
Isn't it what we call StatusInquiry, used to provide report on IIRF status?&lt;br /&gt;
&lt;br /&gt;
Usually if you are not getting anything by using /iirfstatus, then its configuration is wrong.&lt;br /&gt;
&lt;br /&gt;
This is the usual rule for it (found at IirfGuide.chm)&lt;br /&gt;
StatusInquiry [ON|OFF] [&amp;lt;url-path&amp;gt;] [RemoteOk]&lt;br /&gt;
&lt;/div&gt;</description><author>xan_su8313</author><pubDate>Sat, 30 Mar 2013 02:27:25 GMT</pubDate><guid isPermaLink="false">New Post: Installed correctly but no logs, no status, no rewrites, no redirects. 20130330022725A</guid></item><item><title>New Post: Installed correctly but no logs, no status, no rewrites, no redirects.</title><link>http://iirf.codeplex.com/discussions/438409</link><description>&lt;div style="line-height: normal;"&gt;I have installed iirf on Windows Server 2003 for IIS 6.0.&lt;br /&gt;
&lt;br /&gt;
I have installed for a specific site and that site in IIS shows the green up arrow under status on the &amp;quot;ISAPI Filters&amp;quot; tab.&lt;br /&gt;
&lt;br /&gt;
I have the file &amp;quot;Iirf.ini&amp;quot; in the root of this site's directory (same directory as specified in the &amp;quot;Home Directory&amp;quot; tab).&lt;br /&gt;
&lt;br /&gt;
I am getting no glory with any filters, am getting no logs, and am not getting the status page.&lt;br /&gt;
&lt;br /&gt;
All files and dirs have full permissions.&lt;br /&gt;
&lt;br /&gt;
Where to from here?&lt;br /&gt;
&lt;br /&gt;
This ini contains the following:&lt;br /&gt;
&lt;br /&gt;
RewriteLog C:\temp\iirf&lt;br /&gt;
StatusUrl /iirfStatus&lt;br /&gt;
RewriteRule ^/filter/$ /filter/?$1   [R]&lt;br /&gt;
&lt;/div&gt;</description><author>wusystemsltd</author><pubDate>Fri, 29 Mar 2013 03:31:55 GMT</pubDate><guid isPermaLink="false">New Post: Installed correctly but no logs, no status, no rewrites, no redirects. 20130329033155A</guid></item><item><title>New Post: Reverse Proxy Pass - Not keeping port number</title><link>http://iirf.codeplex.com/discussions/437679</link><description>&lt;div style="line-height: normal;"&gt;Hi everyone, &lt;br /&gt;
&lt;br /&gt;
I have been trying to get a reverse proxy working on my company web server (IIS 6) to run Open Atrium on the same server but as a bitnami stack. The Apache server listens on port 8080&lt;br /&gt;
&lt;br /&gt;
First, here is my .ini file: &lt;br /&gt;
&lt;pre&gt;&lt;code&gt;RewriteCond %{HTTP_HOST}   portal\.domain\.com$  [I]
ProxyPass ^/(.*)$          http://portal.domain.com:8080/openatrium/$1&lt;/code&gt;&lt;/pre&gt;

Now if I go to portal.domain.com it will say 'page not found' but it still shows a few links that would usually be shown, but in a basic HTML format. The address shown is &lt;a href="http://portal.domain.com/openatrium/" rel="nofollow"&gt;http://portal.domain.com/openatrium/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
If I go to portal.domain.com:8080/openatrium/ then of course it works. What am I missing to make portal.domain.com work properly?&lt;br /&gt;
&lt;br /&gt;
Thanks for any help!&lt;br /&gt;
&lt;/div&gt;</description><author>Bifur</author><pubDate>Fri, 22 Mar 2013 18:21:47 GMT</pubDate><guid isPermaLink="false">New Post: Reverse Proxy Pass - Not keeping port number 20130322062147P</guid></item><item><title>New Post: IIS logfile not showing rewritten URLs</title><link>http://iirf.codeplex.com/discussions/436602</link><description>&lt;div style="line-height: normal;"&gt;I am using Silverstripe CMS which is PHP based, and the rewriting is working fine using IIRF. The nice URLs are shown in the browser. However, when inspecting the IIS logfile, all the various pages are always shown as just:&lt;br /&gt;
/sapphire/main.php&lt;br /&gt;
&lt;br /&gt;
Is there a way to make IIS log the rewritten URLs instead? I need it because I am using AWSTATS to do statistics, and it reads from the IIS logfile. Currently AWSTATS is showing that all hits are on the URL /sapphire/main.php which is not really useful :-)&lt;br /&gt;
&lt;br /&gt;
Thanks for any help.&lt;br /&gt;
&lt;/div&gt;</description><author>cmosses</author><pubDate>Thu, 14 Mar 2013 10:53:00 GMT</pubDate><guid isPermaLink="false">New Post: IIS logfile not showing rewritten URLs 20130314105300A</guid></item><item><title>New Post: Permission problems with Application Pools</title><link>http://iirf.codeplex.com/discussions/34383</link><description>&lt;div style="line-height: normal;"&gt;sorry to open this very old post. does this still apply. Could you provide where you read it?&lt;br /&gt;
&lt;/div&gt;</description><author>leisurecoder</author><pubDate>Thu, 28 Feb 2013 20:48:24 GMT</pubDate><guid isPermaLink="false">New Post: Permission problems with Application Pools 20130228084824P</guid></item><item><title>New Post: A simple issue</title><link>http://iirf.codeplex.com/discussions/433801</link><description>&lt;div style="line-height: normal;"&gt;Hello,&lt;br /&gt;
&lt;br /&gt;
I need help on how to do this simple thing...&lt;br /&gt;
&lt;br /&gt;
I'm moving my domain from...&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.ukmotorhomehirerental.com" rel="nofollow"&gt;http://www.ukmotorhomehirerental.com&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
to &lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.leisurerentalsdirect.com" rel="nofollow"&gt;http://www.leisurerentalsdirect.com&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The site is big so i need to redirect the site on a page by page basis.&lt;br /&gt;
&lt;br /&gt;
I've tried this syntax&lt;br /&gt;
&lt;br /&gt;
RedirectRule ^/pages/contentPage.asp?QN=94$ &lt;a href="http://www.leisurerentalsdirect.com/pages/contentPage.asp?QN=94$" rel="nofollow"&gt;http://www.leisurerentalsdirect.com/pages/contentPage.asp?QN=94$&lt;/a&gt; [R=301]&lt;br /&gt;
&lt;br /&gt;
Is this syntax right? I've tested it on a live link in google and it does not redirect&lt;br /&gt;
&lt;br /&gt;
Can anybody help?&lt;br /&gt;
&lt;br /&gt;
Kind Regards&lt;br /&gt;
&lt;br /&gt;
James&lt;br /&gt;
&lt;/div&gt;</description><author>badapple</author><pubDate>Wed, 20 Feb 2013 13:19:21 GMT</pubDate><guid isPermaLink="false">New Post: A simple issue 20130220011921P</guid></item><item><title>New Post: rewrite rule problem</title><link>http://iirf.codeplex.com/discussions/433146</link><description>&lt;div style="line-height: normal;"&gt;ReadVdirConfig: C:\inetpub\wwwroot\cgi-bin\Iirf.ini(6): RewriteRule (rule 1)  '/cgi-bin/webtracker/(.*)'  '/cgi-bin/webtracker/cgimap.cgi$1'      [I]&lt;br /&gt;
&lt;br /&gt;
Thu Feb 14 14:26:25 -  4416 - DoRewrites: Url (decoded): '/cgi-bin/webtracker/?aScreen=fleet&amp;amp;aupdateuser=mmz&amp;amp;aupdatepass=mmz123'&lt;br /&gt;
Thu Feb 14 14:26:25 -  4416 - EvaluateRules: Iteration stopped; reached limit of 8 cycles.&lt;br /&gt;
Thu Feb 14 14:26:25 -  4416 - DoRewrites: Rewrite Url to: '/cgi-bin/webtracker/cgimap.cgicgimap.cgicgimap.cgicgimap.cgicgimap.cgicgimap.cgicgimap.cgicgimap.cgicgimap.cgi?aScreen=fleet&amp;amp;aupdateuser=mmz&amp;amp;aupdatepass=mmz123'&lt;br /&gt;
&lt;br /&gt;
Why this cgimap.cgi puts 8 iterations in this rule?&lt;br /&gt;
&lt;/div&gt;</description><author>opti2k4</author><pubDate>Thu, 14 Feb 2013 14:29:47 GMT</pubDate><guid isPermaLink="false">New Post: rewrite rule problem 20130214022947P</guid></item><item><title>New Post: Need to Remove .html extensions on IIS6 Server Web Site</title><link>http://iirf.codeplex.com/discussions/433014</link><description>&lt;div style="line-height: normal;"&gt;Dear all,&lt;br /&gt;
I have been charged with a task to have an existing (relatively small) website remove all the .html extensions off its URLs. This is part of an SEO optimization.&lt;br /&gt;
&lt;br /&gt;
My question is: Can IIRF do this efficiently/easily? And if so, can you point me in the right direction regarding a rule for the config file? I have very limited experience with IIRF and URL redirection in general. &lt;br /&gt;
&lt;br /&gt;
Thanks for any comments or suggestions.&lt;br /&gt;
--Rick&lt;br /&gt;
&lt;/div&gt;</description><author>RangerRik1</author><pubDate>Wed, 13 Feb 2013 19:47:36 GMT</pubDate><guid isPermaLink="false">New Post: Need to Remove .html extensions on IIS6 Server Web Site 20130213074736P</guid></item><item><title>New Post: Stop Hotlinking of a document</title><link>http://iirf.codeplex.com/discussions/432744</link><description>&lt;div style="line-height: normal;"&gt;Hi All&lt;br /&gt;
&lt;br /&gt;
New to this and need your help. I need to stop hotlinking of a document on a website hosted on a windows server 2003 IIS 6.0. I have tried .htaccess, free ISAPI, free Helicon etc. etc and I for the love of god can't figure it out. I'm new to scripting and would very much appreciate any help. &lt;br /&gt;
&lt;br /&gt;
I followed this guide but when I restarted IIS the ISAPI filter displayed status as not loaded and the arrow was red. I tried few times but same issue. &lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.mikewilson.cc/2008/11/09/tech-how-to-prevent-image-leeching-hot-linking-in-iis-60/

Please" rel="nofollow"&gt;http://www.mikewilson.cc/2008/11/09/tech-how-to-prevent-image-leeching-hot-linking-in-iis-60/

Please&lt;/a&gt; let me know if you need more information. Again it is for a pdf document and not an image but I believe it shouldn't make a difference. &lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
Vaneet&lt;br /&gt;
&lt;/div&gt;</description><author>vsingla</author><pubDate>Mon, 11 Feb 2013 19:48:03 GMT</pubDate><guid isPermaLink="false">New Post: Stop Hotlinking of a document 20130211074803P</guid></item><item><title>New Post: Unexpected behaviour: "duplicate rules" despite different RewriteCond</title><link>http://iirf.codeplex.com/discussions/431386</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I'm trying to use a single IIS website to configure redirects for multiple legacy websites, using the %{HTTP_HOST} variable to set RewriteConds that filter which set of rules to run.&lt;/p&gt;
&lt;p&gt;Here's an excerpt of the IIRF.ini file:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;RewriteEngine ON
StatusInquiry ON
IterationLimit 5

RewriteCond %{HTTP_HOST} test\.discovery\.nationalarchives\.gov\.uk [I]
RedirectRule ^.*$        http://www.nationalarchives.gov.uk/discovery/closed.asp  [I,R=302]

RewriteCond %{HTTP_HOST} test\.learningcurve\.pro\.gov\.uk [I]
RedirectRule ^/(?!robots\.txt$).*$        http://www.nationalarchives.gov.uk/education/  [I,R=301]
RewriteRule ^/robots\.txt$ /disallow-all-robots.txt [I,L]

RewriteCond %{HTTP_HOST} test\.hospitalrecords\.pro\.gov\.uk [I]
RedirectRule ^/(?!robots\.txt$).*$        http://www.nationalarchives.gov.uk/hospitalrecords/  [I,R=301]
RewriteRule ^/robots\.txt$ /disallow-all-robots.txt [I,L]

RewriteCond %{HTTP_HOST} test\.familyrecords\.gov\.uk [I]
RedirectRule ^/(?!robots\.txt$).*$        http://www.nationalarchives.gov.uk/frc/familyrecords.htm  [I,R=301]
RewriteRule ^/robots\.txt$ /disallow-all-robots.txt [I,L]

RewriteCond %{HTTP_HOST} test\.learningcurve\.gov\.uk [I]
RedirectRule ^/archivedgreatwar.*$    http://www.nationalarchives.gov.uk/education/greatwar/default.htm    [I,R=301]
RedirectRule ^/britain1906to1918(.*)$    http://www.nationalarchives.gov.uk/education/britain1906to1918$1    [I,R=301]
RedirectRule ^/.*$    http://www.nationalarchives.gov.uk/education/    [I,R=301]

RewriteCond %{HTTP_HOST} test\.pro\.gov\.uk [I]
RedirectRule ^/about/foi\.htm$    http://www.nationalarchives.gov.uk/foi/default.htm    [I,R=301]
RedirectRule ^/about/preservation/digital/collaboration\.htm$    http://www.nationalarchives.gov.uk/information-management/projects-and-work/research-collaboration.htm    [I,R=301]
RedirectRule ^/.*$    http://www.nationalarchives.gov.uk/default.htm    [I,R=301]

&lt;/pre&gt;
&lt;p&gt;According to the log, IIRF considers all but the first instance of &amp;quot;RewriteRule ^/robots\.txt$ /disallow-all-robots.txt [I,L]&amp;quot; as duplicates and ignores them.&amp;nbsp; However, each rule is subject to a different RewriteCond condition, so they aren't
 really duplicates if they were evaluated fully.&lt;/p&gt;
&lt;p&gt;Also, if I test the above configuration with the URL &amp;quot;test.pro.gov.uk&amp;quot;, the ^/.*$ rule for the test.learningcurve.gov.uk site is matched and executed without evaluating the associated RewriteCond condition.&lt;/p&gt;
&lt;p&gt;Am I trying to do something that is not possible with IIRF?&lt;/p&gt;
&lt;/div&gt;</description><author>milh0use</author><pubDate>Wed, 30 Jan 2013 10:59:49 GMT</pubDate><guid isPermaLink="false">New Post: Unexpected behaviour: "duplicate rules" despite different RewriteCond 20130130105949A</guid></item></channel></rss>