The syntax of .htaccess and IsapiRewrite4.ini looks quite similar,so I tried to copy/paste default .htaccess that came with elxis into IsapiRewrite4.ini but it doesn't seem to work.See log below.
Can somebody help me out to convert .htaccess into IsapiRewrite4.ini ?
Thanks for all your help.
--------------------------------------------
Wed Jun 10 14:52:35 - 5500 - ReadConfig: setting LogLevel to 2
Wed Jun 10 14:52:35 - 5500 - ReadConfig: WARNING: line 5: Ignoring line: 'RewriteEngine'
Wed Jun 10 14:52:35 - 5500 - ReadConfig: WARNING: line 7: Ignoring line: 'RewriteBase'
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 9: RewriteCond %{QUERY_STRING} !mylang=[arabic|armenian|bosnian|creole|croatian|danish|dutch|english|french|german|greek|hebrew|indonesian|italian|japanese|latvian|lithuanian|persian|polish|romanian|russian|serbian|spanish|srpski|turkish|vietnamese]{2,}
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 19: RewriteRule (rule 1) '^([en]{2})/(.*)$' '/index.php?mylang=english' [QSA,L]
Wed Jun 10 14:52:35 - 5500 - WARNING: unsupported modifier flag 'QSA' on RewriteRule
Wed Jun 10 14:52:35 - 5500 - ReadConfig: ERROR: line 19: invalid modifiers, Ignoring that rule.
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 20: RewriteRule (rule 1) '^([fr]{2})/(.*)$' '/index.php?mylang=french' [QSA,L]
Wed Jun 10 14:52:35 - 5500 - WARNING: unsupported modifier flag 'QSA' on RewriteRule
Wed Jun 10 14:52:35 - 5500 - ReadConfig: ERROR: line 20: invalid modifiers, Ignoring that rule.
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 21: RewriteRule (rule 1) '^([de]{2})/(.*)$' '/index.php?mylang=german' [QSA,L]
Wed Jun 10 14:52:35 - 5500 - WARNING: unsupported modifier flag 'QSA' on RewriteRule
Wed Jun 10 14:52:35 - 5500 - ReadConfig: ERROR: line 21: invalid modifiers, Ignoring that rule.
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 22: RewriteRule (rule 1) '^([el]{2})/(.*)$' '/index.php?mylang=greek' [QSA,L]
Wed Jun 10 14:52:35 - 5500 - WARNING: unsupported modifier flag 'QSA' on RewriteRule
Wed Jun 10 14:52:35 - 5500 - ReadConfig: ERROR: line 22: invalid modifiers, Ignoring that rule.
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 23: RewriteRule (rule 1) '^([he]{2})/(.*)$' '/index.php?mylang=hebrew' [QSA,L]
Wed Jun 10 14:52:35 - 5500 - WARNING: unsupported modifier flag 'QSA' on RewriteRule
Wed Jun 10 14:52:35 - 5500 - ReadConfig: ERROR: line 23: invalid modifiers, Ignoring that rule.
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 24: RewriteRule (rule 1) '^([id]{2})/(.*)$' '/index.php?mylang=indonesian' [QSA,L]
Wed Jun 10 14:52:35 - 5500 - WARNING: unsupported modifier flag 'QSA' on RewriteRule
Wed Jun 10 14:52:35 - 5500 - ReadConfig: ERROR: line 24: invalid modifiers, Ignoring that rule.
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 25: RewriteRule (rule 1) '^([it]{2})/(.*)$' '/index.php?mylang=italian' [QSA,L]
Wed Jun 10 14:52:35 - 5500 - WARNING: unsupported modifier flag 'QSA' on RewriteRule
Wed Jun 10 14:52:35 - 5500 - ReadConfig: ERROR: line 25: invalid modifiers, Ignoring that rule.
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 26: RewriteRule (rule 1) '^([ja]{2})/(.*)$' '/index.php?mylang=japanese' [QSA,L]
Wed Jun 10 14:52:35 - 5500 - WARNING: unsupported modifier flag 'QSA' on RewriteRule
Wed Jun 10 14:52:35 - 5500 - ReadConfig: ERROR: line 26: invalid modifiers, Ignoring that rule.
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 27: RewriteRule (rule 1) '^([lv]{2})/(.*)$' '/index.php?mylang=latvian' [QSA,L]
Wed Jun 10 14:52:35 - 5500 - WARNING: unsupported modifier flag 'QSA' on RewriteRule
Wed Jun 10 14:52:35 - 5500 - ReadConfig: ERROR: line 27: invalid modifiers, Ignoring that rule.
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 28: RewriteRule (rule 1) '^([lt]{2})/(.*)$' '/index.php?mylang=lithuanian' [QSA,L]
Wed Jun 10 14:52:35 - 5500 - WARNING: unsupported modifier flag 'QSA' on RewriteRule
Wed Jun 10 14:52:35 - 5500 - ReadConfig: ERROR: line 28: invalid modifiers, Ignoring that rule.
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 29: RewriteRule (rule 1) '^([fa]{2})/(.*)$' '/index.php?mylang=persian' [QSA,L]
Wed Jun 10 14:52:35 - 5500 - WARNING: unsupported modifier flag 'QSA' on RewriteRule
Wed Jun 10 14:52:35 - 5500 - ReadConfig: ERROR: line 29: invalid modifiers, Ignoring that rule.
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 30: RewriteRule (rule 1) '^([pl]{2})/(.*)$' '/index.php?mylang=polish' [QSA,L]
Wed Jun 10 14:52:35 - 5500 - WARNING: unsupported modifier flag 'QSA' on RewriteRule
Wed Jun 10 14:52:35 - 5500 - ReadConfig: ERROR: line 30: invalid modifiers, Ignoring that rule.
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 31: RewriteRule (rule 1) '^([ro]{2})/(.*)$' '/index.php?mylang=romanian' [QSA,L]
Wed Jun 10 14:52:35 - 5500 - WARNING: unsupported modifier flag 'QSA' on RewriteRule
Wed Jun 10 14:52:35 - 5500 - ReadConfig: ERROR: line 31: invalid modifiers, Ignoring that rule.
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 32: RewriteRule (rule 1) '^([ru]{2})/(.*)$' '/index.php?mylang=russian' [QSA,L]
Wed Jun 10 14:52:35 - 5500 - WARNING: unsupported modifier flag 'QSA' on RewriteRule
Wed Jun 10 14:52:35 - 5500 - ReadConfig: ERROR: line 32: invalid modifiers, Ignoring that rule.
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 33: RewriteRule (rule 1) '^(sr)/(.*)$' '/index.php?mylang=serbian' [QSA,L]
Wed Jun 10 14:52:35 - 5500 - WARNING: unsupported modifier flag 'QSA' on RewriteRule
Wed Jun 10 14:52:35 - 5500 - ReadConfig: ERROR: line 33: invalid modifiers, Ignoring that rule.
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 34: RewriteRule (rule 1) '^([es]{2})/(.*)$' '/index.php?mylang=spanish' [QSA,L]
Wed Jun 10 14:52:35 - 5500 - WARNING: unsupported modifier flag 'QSA' on RewriteRule
Wed Jun 10 14:52:35 - 5500 - ReadConfig: ERROR: line 34: invalid modifiers, Ignoring that rule.
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 35: RewriteRule (rule 1) '^(rs)/(.*)$' '/index.php?mylang=srpski' [QSA,L]
Wed Jun 10 14:52:35 - 5500 - WARNING: unsupported modifier flag 'QSA' on RewriteRule
Wed Jun 10 14:52:35 - 5500 - ReadConfig: ERROR: line 35: invalid modifiers, Ignoring that rule.
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 36: RewriteRule (rule 1) '^({2})/(.*)$' '/index.php?mylang=turkish' [QSA,L]
Wed Jun 10 14:52:35 - 5500 - WARNING: unsupported modifier flag 'QSA' on RewriteRule
Wed Jun 10 14:52:35 - 5500 - ReadConfig: ERROR: line 36: invalid modifiers, Ignoring that rule.
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 37: RewriteRule (rule 1) '^([vi]{2})/(.*)$' '/index.php?mylang=vietnamese' [QSA,L]
Wed Jun 10 14:52:35 - 5500 - WARNING: unsupported modifier flag 'QSA' on RewriteRule
Wed Jun 10 14:52:35 - 5500 - ReadConfig: ERROR: line 37: invalid modifiers, Ignoring that rule.
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 39: RewriteRule (rule 1) '^(administrator/|bridges/|cache/|components/|editor/|help/|images/|includes/|language/|mambots/|media/|modules/|templates/|tmpr/)' '-' [L]
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 41: RewriteCond %{REQUEST_FILENAME} !-f
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 42: RewriteCond %{REQUEST_FILENAME} !-d
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 43: RewriteRule (rule 2) '^(.*)' 'index.php' (null)
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 45: RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D)
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 46: RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E)
Wed Jun 10 14:52:35 - 5500 - WARNING: unsupported RewriteCond modifier flag 'NC'
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 47: RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2})
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 48: RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
Wed Jun 10 14:52:35 - 5500 - ReadConfig: line 49: RewriteRule (rule 3) '^(.*)$' 'index.php' [F,L]
Wed Jun 10 14:52:35 - 5500 - WARNING: Redundant modifier flags - F,L
Wed Jun 10 14:52:35 - 5500 - ReadConfig: ERROR: line 49: invalid modifiers, Ignoring that rule.
Wed Jun 10 14:52:35 - 5500 - ReadConfig: Done reading, found 2 rules (27 errors, 3 warnings) on 50 lines
--------------------------------------------
Wed Jun 10 14:52:35 - 5500 - Initialize: Ionic ISAPI Rewriting Filter (IIRF) v1.2.15 final R3
Wed Jun 10 14:52:35 - 5500 - Initialize: config file 'C:\WINDOWS\system32\inetsrv\IIRF\IsapiRewrite4.ini'
Wed Jun 10 14:52:35 - 5500 - Initialize: File watcher thread created.
Wed Jun 10 14:52:35 - 5500 - GetFilterVersion
Wed Jun 10 14:52:35 - 2960 - DllMain THREAD_DETACH
Wed Jun 10 14:52:35 - 4012 - DllMain THREAD_DETACH
Wed Jun 10 14:52:35 - 5660 - DllMain THREAD_DETACH
Wed Jun 10 14:52:35 - 4420 - DllMain THREAD_DETACH
Wed Jun 10 14:53:06 - 2924 - DllMain THREAD_DETACH