ISAPI_Rewrite3 Problem

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 3
Joined: 09 Jan 2014, 07:16

ISAPI_Rewrite3 Problem

09 Jan 2014, 07:20

Hello,

ISAPI_Rewrite3 doen't work for me.
I want redirect impressum.php to impressum.html with:

RewriteEngine on

RewriteBase /

RewriteRule impressum\.(?:php)$ /impressum.html [NC,R=301,L]

But he do nothing and in the error.log I found this:

ISAPI Filter loaded. Version 3.1.0.104. Windows 6.1 (Build 7601 ServicePack:1) ProductType SERVER. CPU type INTEL NumberOfProcessors 24.


Can someone help me?

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

Re: ISAPI_Rewrite3 Problem

09 Jan 2014, 08:19

Hello,

The rule looks good.
Please, provide the rewrite.log for the testing request. Logging issues are described here - http://www.helicontech.com/forum/10648-FAQ.html

Regards
Andrew

User avatar
Posts: 3
Joined: 09 Jan 2014, 07:16

Re: ISAPI_Rewrite3 Problem

10 Jan 2014, 05:33

rewrite.log is empty :/


"2. Put the following rule into httpd.conf file:
Code:
RewriteRule .? - [F]

Make any request to the site.
If the response is "403 Forbidden", ISAPI_Rewrite works OK. "

do nothing by me. Maybe ISAPI_Rewrite3 is not loaded?

rewrite.png
rewrite.png (19.76 KiB) Viewed 4741 times

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

Re: ISAPI_Rewrite3 Problem

10 Jan 2014, 08:04

a. What is your IIS version? in the first post you said "Windows 6.1 (Build 7601 ServicePack:1)", which is strange.
b. Try to change the permissions according to the following documentation: http://www.helicontech.com/isapi_rewrit ... curity.htm

Regards
Andrew

User avatar
Posts: 3
Joined: 09 Jan 2014, 07:16

Re: ISAPI_Rewrite3 Problem

11 Jan 2014, 11:17

Youre Errorlog say Windows 6.1.
The server system is: Windows Server 2008 R2 Enterprise with Parallels Small Business Panel 10.2.

I'am a nooby about server configuration, I don't understand the permissions configuration.

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

Re: ISAPI_Rewrite3 Problem

14 Jan 2014, 09:31

Hello,

1. you can simplify your rule a bit (though it shouldn't be the issue):

RewriteRule impressum\.php /impressum.html [NC,R=301,L]

2. Did you do the following steps:

- put RewriteLogLevel 9 into httpd.conf
- make a request to impressum.php
- check rewrite.log for related records

(if rewrite.log is still empty, make sure that the user running the app pool has permissions to write to it)

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 0 guests