IIRF URL rewrite for Yii

Site has moved

This site has moved to a new location. Visit the new site at http://programsdream.nl.

By Ronald van Belzen | May 1, 2013

I have found only wrong answers to the question what to put in an iirf.ini file for an url rewrite for Yii in combination with IIS. The right answer is:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/.*$ /index.php [L,QSA]

I hope this saves someone a headache.