This forum has been moved here:
Helicon Tech Community Forum

ISAPI_Rewrite 3.0 (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 3.0
Subject Topic: Migrated ASP site to W2K8 R2 IIS 7.5
Message |

Joined: 28 February 2012
Posts: 2
Posted: 29 February 2012 at 12:15am

I recently was forced to migrate an ASP ecommerce site that was running on Server 2003 IIS6 x86 > over to Server 2008 R2 IIS 7.5.  I had installed Isapi Rewrite 3 on the W2k3 box and the rewrites were working fine.  I installed and registered the latest version of Isapi Rewrite 3.0 x64 on the new server.  I get 404 errors when I click links to products on the site, the rewrite is not working the way it did.

My .htaccess file looks like this:

# Helicon ISAPI_Rewrite configuration file
# Version
# Canonical name 301 redirect
RewriteCond $1 ^(index\.asp)?$ [OR]
# or if request is for image, css, or js file
RewriteCond $1 \.(gif�jpg�ico�css�js)$ [NC,OR]
# or if URL resolves to existing file
RewriteCond %{REQUEST_FILENAME} -f [OR]
# or if URL resolves to existing directory
RewriteCond %{REQUEST_FILENAME} -d
# then skip the rewrite to WP
RewriteRule ^(.*)$ - [S=1]
# else rewrite the request to WP
RewriteRule . /handle_url.asp?url=%{REQUEST_FILENAME} [L,QSA]


I'm new to IIS 7.5 and trying to work my way through the learning curve all the hurdles.  I can't seem to figure out what is wrong and looking for suggestions.  Any would be appreciated.



Back to Top

Joined: 01 October 2003
Online Status: Online
Posts: -160
Posted: 01 March 2012 at 4:47am


You can start with NTFS permissions for your .htaccess file.
Then you may be interested in looking at the error.log file and providing it.
Logging issues described in FAQ

Back to Top

Joined: 28 February 2012
Posts: 2
Posted: 01 March 2012 at 9:35pm

I modified the httpd.conf file with RewriteRule .? - [F].  I got the response "403 Forbidden", acoording to the notes thats a good thing.

I enabled the logging and the error log reports the following:

[3/1/2012 22:26:11] C:\Program Fileles\Helicon\ISAPI_Rewrite3\httpd.conf - Loaded successfully
[3/1/2012 22:26:11] d:\wwwroot\xxxxxxxxxx\.htaccess - Loaded successfully

So it appears to be loading properly however any time I click on an internal link that is supposed to be re-written I get a 404 error.  I made changes to NTFS permissions but stil cannot get the site to function.

Any other suggestions?

Back to Top

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version