need help to translate from isapi v.3 to v.2
2 posts
• Page 1 of 1
- bermaneyal
- Posts: 1
- Joined: 23 May 2013, 06:05
need help to translate from isapi v.3 to v.2
My new hosting dont support v.3 so i need to translate the htaccess to httpd.ini
this is my htaccess
this is my htaccess
- Code: Select all
# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.72
RewriteEngine on
RewriteBase /
RewriteCond %{HTTPS} (on)?
RewriteCond %{HTTP:Host} ^(?!www\.)(.+)$ [NC]
RewriteCond %{REQUEST_URI} (.+)
RewriteRule .? http(?%1s)://www.%2%3 [R=301,L]
RewriteMap map2 txt:mapfile2.txt [NC]
RewriteMap map-reverse2 txt:mapfile-reverse2.txt [NC]
RewriteCond %{QUERY_STRING} (.*)
RewriteCond /$1\?%1 (.*)
RewriteCond ${map2:%2|NOT_FOUND} (.*)
RewriteCond %3 !NOT_FOUND
RewriteRule (.*) /%3? [R=301,NC,L,NS]
RewriteCond ${map-reverse2:$1|NOT_FOUND} (.*)
RewriteCond %1 !NOT_FOUND
RewriteRule (.*) %1 [NC,L,NS]
Re: need help to translate from isapi v.3 to v.2
Hello,
The main problem is that v2 does not support map files, so there's no way to convert it except writing separate rules for each line in mapfile (which may be quite a lot).
So, please tell how many entries you have in your mapfiles and I'll tell you if having them all in separate rules won't hinder the performance.
The main problem is that v2 does not support map files, so there's no way to convert it except writing separate rules for each line in mapfile (which may be quite a lot).
So, please tell how many entries you have in your mapfiles and I'll tell you if having them all in separate rules won't hinder the performance.
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests