Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
IOS Hotels
and
IOS Rentals
online booking systems for Elxis CMS.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Installation
»
Help with enabling SEO PRO for IIS 5
« previous
next »
Print
Pages: [
1
]
Author
Topic: Help with enabling SEO PRO for IIS 5 (Read 6751 times)
xensome
Newbie
Posts: 2
Help with enabling SEO PRO for IIS 5
«
on:
June 10, 2009, 09:25:09 »
I installed Ionics Isapi Rewrite Filter as per installation instructions,but still get 'Page cannot be found' after enabling SEO PRO.
Installation readme says to place the settings file (IsapiRewrite4.ini) in the same directory as the DLL file(IsapiRewrite4.dll),but I don't quite understand which exactly ini file should I choose.There are a lot of them under 'test' subfolder(each one for it's own case).I guess it should be exactly for Elxis CMS but again I don't know which one.
Thanks a lot.
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Help with enabling SEO PRO for IIS 5
«
Reply #1 on:
June 10, 2009, 09:40:02 »
htaccess will not work on IIS. You need to have the same functionality for IIS with the ISAPI filter as you would do with htaccess and Apache.
IIS is a commercial web server and therefore not officially supported by Elxis. You should consider IIRF manual/help on how to set up URL rewrite.
Link:
http://www.codeplex.com/IIRF
Note this sample for Joomla, I think it will help you a lot:
http://iirf.codeplex.com/Wiki/View.aspx?title=Joomla
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
xensome
Newbie
Posts: 2
Re: Help with enabling SEO PRO for IIS 5
«
Reply #2 on:
June 11, 2009, 00:36:48 »
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
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Help with enabling SEO PRO for IIS 5
«
Reply #3 on:
June 11, 2009, 21:55:02 »
First make htaccess file smaller. Remove languages you dont need. If you have only one language published you can remove anything language related. Remove the Security rules in the bottom of the file. Remove comments. You will get a smaller and fully functional htaccess file. Then try to make a IIS version of that file.
Here is a sample:
RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING} !mylang=[english|greek]{2,}
RewriteRule ^([en]{2})/(.*)$ /index.php?mylang=english [QSA,L]
RewriteRule ^([el]{2})/(.*)$ /index.php?mylang=greek [QSA,L]
RewriteRule ^(administrator/|bridges/|cache/|components/|editor/|help/|images/|includes/|language/|mambots/|media/|modules/|templates/|tmpr/) - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
You can even use a tiny version like the one bellow to get started:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
«
Last Edit: June 11, 2009, 21:58:27 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Installation
»
Help with enabling SEO PRO for IIS 5