** Changes in httpd.ini are not working ***

ISAPI_Rewrite is a powerful URL manipulation engine based on regular expressions
User avatar
Posts: 19
Joined: 16 Nov 2012, 07:50

Re: ** Changes in httpd.ini are not working ***

30 Nov 2012, 16:29

I have IIS 5.1 installed.

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

Re: ** Changes in httpd.ini are not working ***

03 Dec 2012, 10:45

Hello,

there's a tool for IIS6 called Metabase Explorer. It also works with IIS5.1. Please try to install it on your machine and get us all the metabase information we need.

User avatar
Posts: 19
Joined: 16 Nov 2012, 07:50

Re: ** Changes in httpd.ini are not working ***

03 Dec 2012, 16:05

I downloaded Metabase Explorer at http://download.cnet.com/IIS-Metabase-E ... b7d5&idl=n

How do I get the file(s) that you need? What are the file name(s)?

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

Re: ** Changes in httpd.ini are not working ***

06 Dec 2012, 10:15

When you run the software it should display the site tree.
You should go through the sites and try to find ISAPI_Rewrite filter registration

User avatar
Posts: 19
Joined: 16 Nov 2012, 07:50

Re: ** Changes in httpd.ini are not working ***

06 Dec 2012, 16:14

This is what I see ...
Attachments
2012-12-06_1115.png
2012-12-06_1115.png (23.12 KiB) Viewed 11095 times

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

Re: ** Changes in httpd.ini are not working ***

07 Dec 2012, 05:25

Hello,

Does this screenshot shows the modules for the entire server?
If yes, please also go through the sites and check if there are any ISAPI_Rewrite entries.
Please attach the screenshots for the sites as well.

User avatar
Posts: 19
Joined: 16 Nov 2012, 07:50

Re: ** Changes in httpd.ini are not working ***

07 Dec 2012, 15:22

Which file(s) should I look at for ISAPI_Rewrite entries? What am I looking for?

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

Re: ** Changes in httpd.ini are not working ***

10 Dec 2012, 09:32

Hello,

ISAPI_rewrite entries are those which point to ISAPI_Rewrite dll in C:\Program Files\Helicon\ISAPI_Rewrite3 or similar.

User avatar
Posts: 19
Joined: 16 Nov 2012, 07:50

Re: ** Changes in httpd.ini are not working ***

10 Dec 2012, 20:12

In my screenshot earlier, you can see what I see using IIS Metabase Explorer. When I click on the C:\Program Files\Helicon\ISAPI_Rewrite.dll it doesn't give me these ISAPI_rewrite entries. Please advise on how I can get these entries for you.

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

Re: ** Changes in httpd.ini are not working ***

11 Dec 2012, 07:02

Hello,

You probably didn't get me correctly: what I want you to do is to go through the site tree and tell which nodes (including global one) have records with C:\Program Files\Helicon\ISAPI_Rewrite.dll.

User avatar
Posts: 19
Joined: 16 Nov 2012, 07:50

Re: ** Changes in httpd.ini are not working ***

11 Dec 2012, 16:08

Only one node has a record with C:\Program Files\Helicon\ISAPI_Rewrite.dll:
Filters\ISAPI_Rewrite\

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

Re: ** Changes in httpd.ini are not working ***

14 Dec 2012, 07:33

Hello,

Ok, it's good that there's only one record.
Can you clarify the following:
- does any of ISAPI_Rewrite rules for any of the sites work for you?
- what were the changes you made before it stopped working
- please check if there are any records in httpd.parse.errors file in ISAPI_Rewrite installation folder
- can you try to install ISAPI_Rewrite on another machine and check if it will work

User avatar
Posts: 19
Joined: 16 Nov 2012, 07:50

Re: ** Changes in httpd.ini are not working ***

14 Dec 2012, 15:40

The rewrite rules are working. There are no errors in the the errors file. When I made changes to httpd.ini ISAPI_Rewrite did not work for the changes.

The path to the DLL is NOT specified in ISAPI Filters, but ISAPI_Rewrite works. But you said ISAPI_Rewrite only works if I use ISAPI Filters to specify the path to the DLL here.

I have the same version of ISAPI_Rewrite but in they are different directories for different versions of my code. I cannot delete the previous versions since this is a development machine.

eg.
C:\Program Files\Helicon\ISAPI_Rewrite
C:\inetpub\wwwroot\version1\Helicon\ISAPI_Rewrite
C:\inetpub\wwwroot\version2\Helicon\ISAPI_Rewrite
C:\inetpub\wwwroot\version3\Helicon\ISAPI_Rewrite

I got the changes in httpd.ini to work ONLY when I changed this file in C:\Program Files\Helicon\ISAPI_Rewrite, but it isn't specified in ISAPI Filters. My question is why does ISAPI_Rewrite work then without the path to the DLL in ISAPI Filters?

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

Re: ** Changes in httpd.ini are not working ***

18 Dec 2012, 05:16

Hello,

"The rewrite rules are working. There are no errors in the the errors file. When I made changes to httpd.ini ISAPI_Rewrite did not work for the changes."
- do you mean that the rules you had before are still working and some new rules don't?
- please try to enable logging in httpd.conf by putting

RewriteLogLevel 9
LogLevel debug

And provide the records from rewrite.log and error.log that you get.

User avatar
Posts: 19
Joined: 16 Nov 2012, 07:50

Re: ** Changes in httpd.ini are not working ***

18 Dec 2012, 06:17

The rewrite rules (new and old) are working if I only change httpd.ini in C:\Program Files\Helicon\ISAPI_Rewrite

Why does ISAPI_Rewrite work without the path to the DLL in ISAPI Filters?

User avatar
Posts: 27
Joined: 04 Dec 2012, 21:06

Re: ** Changes in httpd.ini are not working ***

18 Dec 2012, 21:42

Is there any larger difference between working on either old or new rewrite rules? Does that change anything?

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

Re: ** Changes in httpd.ini are not working ***

19 Dec 2012, 10:46

Hello,

"Why does ISAPI_Rewrite work without the path to the DLL in ISAPI Filters?"
- well as far as I understand you do have it registered globally - for the entire server.

"Is there any larger difference between working on either old or new rewrite rules? Does that change anything?"
- can you be more specific: what do you mean by "old" and "new" rules? Please show the rules you are using.

"The rewrite rules (new and old) are working if I only change httpd.ini in C:\Program Files\Helicon\ISAPI_Rewrite"
- usually, this situation occurs due to insufficient permissions for the site root where httpd.ini resides.

User avatar
Posts: 19
Joined: 16 Nov 2012, 07:50

Re: ** Changes in httpd.ini are not working ***

19 Dec 2012, 15:11

"Why does ISAPI_Rewrite work without the path to the DLL in ISAPI Filters?"
Can you be more specific: what do you mean by "old" and "new" rules? Please show the rules you are using.
"The rewrite rules (new and old) are working if I only change httpd.ini in C:\Program Files\Helicon\ISAPI_Rewrite"

By old and new I am referring to the changes in the httpd.ini file. Since the dll is registered globally this makes sense then.

Previous

Return to ISAPI_Rewrite 2.x

Who is online

Users browsing this forum: No registered users and 5 guests