Problem with httpd.conf compared to .htaccess

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 1
Joined: 14 May 2013, 16:03

Problem with httpd.conf compared to .htaccess

14 May 2013, 16:20

I have a very simple rewrite url ( RewriteRule /mobile/all.html /page/oem_index.asp ) that works fine when I put it in the root config of the IIS Web Sites tab (httpd.conf), but I need to add different rules to different websites, so I go to the actual website rule, edit the .htaccess, insert the same rule ( RewriteRule /mobile/all.html /page/oem_index.asp ) and the page cannot be found. I assume that this has something to do with the folders on my web server, but I cannot figure it out. Any help would be great.

Thanks,

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: Problem with httpd.conf compared to .htaccess

16 May 2013, 05:00

The rule in .htaccess should be like this:

RewriteBase /
RewriteRule ^mobile/all\.html$ /page/oem_index.asp [NC,L]

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 21 guests