Service Unavailable

May 19, 2008 at 5:34 PM
Hello,

I am on iis6 win2k3

when i browse a website with the following ini

{-------------------------------------------------
# IsapiRewrite4.ini

#cellis RewriteLog  c:\temp\iirfLog.out
RewriteLog c:\Documents and Settings\cellis\Desktop\IIRFlog\iirfLog.out
RewriteLogLevel 3

MaxMatchCount 10

# empty URL gets mapped to "index1.html" 
#cellis RewriteRule  ^/$                      /index1.html

RewriteRule  ^/$                      /default.aspx

IterationLimit 10

}------------------------------------------------


i get a blank page except for Service Unavailable

 any ideas? thanks!
Sep 24, 2008 at 4:01 PM
Hi there,

Did you solve your problem? It happens to me also.

If not, I have the following errors in event viewer (in case that helps someone to help us)

Faulting application w3wp.exe, version 6.0.3790.3959, stamp 45d6968e, faulting module isapirewrite4.dll, version 0.0.0.0, stamp 4484391a, debug? 0, fault address 0x00003388.

Faulting application w3wp.exe, version 6.0.3790.3959, faulting module IsapiRewrite4.dll, version 0.0.0.0, fault address 0x00003388.

Thanks!

Coordinator
Oct 1, 2008 at 11:15 PM

I am using v1.2.15a.  I used your ini file, sent in the "empty" URL to the server.  And it worked.
This is what I got:

--------------------------------------------
Wed Oct 01 15:10:03 2008 - ReadConfig: setting LogLevel to 4
Wed Oct 01 15:10:03 2008 - ReadConfig: line  34: RewriteRule   1 ^/$                                            /default.aspx                                (null)
Wed Oct 01 15:10:03 2008 - ReadConfig: not a duplicate rule...
Wed Oct 01 15:10:03 2008 - ReadConfig: Iteration Limit= 10
Wed Oct 01 15:10:03 2008 - ReadConfig: Done reading, found 1 rules (0 failed) on 148 lines
Wed Oct 01 15:10:03 2008 - Initialize: Ionic ISAPI Rewriting Filter (IIRF) v1.2.15a
Wed Oct 01 15:10:03 2008 - Initialize: config file 'c:\windows\system32\inetsrv\IIRF\IsapiRewrite4.ini'
Wed Oct 01 15:10:03 2008 - Initialize: main threadId= 4268
Wed Oct 01 15:10:03 2008 - Initialize: File watcher thread created.
Wed Oct 01 15:10:03 2008 - GetFilterVersion
Wed Oct 01 15:10:03 2008 - FileChangeWatcher(): Enter, threadId=5516...
Wed Oct 01 15:10:03 2008 - FileChangeWatcher: Await()...
Wed Oct 01 15:10:03 2008 - DllMain THREAD_DETACH, threadId= 5588
Wed Oct 01 15:10:33 2008 - DllMain THREAD_DETACH, threadId= 6116
Wed Oct 01 15:10:33 2008 - DllMain THREAD_DETACH, threadId= 2704
Wed Oct 01 15:10:55 2008 - HttpFilterProc: SF_NOTIFY_URL_MAP
Wed Oct 01 15:10:55 2008 - OnUrlMap: storing physical path (C:\Inetpub\wwwroot\), in ptr (0x000b2000)
Wed Oct 01 15:10:55 2008 - HttpFilterProc: SF_NOTIFY_AUTH_COMPLETE
Wed Oct 01 15:10:55 2008 - DoRewrites
Wed Oct 01 15:10:55 2008 - GetServerVariable_AutoFree - no joy (likely reason: server var not set yet) (GetLastError()=1413)
Wed Oct 01 15:10:55 2008 - GetHeader_AutoFree: 2 bytes
Wed Oct 01 15:10:55 2008 - GetHeader_AutoFree: result '/'
Wed Oct 01 15:10:55 2008 - GetHeader_AutoFree: 4 bytes
Wed Oct 01 15:10:55 2008 - GetHeader_AutoFree: result 'GET'
Wed Oct 01 15:10:55 2008 - DoRewrites: New Url: '/'
Wed Oct 01 15:10:55 2008 - ApplyRules: depth=0
Wed Oct 01 15:10:55 2008 - ApplyRules: Rule 1 : 1 matches
Wed Oct 01 15:10:55 2008 - ReplaceServerVariables: InputString='/default.aspx' out='/default.aspx'
Wed Oct 01 15:10:55 2008 - GenerateReplacementString: src='/','(null)' ReplacePattern='/default.aspx' vec=[[  [  0, 1] [] ] counts=1,0
Wed Oct 01 15:10:55 2008 - ApplyCaseConversion: before '/default.aspx'
Wed Oct 01 15:10:55 2008 - ApplyCaseConversion: after  '/default.aspx'
Wed Oct 01 15:10:55 2008 - GenerateReplacementString: result '/default.aspx'
Wed Oct 01 15:10:55 2008 - ApplyRules: Result (length 13): /default.aspx
Wed Oct 01 15:10:55 2008 - ApplyRules: depth=1
Wed Oct 01 15:10:55 2008 - ApplyRules: Rule 1 : -1 (No match)
Wed Oct 01 15:10:55 2008 - ApplyRules: returning 0
Wed Oct 01 15:10:55 2008 - ApplyRules: returning 1
Wed Oct 01 15:10:55 2008 - DoRewrites: Rewrite Url to: '/default.aspx'
Wed Oct 01 15:10:55 2008 - HttpFilterProc: SF_NOTIFY_URL_MAP
Wed Oct 01 15:10:55 2008 - OnUrlMap: storing physical path (C:\Inetpub\wwwroot\default.aspx), in ptr (0x001187f8)

what do you mean when you say, "when i browse a website ". What URL, specifically, doesn't work?  And what does it DO (beyond "service unavailable")? Can I see the logfile?

What version of the filter are you using?