ISAPI Rewrite 3.0 to APE (IIS7)

Helicon Ape provides support for Apache .htacces and .htpasswd configuration files for Microsoft IIS.
User avatar
Posts: 1
Joined: 30 Jun 2012, 12:35

ISAPI Rewrite 3.0 to APE (IIS7)

30 Jun 2012, 12:39

Can you assist me in making the following work.
# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.78
# Registration info
RegistrationName= P?????? M??????
RegistrationCode= J????-H????-7????-2????

#RewriteBase /

RewriteCond %{HTTP_HOST} ^www\.sribids\.com$ [NC]
RewriteRule (.*) /sribids$1 [L]

RewriteCond %{HTTP_HOST} ^sribids\.com$ [NC]
RewriteRule (.*) /sribids$1 [L]

RewriteCond %{HTTP:Host} ^(?!(?:www\.|\d|localhost))(.+)$ [NC]

RepeatLimit 32

# Block external access to the httpd.ini and httpd.parse.errors files
RewriteRule /httpd(?:\.ini|\.parse\.errors).* / [F,I,O]
# Block external access to the Helper ISAPI Extension
RewriteRule .*\.isrwhlp / [F,I,O]
RewriteCond %HTTPS off

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: ISAPI Rewrite 3.0 to APE (IIS7)

02 Jul 2012, 06:46

Hello,

Well, the last block is definitely unnecessary. It's been included by default in program:

Code: Select all
# Block external access to the httpd.ini and httpd.parse.errors files
RewriteRule /httpd(?:\.ini|\.parse\.errors).* / [F,I,O]
# Block external access to the Helper ISAPI Extension
RewriteRule .*\.isrwhlp / [F,I,O]


You should also start any config file with:

Code: Select all
RewriteEngine on

Also, you might need to uncomment "RewriteBase /"

In case these suggestions don't work, please, provide error.log and rewrite.log for the testing request.
The lines for enabling logging are already in httpd.conf, all you need is to uncomment them.

Regards
Andrew

User avatar
Posts: 3
Joined: 17 Aug 2012, 06:23

Re: ISAPI Rewrite 3.0 to APE (IIS7)

17 Aug 2012, 06:31

If you have ISAPI_Rewrite3 (Ape) and Coldfusion installed on your server, you may encounter issues with requests to .cfm resources. The problem lies in handler mappings configuration. To resolve it, any handler mappings for *.cfm extension should be mapped to 1\jrun_iis6_wildcard.dll executable (instead of run_iis6.dll).

Return to Helicon Ape

Who is online

Users browsing this forum: No registered users and 28 guests