|Posted: 07 February 2012 at 6:05am
I have just moved my site from apache with mod_rewrite to IIS6 with isapi_rewrite v.2.
I have the following urls:
I want all URL's to be redirected to:
which will check if the unique-name is a category, product, article etc.
The rules I used for mod_rewrite was
RewriteRule !\.(gif|jpg|png|css)$ index.php
For isapi_rewrite I use the following rules:
RewriteRule (.*/nyf.*) /nyf/index.php/$1 [L]
My problem is that css and images disappears. If I right click on a image and press properties I can see the href of the image. Fx.
I have checked and the image exists on that specific path, but the image is not shown on the page. Why is that? And how can I change my rules so it will show the pictures?
Thank you very much in advance.