tags:

views:

7

answers:

1

Hi, how does one convert IIS Rewrite rules back to Apache/HTAccess rewrite rules?

I'm looking at converting this:

<rule name="SEO">
     <match url="^([^/]+/)*([^/]+)\.(\d+)$" ignoreCase="false" />
     <action type="Rewrite" url="index.php?id={R:3}" appendQueryString="false" />
</rule>

Thanks in advanced!

A: 

Ok, here it is:

RewriteRule ([^/]+/)*([^/]+)\.(\d+)$ index.php?id=$3
Shamil