Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 3.0 support forum
 Helicon Tech : ISAPI_Rewrite 3.0 support forum
Subject Topic: ISAPI Rewrite 3 Breaks IIS, 2 Works. Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
davidshq
Newbie
Newbie


Joined: 18 June 2007
Location: United States
Online Status: Offline
Posts: 11
Posted: 20 December 2007 at 11:24am | IP Logged Quote davidshq

We've been using ISAPI_Rewrite 2 for a number of months now successfully and everything worked fine. However, after installing the updated ISAPI_Rewrite 3 we began having problems with the websites. They work fine under a light load, but as the load on the server builds performance deteriorates progressively to the point where pages don't load at all. It doesn't matter what sort of page - ASP, ASPX, or HTML. We are running Windows Server 2003 R2, IIS 6.
David.


__________________
- The Photographer's Complete Workflow Solution.
Back to Top View davidshq's Profile Search for other posts by davidshq Visit davidshq's Homepage
 
davidshq
Newbie
Newbie


Joined: 18 June 2007
Location: United States
Online Status: Offline
Posts: 11
Posted: 20 December 2007 at 2:54pm | IP Logged Quote davidshq

Would love some assistance on this. I've been doing some troubleshooting:
1. I've ensured debugging is turned off on all applications.
2. I commented out all the code in the .conf except:
RewriteEngine Off
RewriteCompatibility2 On
RepeatLimit 2
RewriteBase
RewriteRule ^/httpd(?:\.ini\.parse\.errors)$ / [NC,F,O]
RewriteRule ^.*\.isrwhlp$ / [NC,F,O]
David.



__________________
- The Photographer's Complete Workflow Solution.
Back to Top View davidshq's Profile Search for other posts by davidshq Visit davidshq's Homepage
 
davidshq
Newbie
Newbie


Joined: 18 June 2007
Location: United States
Online Status: Offline
Posts: 11
Posted: 20 December 2007 at 3:46pm | IP Logged Quote davidshq

I backed off the upgrade and just went back to v. 2. But sure would like to upgrade to 3 at some point.
David.


__________________
- The Photographer's Complete Workflow Solution.
Back to Top View davidshq's Profile Search for other posts by davidshq Visit davidshq's Homepage
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 8932
Posted: 21 December 2007 at 3:12am | IP Logged Quote Anton

If you have "RewriteEngine Off" directive in your config, ISAPI_Rewrite will not process rules at all. You should put "RewriteEngine On" to make it work.

Also please tell what version (and build) of ISAPI_Rewrite are you using.


__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
davidshq
Newbie
Newbie


Joined: 18 June 2007
Location: United States
Online Status: Offline
Posts: 11
Posted: 21 December 2007 at 8:53am | IP Logged Quote davidshq

Sorry, I turned that off to test if just having the ISAPI installed caused problems, but I've actually been running it with that on. The ISAPI installed doesn't cause a problem - its only when its actually processing. I downloaded the latest version yesterday and that is the one giving issues. As I mentioned, v. 2 works fine.
David.


__________________
- The Photographer's Complete Workflow Solution.
Back to Top View davidshq's Profile Search for other posts by davidshq Visit davidshq's Homepage
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 8932
Posted: 24 December 2007 at 4:49am | IP Logged Quote Anton

What version (and build) of ISAPI_Rewrite are you using?
Please provide IIS and rewrite logs records for your request.


__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
espares
Newbie
Newbie


Joined: 30 January 2008
Location: United Kingdom
Online Status: Offline
Posts: 3
Posted: 30 January 2008 at 3:22am | IP Logged Quote espares

I am having the same problem with our production servers.  I am running version 3, 0, 0, 31.  This is causing some major issues as most of our site returns 404 errors when ISAPI Rewrite fails.  It takes an "iisreset" to get it working again.

There is nothing in the error.log except the normal "ISAPI Filter loaded" lines.
Back to Top View espares's Profile Search for other posts by espares Visit espares's Homepage
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 8932
Posted: 30 January 2008 at 4:41am | IP Logged Quote Anton

