Problem with httpd.conf compared to .htaccess
2 posts
• Page 1 of 1
Problem with httpd.conf compared to .htaccess
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,
Thanks,
Re: Problem with httpd.conf compared to .htaccess
The rule in .htaccess should be like this:
RewriteBase /
RewriteRule ^mobile/all\.html$ /page/oem_index.asp [NC,L]
RewriteBase /
RewriteRule ^mobile/all\.html$ /page/oem_index.asp [NC,L]
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 21 guests