ISAPI v3 not working, 2008 R2
14 posts
• Page 1 of 1
ISAPI v3 not working, 2008 R2
Hi
I am trying to migrate a website from IIS 6 to a new 2008 R2 server.
I have installed ISAPI Rewrite v3 and copied over the http.conf file but it just isn't working, nothing in the error logs and I really don't know what the issue is, I have tried re-installing but nothing.
What am I missing here?
thanks
-----------------
# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.104
RewriteLogLevel 9
LogLevel debug
RewriteEngine on
RewriteBase /
RewriteCond %{QUERY_STRING} ^cat=([^&]+)&scat=([^&]+)&desc=([^&]+)&product=([^&]+)$ [NC]
RewriteRule ^pages/catalogue/catalogue\.asp$ %1/%2/%3-%4\.html? [NC,R]
RewriteRule ^([^/]+)/([^/]+)/([^/.]+)-([^/]+)\.html$ pages/catalogue/catalogue.asp?cat=$1&scat=$2&desc=$3&product=$4 [NC,L]
I am trying to migrate a website from IIS 6 to a new 2008 R2 server.
I have installed ISAPI Rewrite v3 and copied over the http.conf file but it just isn't working, nothing in the error logs and I really don't know what the issue is, I have tried re-installing but nothing.
What am I missing here?
thanks
-----------------
# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.104
RewriteLogLevel 9
LogLevel debug
RewriteEngine on
RewriteBase /
RewriteCond %{QUERY_STRING} ^cat=([^&]+)&scat=([^&]+)&desc=([^&]+)&product=([^&]+)$ [NC]
RewriteRule ^pages/catalogue/catalogue\.asp$ %1/%2/%3-%4\.html? [NC,R]
RewriteRule ^([^/]+)/([^/]+)/([^/.]+)-([^/]+)\.html$ pages/catalogue/catalogue.asp?cat=$1&scat=$2&desc=$3&product=$4 [NC,L]
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: ISAPI v3 not working, 2008 R2
Hello,
Try to check the permissions for the Helicon folder. Follow this simple guide - https://www.helicontech.com/isapi_rewri ... curity.htm
Regards
Try to check the permissions for the Helicon folder. Follow this simple guide - https://www.helicontech.com/isapi_rewri ... curity.htm
Regards
Re: ISAPI v3 not working, 2008 R2
Thanks for that, I have added the IIS_WPG group to the Helicon folder and now the logs are working but the rules are still not taking effect on the website...
The logs:
Error.log:
[13/06/2014 00:57:10] C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf - Loaded successfully
[13/06/2014 00:57:10] ISAPI Filter loaded. Version 3.1.0.104. Windows 6.1 (Build 7601 ServicePack:1) ProductType SERVER. CPU type INTEL NumberOfProcessors 1.
Rewrite.log:
8.18.225.35 8.18.225.35 Fri, 13-Jun-2014 00:57:10 GMT [212.67.xxx.xxx/sid#1][rid#15431560/initial] (2) init rewrite engine with requested uri /manager/html
8.18.225.35 8.18.225.35 Fri, 13-Jun-2014 00:57:10 GMT [212.67.xxx.xxx/sid#1][rid#15431560/initial] (1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
8.18.225.35 8.18.225.35 Fri, 13-Jun-2014 00:57:10 GMT [212.67.xxx.xxx/sid#1][rid#15431560/initial] (3) applying pattern '^pages/catalogue/catalogue\.asp$' to uri 'manager/html'
8.18.225.35 8.18.225.35 Fri, 13-Jun-2014 00:57:10 GMT [212.67.xxx.xxx/sid#1][rid#15431560/initial] (3) applying pattern '^([^/]+)/([^/]+)/([^/.]+)-([^/]+)\.html$' to uri 'manager/html'
8.18.225.35 8.18.225.35 Fri, 13-Jun-2014 00:57:10 GMT [212.67.xxx.xxx/sid#1][rid#15431560/initial] (3) applying pattern '^pages/catalogue/catalogue_thumbs\.asp$' to uri 'manager/html'
8.18.225.35 8.18.225.35 Fri, 13-Jun-2014 00:57:10 GMT [212.67.xxx.xxx/sid#1][rid#15431560/initial] (3) applying pattern '^products/([^/]+)/([^/]+)/?$' to uri 'manager/html'
8.18.225.35 8.18.225.35 Fri, 13-Jun-2014 00:57:10 GMT [212.67.xxx.xxx/sid#1][rid#15431560/initial] (3) applying pattern '^pages/catalogue/catalogue_subnav\.asp$' to uri 'manager/html'
8.18.225.35 8.18.225.35 Fri, 13-Jun-2014 00:57:10 GMT [212.67.xxx.xxx/sid#1][rid#15431560/initial] (3) applying pattern '^products/([^/]+)/?$' to uri 'manager/html'
8.18.225.35 8.18.225.35 Fri, 13-Jun-2014 00:57:10 GMT [212.67.xxx.xxx/sid#1][rid#15431560/initial] (3) applying pattern '^pages/catalogue/catalogue\.asp$' to uri 'manager/html'
8.18.225.35 8.18.225.35 Fri, 13-Jun-2014 00:57:10 GMT [212.67.xxx.xxx/sid#1][rid#15431560/initial] (3) applying pattern '^products/([^/]+)/([^/]+)/([^/.]+)\.html$' to uri 'manager/html'
The logs:
Error.log:
[13/06/2014 00:57:10] C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf - Loaded successfully
[13/06/2014 00:57:10] ISAPI Filter loaded. Version 3.1.0.104. Windows 6.1 (Build 7601 ServicePack:1) ProductType SERVER. CPU type INTEL NumberOfProcessors 1.
Rewrite.log:
8.18.225.35 8.18.225.35 Fri, 13-Jun-2014 00:57:10 GMT [212.67.xxx.xxx/sid#1][rid#15431560/initial] (2) init rewrite engine with requested uri /manager/html
8.18.225.35 8.18.225.35 Fri, 13-Jun-2014 00:57:10 GMT [212.67.xxx.xxx/sid#1][rid#15431560/initial] (1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
8.18.225.35 8.18.225.35 Fri, 13-Jun-2014 00:57:10 GMT [212.67.xxx.xxx/sid#1][rid#15431560/initial] (3) applying pattern '^pages/catalogue/catalogue\.asp$' to uri 'manager/html'
8.18.225.35 8.18.225.35 Fri, 13-Jun-2014 00:57:10 GMT [212.67.xxx.xxx/sid#1][rid#15431560/initial] (3) applying pattern '^([^/]+)/([^/]+)/([^/.]+)-([^/]+)\.html$' to uri 'manager/html'
8.18.225.35 8.18.225.35 Fri, 13-Jun-2014 00:57:10 GMT [212.67.xxx.xxx/sid#1][rid#15431560/initial] (3) applying pattern '^pages/catalogue/catalogue_thumbs\.asp$' to uri 'manager/html'
8.18.225.35 8.18.225.35 Fri, 13-Jun-2014 00:57:10 GMT [212.67.xxx.xxx/sid#1][rid#15431560/initial] (3) applying pattern '^products/([^/]+)/([^/]+)/?$' to uri 'manager/html'
8.18.225.35 8.18.225.35 Fri, 13-Jun-2014 00:57:10 GMT [212.67.xxx.xxx/sid#1][rid#15431560/initial] (3) applying pattern '^pages/catalogue/catalogue_subnav\.asp$' to uri 'manager/html'
8.18.225.35 8.18.225.35 Fri, 13-Jun-2014 00:57:10 GMT [212.67.xxx.xxx/sid#1][rid#15431560/initial] (3) applying pattern '^products/([^/]+)/?$' to uri 'manager/html'
8.18.225.35 8.18.225.35 Fri, 13-Jun-2014 00:57:10 GMT [212.67.xxx.xxx/sid#1][rid#15431560/initial] (3) applying pattern '^pages/catalogue/catalogue\.asp$' to uri 'manager/html'
8.18.225.35 8.18.225.35 Fri, 13-Jun-2014 00:57:10 GMT [212.67.xxx.xxx/sid#1][rid#15431560/initial] (3) applying pattern '^products/([^/]+)/([^/]+)/([^/.]+)\.html$' to uri 'manager/html'
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: ISAPI v3 not working, 2008 R2
Well,
it looks like it's good to go. However,the testing request " /manager/html" simply didn't hit any of the patterns.
Regards
it looks like it's good to go. However,the testing request " /manager/html" simply didn't hit any of the patterns.
Regards
Re: ISAPI v3 not working, 2008 R2
I have simply copied over the config from the old server but it isn't working:
the live site is: http://www.eazzee.co.uk
the test site is: http://eazzee.mantiscomputing.com
As you can see if you visit the sites, the live site has nice short friendly URL's, the new test site doesn't so something is amiss here, any help much appreciated.
Thanks
the live site is: http://www.eazzee.co.uk
the test site is: http://eazzee.mantiscomputing.com
As you can see if you visit the sites, the live site has nice short friendly URL's, the new test site doesn't so something is amiss here, any help much appreciated.
Thanks
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: ISAPI v3 not working, 2008 R2
Well,
we need to take one of those "un-frienly" URLs and get the logs for it to see what's wring. For example: /pages/catalogue/catalogue_thumbs.asp?cat=Bags&scat=Backpacks
Regards
we need to take one of those "un-frienly" URLs and get the logs for it to see what's wring. For example: /pages/catalogue/catalogue_thumbs.asp?cat=Bags&scat=Backpacks
Regards
Re: ISAPI v3 not working, 2008 R2
Ok, so how do I do that, the current log has no mention of 'backpacks' for example?
Thanks
Thanks
Re: ISAPI v3 not working, 2008 R2
I have modified the http.conf and it is just this now:
--------------
RewriteEngine on
#Permanent redirect to update old links
RewriteRule (.+) http://newserver.com$1 [R=301,L]
--------------
But this has no effect on the site at all, I was expecting an error.
--------------
RewriteEngine on
#Permanent redirect to update old links
RewriteRule (.+) http://newserver.com$1 [R=301,L]
--------------
But this has no effect on the site at all, I was expecting an error.
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: ISAPI v3 not working, 2008 R2
Here's how you get the logs:
1. Clear up existing rewrite.log and save it.
2. Insert the following code to enable logging:
3. Run a testing reuquest from a browser
4. Turn off logging by disabling the code
5. take a look at the rewrite.log. Usually a new request starts with "...init rewrite engine... "
If you can find the testing request after a couple of tries, there's a possibility that ISAPI_Rewrite is not the first to pick up the request and it's already transformed (e.g. Sitecore CSM usually processes a request first, unless we change the order of processing). Do you have any third-party software, cms in place?
Regards
1. Clear up existing rewrite.log and save it.
2. Insert the following code to enable logging:
- Code: Select all
#enabling rewrite.log
RewriteLogLevel 9
#enabling error.log
LogLevel debug
3. Run a testing reuquest from a browser
4. Turn off logging by disabling the code
5. take a look at the rewrite.log. Usually a new request starts with "...init rewrite engine... "
If you can find the testing request after a couple of tries, there's a possibility that ISAPI_Rewrite is not the first to pick up the request and it's already transformed (e.g. Sitecore CSM usually processes a request first, unless we change the order of processing). Do you have any third-party software, cms in place?
Regards
Re: ISAPI v3 not working, 2008 R2
Ok, done that, I refreshed the webpages a few times but nothing appeared in the logs.
Today I have gone back to look again and now the log has some data, see attached.
Can I purchase some help with this?
Thanks
Today I have gone back to look again and now the log has some data, see attached.
Can I purchase some help with this?
Thanks
- Attachments
-
- eazze rewrite.txt
- (18.76 KiB) Downloaded 1054 times
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: ISAPI v3 not working, 2008 R2
Good news. ISAPI_Rewrite is working and it sees your rules in httpd.conf.
The bad thing is that the requests are still not related to what you have, as if you're requesting a different server... are you sure you have everything straightened out in host.config?
Sure, you can donate a couple buck to help you out, but how about you simply email us and we'll try to help. It might be an installation issue. We'll get on the server and take a look
Regards
The bad thing is that the requests are still not related to what you have, as if you're requesting a different server... are you sure you have everything straightened out in host.config?
Sure, you can donate a couple buck to help you out, but how about you simply email us and we'll try to help. It might be an installation issue. We'll get on the server and take a look
Regards
Re: ISAPI v3 not working, 2008 R2
Ok thanks.
Host.config? Is that a file or are you just referring to the host setup?
Thanks.
Host.config? Is that a file or are you just referring to the host setup?
Thanks.
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: ISAPI v3 not working, 2008 R2
No, what I meant is whether you modified you host.config file and mapped the host to a different IP, rather than your real one.
Re: ISAPI v3 not working, 2008 R2
Hi
I have searched the entire disk on the old and new servers and there is no file called host.config.
I really need to get this working ASAP. I did mention that I am happy to pay for someone to get this working for me but my post (in this thread) seems to have been removed, is this an option?
Thanks
I have searched the entire disk on the old and new servers and there is no file called host.config.
I really need to get this working ASAP. I did mention that I am happy to pay for someone to get this working for me but my post (in this thread) seems to have been removed, is this an option?
Thanks
14 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 12 guests