Please tell your system configuration and provide rewrite and IIS logs records.

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
espares
Newbie
Newbie


Joined: 30 January 2008
Location: United Kingdom
Online Status: Offline
Posts: 3
Posted: 30 January 2008 at 4:48am | IP Logged Quote espares

We are running HP DL380G5 dual processor (Quad Core Xeon E5335) web servers with 4GB RAM.  These are running Windows Server 2003 SP2, IIS and the web sites run ASP.NET 2.0.

Our IIS logs are huge so I can't really provide them here - can you specify whether I should be looking for anything specific within them?

Here is the error.log for 25/01/2008 - ISAPI Rewrite stopped working on this day at around 11am until I performed an iisreset.

[25/01/2008 09:43:50] ISAPI Filter loaded
[25/01/2008 11:37:26] ISAPI Filter loaded
[25/01/2008 11:43:29] ISAPI Filter loaded
[25/01/2008 11:43:30] ISAPI Filter loaded
[25/01/2008 11:43:31] ISAPI Filter loaded
[25/01/2008 11:43:42] ISAPI Filter loaded
[25/01/2008 11:43:43] ISAPI Filter loaded
[25/01/2008 11:43:46] ISAPI Filter loaded
[25/01/2008 11:44:38] ISAPI Filter loaded
[25/01/2008 11:50:54] ISAPI Filter loaded
[25/01/2008 12:12:59] ISAPI Filter loaded
[25/01/2008 12:25:59] ISAPI Filter loaded
[25/01/2008 12:56:52] ISAPI Filter loaded
[25/01/2008 13:05:20] ISAPI Filter loaded
[25/01/2008 13:21:18] ISAPI Filter loaded
[25/01/2008 13:36:47] ISAPI Filter loaded
[25/01/2008 14:03:05] ISAPI Filter loaded
[25/01/2008 14:06:37] ISAPI Filter loaded
[25/01/2008 14:33:37] ISAPI Filter loaded
[25/01/2008 15:19:19] ISAPI Filter loaded
[25/01/2008 16:38:34] ISAPI Filter loaded
[25/01/2008 17:16:45] ISAPI Filter loaded
[25/01/2008 18:59:42] Begin watch directory changes - FAILED. (D:\Web\eSpares\remotecontrols\grundig\p50-640ft\gb\p\1090\526\0\'http:\)
[25/01/2008 18:59:42] Begin watch directory changes - FAILED. (D:\Web\eSpares\remotecontrols\grundig\p50-640ft\gb\p\1090\526\0\'http:\www.espares.co.uk\)
irectory changes - FAILED. (D:\Web\ExpressSpares\styles\~\file:\image2000\spider\)
[25/01/2008 18:14:57] Begin watch directory changes - FAILED. (D:\Web\ExpressSpares\styles\~\file:\image2000\spider\NetWatch.Html\)
[25/01/2008 18:14:57] Begin watch directory changes - FAILED. (D:\Web\ExpressSpares\styles\~\file:\image2000\spider\NetWatch.Html\20080125\)
[25/01/2008 18:14:57] Begin watch directory changes - FAILED. (D:\Web\ExpressSpares\styles\~\file:\image2000\spider\NetWatch.Html\20080125\www.expressspares.co.uk\)
[25/01/2008 18:14:57] Begin watch directory changes - FAILED. (D:\Web\ExpressSpares\styles\~\file:\image2000\spider\NetWatch.Html\20080125\www.expressspares.co.uk\NWSC.8cb6d5bd-95af-49b5-bac9-908e26582162\)
[25/01/2008 19:30:28] ISAPI Filter loaded
[25/01/2008 20:02:47] ISAPI Filter loaded
[25/01/2008 20:39:02] ISAPI Filter loaded
[25/01/2008 21:14:14] ISAPI Filter loaded

Back to Top View espares's Profile Search for other posts by espares Visit espares's Homepage
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 8932
Posted: 30 January 2008 at 5:50am | IP Logged Quote Anton

I need IIS logs records for the moment of ISAPI_Rewrite failure or some other problems.
Please also show you config file and rewrite logs (also at the moment of failure)


__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
espares
Newbie
Newbie


Joined: 30 January 2008
Location: United Kingdom
Online Status: Offline
Posts: 3
Posted: 30 January 2008 at 5:51am | IP Logged Quote espares

Our config file is also quite large - can I email these to you directly rather than on this forum?
Back to Top View espares's Profile Search for other posts by espares Visit espares's Homepage
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 8932
Posted: 30 January 2008 at 7:38am | IP Logged Quote Anton

Sure, please send it to support@helicontech.com

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
davidshq
Newbie
Newbie


Joined: 18 June 2007
Location: United States
Online Status: Offline
Posts: 11
Posted: 30 January 2008 at 8:41am | IP Logged Quote davidshq

If you resolve this issue I would be very interested to hear the resolution. At this time I have reverted back to version 2 until a clear solution for the problem becomes available.
David.


__________________
- The Photographer's Complete Workflow Solution.
Back to Top View davidshq's Profile Search for other posts by davidshq Visit davidshq's Homepage
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 8932
Posted: 30 January 2008 at 9:05am | IP Logged Quote Anton

to espares:
Would you please also provide Application logs for the moment when IIS fails.
And also explain give the settings of your Application pool.


__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
tomgusa
Newbie
Newbie


Joined: 27 February 2008
Location: United States
Online Status: Offline
Posts: 9
Posted: 27 February 2008 at 10:51am | IP Logged Quote tomgusa

Hello:

2 weeks before, we installed ISAPI_Rewrite 3,1,0,39.
URL rewrites were working fine.

Since 2 days, we noticed that we are getting 404 errors. It works some times and some times it does not?

Our situation looks very much like davidshq had.
What was the resolution?

Best
Tom





__________________
Reliable Fast Hosting
Back to Top View tomgusa's Profile Search for other posts by tomgusa
 
jobs2web
Newbie
Newbie


Joined: 27 February 2008
Location: United States
Online Status: Offline
Posts: 3
Posted: 27 February 2008 at 1:46pm | IP Logged Quote jobs2web

We have the same issue with 3 - (Release 3.1.0.39_ specifically)
Here is some data to help troubleshoot -
What happens is sites will run fine for a while - we have a number of sites each running under the same IIS Application Pool.  

My FIX - is actually to go into IIS into any one of the sites - Properties - ISAPI_Rewrite Tab - I can see the .htaccess file listed there - Click - Edit - put a space in the file , then remove the space and click 'Apply' and the window where the .htaccess contents is blank, but the rewrite engine works again.  Very Strange - and very sparatic.

here is an example from our log file -
1st Entry is from when the site filter is NOT working - the second is when it's correctly rewriting per our rules:

#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs-version cs(User-Agent) cs(Cookie) cs(Referer) cs-host sc-status sc-substatus sc-win32-status sc-bytes cs-bytes time-taken
2008-02-27 19:06:16 W3SVC94566776 192.168.50.243 GET /go/Austin-Jobs/692/ - 80 - 134.129.244.10 HTTP/1.1 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.8.1.12)+Gecko/20080201+Firefox/2.0.0.12 SITEID=21;+USERID=1;+__utma=117985034.1681198144.1188591316.1202944376.1204137973.23;+__utmz=117985034.1201557911.19.13.utmcsr=minnesota-healthcare-jobs.com|utmccn=(referral)|utmcmd=referral|utmcct=%2Fj2w%2Ffind.job;+EMAIL=j2w01%40jobs2web%2Ecom;+__utmb=117985034.11;+__utmc=117985034.11;+hittail_ok=1 http://rackspace.jobs2web.com/ rackspace.jobs2web.com 404 0 0 776 813 203
2008-02-27 19:07:34 W3SVC94566776 192.168.50.243 GET /j2w/find.job job=v.searchbycat&cat=692 80 - 134.129.244.10 HTTP/1.1 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.8.1.12)+Gecko/20080201+Firefox/2.0.0.12 SITEID=21;+USERID=1;+__utma=117985034.1681198144.1188591316.1202944376.1204137973.23;+__utmz=117985034.1201557911.19.13.utmcsr=minnesota-healthcare-jobs.com|utmccn=(referral)|utmcmd=referral|utmcct=%2Fj2w%2Ffind.job;+EMAIL=j2w01%40jobs2web%2Ecom;+__utmb=117985034.14;+__utmc=117985034.14;+hittail_ok=1 - rackspace.jobs2web.com 200 0 0 15848 772 406

