working / not working ?

Topics: Developer Forum, User Forum
Jan 22, 2010 at 3:02 AM

i've just did the manual install of 2.1.0.7 on iis6.  the automatic .msi install failed for me so i attempted the manual install.  i don't think it's working and am stuck with what to do next.

here's all the info i can give:

 



iirfglobal.ini:

RewriteLog  C:\WINDOWS\system32\inetsrv\IIRF\iirfLog.out
RewriteLogLevel 3

StatusUrl /iirfStatus


IIRF Status Report

IIRF Global Status

IIRF Version Ionic ISAPI Rewriting Filter (IIRF) 2.1.0.7 RELEASE
Built on Dec 18 2009 11:02:03
Filter DLL C:\WINDOWS\system32\inetsrv\IIRF\IIRF.dll 
Started 2010/01/21 21:55:55 Eastern Standard Time
Current time 2010/01/21 21:57:03 Eastern Standard Time
Server Ini file C:\WINDOWS\system32\inetsrv\IIRF\IirfGlobal.ini 
Last Update of Ini 2010/01/21 21:54:27 Eastern Standard Time 
  #Lines 6
  #Warnings 3
Rewrite Engine (all vdirs) ON

IIRF Vdir Status

APPL_MD_PATH /LM/W3SVC/1/ROOT
Ini file C:\Inetpub\wwwroot\Iirf.ini
Ini file timestamp (file not found)
  Last read 2010/01/21 21:56:38 Eastern Standard Time
  #Ini Modules 0
  #Lines 0
  #Rules 0
  #Warnings 0
  #Errors 0
Log file (none)
Log level 1
Rewrite Engine ON
Remote Status Inquiry disabled
URL Decoding ON
#Requests Processed 7


 

where do i go from here ?

thanks

 

Coordinator
Jan 24, 2010 at 6:23 PM

IIRF did not find an ini file at C:\Inetpub\wwwroot\Iirf.ini .

Normally you want to specify an ini file, and provide rules in it.  So I'd think that's the next step for you.

 

Jan 28, 2010 at 3:44 PM

I manually created a C:\Inetpub\wwwroot\Iirf.ini file and put the following in it:

----------------------------
RewriteLog c:\temp\iirf2
RewriteLogLevel 3

RewriteEngine on
RewriteRule ^link([^/]*).html$ rewrite.php?link=$1 [L]
----------------------------
i then restarteed IIS
----------------------------

my log file states the following:

Thu Jan 28 10:39:59 -  4432 - -------------------------------------------------------
Thu Jan 28 10:39:59 -  4432 - Ionic ISAPI Rewriting Filter (IIRF) 2.1.0.7 RELEASE
Thu Jan 28 10:39:59 -  4432 - IIRF was built on: Dec 18 2009 11:02:03
Thu Jan 28 10:39:59 -  4432 - Cached: DLL_PROCESS_ATTACH
Thu Jan 28 10:39:59 -  4432 - Cached: Process ID: 1612
Thu Jan 28 10:39:59 -  4432 - Cached: ReadServerConfig: WARNING: line 1: unrecognized directive, ignoring it: 'RewriteLog'
Thu Jan 28 10:39:59 -  4432 - Cached: ReadServerConfig: WARNING: line 2: unrecognized directive, ignoring it: 'RewriteLogLevel'
Thu Jan 28 10:39:59 -  4432 - Cached: ReadServerConfig: WARNING: line 4: unrecognized directive, ignoring it: 'StatusUrl'
Thu Jan 28 10:39:59 -  4432 - Cached: DLL_PROCESS_ATTACH - complete
Thu Jan 28 10:39:59 -  4432 - Cached: GetFilterVersion
Thu Jan 28 10:39:59 -  4432 - GetLogFile: app:'/LM/W3SVC/1/ROOT'  new log:'c:\temp\iirf2.1612.log'
Thu Jan 28 10:39:59 -  4432 - ReadVdirConfig: actual log file 'c:\temp\iirf2.1612.log'
Thu Jan 28 10:39:59 -  4432 - ReadVdirConfig: ini file: 'C:\Inetpub\wwwroot\Iirf.ini'
Thu Jan 28 10:39:59 -  4432 - ReadVdirConfig: timestamp: 2010/01/28 10:36:49 Eastern Standard Time
Thu Jan 28 10:39:59 -  4432 - ReadVdirConfig: cfg(0x012749B8)
Thu Jan 28 10:39:59 -  4432 - ReadVdirConfig: LogLevel = 3
Thu Jan 28 10:39:59 -  4432 - ReadVdirConfig: C:\Inetpub\wwwroot\Iirf.ini(4): Rewriting will be enabled.
Thu Jan 28 10:39:59 -  4432 - ReadVdirConfig: C:\Inetpub\wwwroot\Iirf.ini(5): RewriteRule (rule 1)  '^link([^/]*).html$'  'rewrite.php?link=$1'      [L]
Thu Jan 28 10:39:59 -  4432 - ReadVdirConfig: Done reading, found 1 rules (0 errors, 0 warnings) on 6 lines
Thu Jan 28 10:39:59 -  4432 - HttpFilterProc: SF_NOTIFY_URL_MAP
Thu Jan 28 10:39:59 -  4432 - HttpFilterProc: cfg= 0x012749B8
Thu Jan 28 10:39:59 -  4432 - HttpFilterProc: SF_NOTIFY_AUTH_COMPLETE
Thu Jan 28 10:39:59 -  4432 - DoRewrites
Thu Jan 28 10:39:59 -  4432 - DoRewrites: Url (no decoding): '/iirfstatus'
Thu Jan 28 10:39:59 -  4432 - EvaluateRules: depth=0
Thu Jan 28 10:39:59 -  4432 - HttpFilterProc: SF_NOTIFY_LOG
Thu Jan 28 10:40:23 -  4432 - HttpFilterProc: SF_NOTIFY_URL_MAP
Thu Jan 28 10:40:23 -  4432 - HttpFilterProc: cfg= 0x012749B8
Thu Jan 28 10:40:23 -  4432 - HttpFilterProc: SF_NOTIFY_AUTH_COMPLETE
Thu Jan 28 10:40:23 -  4432 - DoRewrites
Thu Jan 28 10:40:23 -  4432 - DoRewrites: Url (no decoding): '/iirfstatus'
Thu Jan 28 10:40:23 -  4432 - EvaluateRules: depth=0
Thu Jan 28 10:40:23 -  4432 - HttpFilterProc: SF_NOTIFY_LOG
Thu Jan 28 10:40:25 -  4432 - HttpFilterProc: SF_NOTIFY_URL_MAP
Thu Jan 28 10:40:25 -  4432 - HttpFilterProc: cfg= 0x012749B8
Thu Jan 28 10:40:25 -  4432 - HttpFilterProc: SF_NOTIFY_AUTH_COMPLETE
Thu Jan 28 10:40:25 -  4432 - DoRewrites
Thu Jan 28 10:40:25 -  4432 - DoRewrites: Url (no decoding): '/iirfstatus'
Thu Jan 28 10:40:25 -  4432 - EvaluateRules: depth=0
Thu Jan 28 10:40:25 -  4432 - HttpFilterProc: SF_NOTIFY_LOG

and the status page says:

IIRF Status Report

IIRF Global Status

IIRF Version Ionic ISAPI Rewriting Filter (IIRF) 2.1.0.7 RELEASE
Built on Dec 18 2009 11:02:03
Filter DLL C:\WINDOWS\system32\inetsrv\IIRF\IIRF.dll 
Started 2010/01/28 10:39:59 Eastern Standard Time
Current time 2010/01/28 10:40:25 Eastern Standard Time
Server Ini file C:\WINDOWS\system32\inetsrv\IIRF\IirfGlobal.ini 
Last Update of Ini 2010/01/21 21:54:27 Eastern Standard Time 
  #Lines 6
  #Warnings 3
Rewrite Engine (all vdirs) ON

IIRF Vdir Status

APPL_MD_PATH /LM/W3SVC/1/ROOT
Ini file C:\Inetpub\wwwroot\Iirf.ini
Ini file timestamp 2010/01/28 10:36:49 Eastern Standard Time
  Last read 2010/01/28 10:39:59 Eastern Standard Time
  #Ini Modules 1
  #Lines 6
  #Rules 1
  #Warnings 0
  #Errors 0
Log file c:\temp\iirf2.1612.log
Log level 3
Rewrite Engine ON
Remote Status Inquiry disabled
URL Decoding ON
#Requests Processed 3

 

 

Coordinator
Jan 29, 2010 at 3:27 AM

It all looks good.

What's the problem?