Redirecting to google

Topics: Developer Forum
Apr 28, 2010 at 4:35 PM

Hi there I am  new to IIRF  and using IIRF V2.X in my IIS and I am trying to achieve the following 


When i type .It should redirect me to Google .


Any help would be highly appreciated .





Apr 28, 2010 at 4:57 PM

Check the documentation on the RedirectRule directive!

There are lots of examples.  


Apr 28, 2010 at 8:02 PM
Thanks for your response Cheeso . Does the following sound sane : RewriteCond %{HTTP_HOST} ^(www\.)?servername\.domainname\.com$ # Check is the host is RewriteRule ^/(\\google)$ http:/ [R=301] #if URL is then redirect to
Apr 29, 2010 at 6:59 AM

looks fine, but you're missing a slash before .

what results did you see?


Apr 29, 2010 at 7:50 AM

Just got to work .Will try it and let you know .

Appreciate your help :)


Apr 29, 2010 at 10:12 AM

Hi Mate ,  this is how i ended up doing and it worked  . To make my test case simpler and isolate the problem I created a Test Website  which is part of a bigger project .Under the local ini file within the virtual folder in IIS  I am doing

RedirectRule  ^/TestIIRFV2/google$                                        So In my browser I type https://capella/TestIIRFV2/google(Capella is my Test Server ) .  Cheers!!! Thanks for your time so far :)

Apr 29, 2010 at 4:59 PM

Great!  I'm glad its working for you.


Apr 29, 2010 at 5:44 PM
Hi , Does the IirfGlobal.ini file support Logging ? During my tests , i see that only iirf.ini file does logging ,so just wondering ? Thanks Pankaj
Apr 29, 2010 at 6:05 PM

 the documentation for the IirfGlobal.ini file describes what is supported in that file.