Windows Server 2k3 - iis 6

Example From .htaccess file -

# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.39

RewriteEngine On
RewriteCompatibility2 On
RepeatLimit 200
RewriteBase
# unsupported directive: [ISAPI_Rewrite]

#  Defend your computer from some worm attacks
RewriteRule ^.*(?:global.asa|default\.ida|root\.exe|\.\.).*$ . [NC,F,O]
RewriteRule ^/go/[^/]*/(.*)/$ /j2w/find.job?job=v.searchbycat&cat=$1 [NC]
RewriteRule ^/job/[^/]*/(.*)/$ /j2w/find.job?job=main.viewjob&jobid=$1 [NC]
RewriteRule ^/content/(.*)/$ /j2w/find.job?job=vcontent.main&file=$1 [NC]


Also I have duplicate rules in the root httpd.conf file in the C:\Program Files\Helicon\ISAPI_Rewrite3 directory - as I had to add all the rules here originally in order to get everything to work - not sure if this is right or not - but it worked.

I may try upgrading to .41 and see if that helps.

I've also seen this in the error.log file :
[2/27/2008 11:48:50] Begin watch directory changes - FAILED. (d:\websites\jobs2web.com\\find.job\)
[2/27/2008 12:17:05] Begin watch directory changes - FAILED. (d:\websites\jobs2web.com\\find.job\)


