Installed and not working

Mar 31, 2011 at 11:33 AM
Edited Mar 31, 2011 at 11:46 AM

Hi,

New to the rewrite filter.  Have installed it on Windows Server 2003, mulitple sites and all seems to have been installed ok using the msi file.

I've created a a simple iirf.ini file

# ============================================
# IIRF ini file
# version 1.1
# 31/30/2011
# ============================================

StatusInquiry ON

#-----------------------------------------------------
# Incoming URL                      Expected Result
#-----------------------------------------------------
RewriteRule ^/ntag/(.*).html$  /news/details.php?newstag=$1 [I,L]

But it doesn't work at all (each part is seperate by a tab.), also tried RedirectRule and nothing.  I've also tried http://localhost/iirfStatus, and that doesn't work.  The installed directory has the relevant user permissions set.  There is also no errors in the event log.

Any help would be great

Coordinator
Apr 2, 2011 at 3:20 PM

Turn on the IIRF log file.

Also - see the "Verifying and Troubleshooting installation" page in the IIRF documentation. It walks you through a set of steps to troubleshoot these things. But the first step is to turn on IIRF logging. You need to make sure the status inquiry is working, as well.  Please be aware that with the directive you're using, the /iirfStatus will work only on localhost; it will not work from a remote machine.

Good luck.

Apr 4, 2011 at 9:20 AM

Thanks for getting back to me, got the logging switch on and there are no reported errors.  Tried looking at various things, but still cannot find a reason why this isn't working.  Posted is a copy of the log

