Ini settings are not applied

Topics: User Forum
Dec 23, 2010 at 4:31 PM
Edited Dec 23, 2010 at 4:32 PM

Hi guys, im very newbie in this thing of iirf....

Ive configured the iirf to run on my windows 2003 server and iis shows the dll as loaded, but my irf global settings dont seem to apply to the site.

iv put the dll and the Iirfglobal.ini under the system32\rewrite\ and gave all the permissions to the files.

and this is what the ini has written:

RewriteRule ^/([^/]+)/([^/]+)/$  /property_det.php?id=$1&property=$2

basicaly i need something like http://sitedomain/356/BigVilla

but for some reason its gaving me 404 error...


can u please help? thanks

Dec 23, 2010 at 7:58 PM

yes - did you try the stuff described on the "troubleshooting and verifying installation" page in the documentation?  IIRF log file, Windows event log, etc.

What were the results? 


Dec 24, 2010 at 12:48 PM

thanks for your reply.

well i have nothing on the system log and iirf log doesnt get created at all...

on iis i have applied the isapi filter only to one site not to all "web Sites" and show us as loaded.

when i try to set statusinquiry like i show bellow:

StatusInquiry ON

RewriteRule ^/([^/]+)/([^/]+)/$  /property_det.php?id=$1&property=$2

(This is my ini)

and then access the site wich iv applied the isapi but i get a  404 page.

what can you guys suggest?

Many Thanks

Dec 24, 2010 at 5:35 PM

iirf is not installed on "all websites" - ok. 

But which website is ?  Is IIRF installed on that website?   Usually the different sites get different prefixes - so if you have site1, site2, and site3, they would be accessible at and so on.    If you then install IIRF on site2 ONLY, you could check the status by visiting .   If IIRF is not installed on the root site (or on all sites), then I would expect to return a 404.

Does this help?


Dec 27, 2010 at 12:50 PM

Cheeso thanks for all the replies,

here is the deal,

 the site that i want to apply iirf to is

so in iis i have this site created and i have applied the iirf filter to it wich loads and shows green up arrow, but when i try to access something like is does not seem to work and if i try it doesnt work as well and get a 404 page... so i dont know, am i doing something wrong?


Dec 29, 2010 at 10:08 AM

yes, I guess you are doing something wrong.  The question is... what is the wrong thing?

If you are getting "it does not seem to work" type behavior, then the first thing you need to do is examine the IIRF log.  This will tell you whether IIRF is handling the request at all.  If you see messages in the iirf log for the /225/BigVilla url request, then you know IIRF has received it, and the "it does not seem to work" is likely due to an incorrect set of rewrite rules in the IIRF.ini file.   To resolve it, correct your rules.  As for *how* to correct your rules, that is a different topic, which we can cover if you get that far.

If you see no log messages for the /225/BigVilla url request, it indicates that IIRF did not even receive the request.  To resolve this, check your IIRF installation and configuration again.  You need to verify that IIRF.ini is readable by the appropriate Windows identity.   That IIRF is installed on the proper website.  That you have an IIrfGlobal.ini set up with the proper settings, as appropriate. 

This stuff and more is covered in the "verifying and troubleshooting installation" page in the documentation.

You definitely want to get the /iirfStatus working *FIRST*, before going on to bigger and better things...  Getting /iirfstatus to work is a good verification that everything is happy. If you cannot get that working, then trying to get rewrites of /225/BigVilla is probably not a fruitful effort.