In my experience there are two scenarios with Joomla, each needing slightly different configurations

The first configuration I mentioned is for using SEF function which is built in Joomla 1.0. (And sh404SEF is NOT installed)
Configuration : site >> Global Configuration >> SEO

#=========================================================================
#This is final version of IIRF ini for standard SEF in Joomla!

#Make the following 0 in to turn debugging and logging completely off
RewriteLogLevel 2

#Write the absolute path of your output log file here 
RewriteLog G:\IIRFLog\IIRfLogfile

MaxMatchCount 10

RewriteCond %{HTTP_URL} (/|\.htm|\.php|\.html|/[^.]*)$  
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/$ /index.php

RewriteRule ^/content/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/ /index.php?option=com_content&task=$1&id=$2&Itemid=$3&limit=$4&limitstart=$5
RewriteRule ^/content/([^/]+)/([^/]+)/([^/]+)/ /index.php?option=com_content&task=$1&id=$2&Itemid=$3
RewriteRule ^/component/option,([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+)/([^/]+),([^/]+) /index.php?option=$1&$2=$3&$4=$5&$6=$7
RewriteRule ^/component/option,([^/]+)/([^/]+),([^/]+)/ /index.php?option=$1&$2=$3

#===========================================================================================



The second configuration is applicable where sh404SEF is installed (and set to use .htaccess in advanced settings).
Configuration: Components >> click for advance mode >> sh404SEF Configuration >> Main Tab >> Enabled:Yes >>
Advanced tab >> Rewriting mode:With .htaccess (mod_rewrite)
(Please note that when using sh404SEF the default SEF component must be enabled)

#===========================================================================================
# This is the config for standard Joomla with sh404SEF

RewriteLogLevel 2
RewriteLog C:\IIRFLog\IIRfLog

MaxMatchCount 10

RewriteCond %{HTTP_URL} (/|\.htm|\.php|\.html|/[^.]*)$  
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /index.php [U,L]
#===========================================================================================


When using IIS and IIRF, the .htaccess file is NOT used. That file works only with the Apache http server, and does not work with IIS or IIRF. When using IIS and IIRF, the IIRF.ini takes the role of .htacess (for the purposes of rewrite rules).
So if you use Ionics Rewrite Filter on IIS with Joomla, JUST DELETE THE .htaccess FILE.

Please visit my site to see it in action - http://www.indianexpats.org
If someone need help please PM me, I am still not an expert but for setting this up on IIS I can offer some help.
Regards
Ryogi.

Last edited Dec 14, 2010 at 2:32 PM by Cheeso, version 3

Comments

hgpestana Sep 8, 2009 at 12:27 PM 
Hey all,

I've been fiddling with IIS + IIRF + Joomla 1.5.x and I've done some changes in order to make it work with Remository + Joomla Profile Editing. I've followed this thread plus the IONICS tutorials plus joomdocs -> http://docs.joomla.org/SEO_and_IIS_ISAPI <- and I've reached the following code. Could anyone check it out, plz, since I'm a newbie on this stuff. Thanks.


#===========================================================================================
# This is the config for standard Joomla with sh404SEF

IterationLimit 10

RewriteLogLevel 4 #Make it 0 in to turn debugging off
RewriteLog c:\IIRFLog\IIRFLog

MaxMatchCount 10

# don't rewrite any request that goes to administrator
RewriteRule ^/administrator - [L]

RewriteCond %{HTTP_URL} ^/(.+)\?chk(.*)$ [OR] # Remository
RewriteCond %{HTTP_URL} ^/(.+)\?(.*)$ [OR] # Joomla User Profile Editing
RewriteCond %{HTTP_URL} (/|\.htm|\.php|\.html|!administrator|/[^.]*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /index.php [U,L]
#===========================================================================================