Edited by jobs2web - 27 February 2008 at 2:03pm


__________________
www.jobs2web.com
Back to Top View jobs2web's Profile Search for other posts by jobs2web Visit jobs2web's Homepage
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 8932
Posted: 28 February 2008 at 4:44am | IP Logged Quote Anton

Please try updating to the latest build of ISAPI_Rewrite and provide rewrite logs for non-working requests.

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
mrceolla
Newbie
Newbie


Joined: 16 June 2008
Online Status: Offline
Posts: 1
Posted: 23 June 2008 at 11:51am | IP Logged Quote mrceolla

jobs2web,

Did you find a solutions to your problems?  If so, please share.

Thanks,

Mike

Back to Top View mrceolla's Profile Search for other posts by mrceolla
 
jobs2web
Newbie
Newbie


Joined: 27 February 2008
Location: United States
Online Status: Offline
Posts: 3
Posted: 23 June 2008 at 1:15pm | IP Logged Quote jobs2web

we upgrade our server version to the latest build - that seemed to fix the intermittent crashing that we were experiencing - see the release notes - but it did mention a fix for 'intermittent crashing'.

__________________
www.jobs2web.com
Back to Top View jobs2web's Profile Search for other posts by jobs2web Visit jobs2web's Homepage
 
StephenJ
Newbie
Newbie


Joined: 17 April 2008
Online Status: Offline
Posts: 18
Posted: 23 June 2008 at 3:49pm | IP Logged Quote StephenJ

jobs2web wrote:
see the release notes - but it did mention a fix for 'intermittent crashing'.

Which release notes say this? All I see is an upgrade to boost.

-Stephen

Back to Top View StephenJ's Profile Search for other posts by StephenJ
 

Page of 2 Next >>
  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You can vote in polls in this forum