Mon Apr 04 08:38:48 - 83340 - -------------------------------------------------------
Mon Apr 04 08:38:48 - 83340 - Ionic ISAPI Rewriting Filter (IIRF) 2.1.1.25 x86 RELEASE
Mon Apr 04 08:38:48 - 83340 - IIRF was built on: Jan  7 2011 07:30:24
Mon Apr 04 08:38:48 - 83340 - Cached: DLL_PROCESS_ATTACH
Mon Apr 04 08:38:48 - 83340 - Cached: Process ID: 85496
Mon Apr 04 08:38:48 - 83340 - Cached: ReadServerConfig: C:\Program Files\Ionic Shade\IIRF 2.1\IirfGlobal.ini(23): Filter Priority is now: HIGH (0x80000)
Mon Apr 04 08:38:48 - 83340 - Cached: ReadServerConfig: C:\Program Files\Ionic Shade\IIRF 2.1\IirfGlobal.ini(46): NotifyLog setting is now: OFF
Mon Apr 04 08:38:48 - 83340 - Cached: ReadServerConfig: C:\Program Files\Ionic Shade\IIRF 2.1\IirfGlobal.ini(63): RewriteEngine setting is now: ON
Mon Apr 04 08:38:48 - 83340 - Cached: ReadServerConfig: C:\Program Files\Ionic Shade\IIRF 2.1\IirfGlobal.ini(64): StatusInquiry setting is now: ON
Mon Apr 04 08:38:48 - 83340 - Cached: DLL_PROCESS_ATTACH - complete
Mon Apr 04 08:38:48 - 83340 - Cached: GetFilterVersion
Mon Apr 04 08:38:48 - 83340 - GetLogFile: app:'/LM/W3SVC/2127327566/Root'  new log:'d:\inetpub\wwwroot\logs.85496.log'
Mon Apr 04 08:38:48 - 83340 - ReadVdirConfig: actual log file 'd:\inetpub\wwwroot\logs.85496.log'
Mon Apr 04 08:38:48 - 83340 - ReadVdirConfig: ini file: 'D:\Inetpub\wwwroot\develop\rtccms\Iirf.ini'
Mon Apr 04 08:38:48 - 83340 - ReadVdirConfig: ini file timestamp: 2011/03/31 16:38:11 GMT Daylight Time
Mon Apr 04 08:38:48 - 83340 - ReadVdirConfig: cfg(0x01F56790)
Mon Apr 04 08:38:48 - 83340 - ReadVdirConfig: LogLevel = 3
Mon Apr 04 08:38:48 - 83340 - ReadVdirConfig: D:\Inetpub\wwwroot\develop\rtccms\Iirf.ini(7): RewriteEngine will be enabled.
Mon Apr 04 08:38:48 - 83340 - ReadVdirConfig: D:\Inetpub\wwwroot\develop\rtccms\Iirf.ini(9): StatusInquiry ON (--) (--)
Mon Apr 04 08:38:48 - 83340 - ReadVdirConfig: D:\Inetpub\wwwroot\develop\rtccms\Iirf.ini(9): IIRF Status Inquiry is enabled at path '/iirfStatus' for local requests only.
Mon Apr 04 08:38:48 - 83340 - ReadVdirConfig: D:\Inetpub\wwwroot\develop\rtccms\Iirf.ini(22): RewriteRule (rule 1)  '^/ntag/(.*).html$'  '/news/details.php?newstag=$1'      [I]
Mon Apr 04 08:38:48 - 83340 - ReadVdirConfig: Done reading INI for the root vdir, found 1 rules (0 errors, 0 warnings) on 24 lines
Mon Apr 04 08:38:48 - 83340 - HttpFilterProc: SF_NOTIFY_URL_MAP
Mon Apr 04 08:38:48 - 83340 - HttpFilterProc: cfg= 0x01F56790
Mon Apr 04 08:38:48 - 83340 - HttpFilterProc: SF_NOTIFY_AUTH_COMPLETE
Mon Apr 04 08:38:48 - 83340 - DoRewrites
Mon Apr 04 08:38:48 - 83340 - DoRewrites: Url (no decoding): 'http://webe.rtccms.rtc/'
Mon Apr 04 08:38:48 - 83340 - EvaluateRules: depth=0
Mon Apr 04 08:38:48 - 83340 - EvaluateRules: no RewriteBase
Mon Apr 04 08:38:48 - 83340 - EvaluateRules: Rule 1: -1 (No match)
Mon Apr 04 08:38:48 - 83340 - EvaluateRules: returning 0
Mon Apr 04 08:38:48 - 83340 - DoRewrites: No Rewrite
Mon Apr 04 08:38:48 - 83340 - HttpFilterProc: SF_NOTIFY_URL_MAP
Mon Apr 04 08:38:48 - 83340 - HttpFilterProc: cfg= 0x01F56790
Mon Apr 04 08:38:48 - 83340 - HttpFilterProc: SF_NOTIFY_URL_MAP
Mon Apr 04 08:38:48 - 83340 - HttpFilterProc: cfg= 0x01F56790
Mon Apr 04 08:38:49 - 83340 - HttpFilterProc: SF_NOTIFY_URL_MAP
Mon Apr 04 08:38:49 - 83340 - HttpFilterProc: cfg= 0x01F56790
Mon Apr 04 08:38:49 - 83340 - HttpFilterProc: SF_NOTIFY_URL_MAP
Mon Apr 04 08:38:49 - 83340 - HttpFilterProc: cfg= 0x01F56790
Mon Apr 04 08:38:49 - 83340 - HttpFilterProc: SF_NOTIFY_URL_MAP
Mon Apr 04 08:38:49 - 83340 - HttpFilterProc: cfg= 0x01F56790
Mon Apr 04 08:38:49 - 83340 - HttpFilterProc: SF_NOTIFY_URL_MAP
Mon Apr 04 08:38:49 - 83340 - HttpFilterProc: cfg= 0x01F56790
Mon Apr 04 08:38:49 - 83340 - HttpFilterProc: SF_NOTIFY_URL_MAP
Mon Apr 04 08:38:49 - 83340 - HttpFilterProc: cfg= 0x01F56790
Mon Apr 04 08:38:49 - 83340 - HttpFilterProc: SF_NOTIFY_URL_MAP
Mon Apr 04 08:38:49 - 83340 - HttpFilterProc: cfg= 0x01F56790
Mon Apr 04 08:38:49 - 84664 - HttpFilterProc: SF_NOTIFY_URL_MAP
Mon Apr 04 08:38:49 - 84664 - HttpFilterProc: cfg= 0x01F56790
Mon Apr 04 08:38:49 - 85240 - HttpFilterProc: SF_NOTIFY_URL_MAP
Mon Apr 04 08:38:49 - 85240 - HttpFilterProc: cfg= 0x01F56790
Mon Apr 04 08:38:49 -  4820 - HttpFilterProc: SF_NOTIFY_URL_MAP
Mon Apr 04 08:38:49 -  4820 - HttpFilterProc: cfg= 0x01F56790
Mon Apr 04 08:38:49 - 83340 - HttpFilterProc: SF_NOTIFY_AUTH_COMPLETE

Apr 4, 2011 at 9:24 AM

Think I've found the problem, but still not sure how to fix it.  The development server which this is begin tested on is accessed via a proxy, as I have to use something like webe.thewebsite.rtc, this is so we don't have to keep altering our DNS records.

Can someone point me in the right direction for working with proxies?

Many thanks

Apr 4, 2011 at 11:46 AM

Sorted