View Full Version : Isapi_Rewrite - Which version is installed?

November 19th, 2009, 12:25 PM
We have created a simple test that you can use to determine which version of Isapi Rewrite is installed on the server your site is on. Most likely Isapi_Rewrite Version 3 is installed, but this test will confirm the version.

Download this zip file (http://hostek.com/tutorials/isapi_rewrite/isapirewritetest.zip) and then extract and upload the 3 files to your site and then run the isapirewritetest.htm file in a browser. Ie, run http://your_domain.com/isapirewritetest.htm after you have uploaded the 3 files to your web root folder (ie, /wwwroot).

Note: If you already have a .htaccess or httpd.ini file, make a backup of them first.

The zip file contains 3 files. They are:
httpd.ini (used by Isapi_Rewrite version 2)
.htaccess (used by Isapi_Rewrite version 3)

NOTE: If you get an error when running the test, open a support ticket (http://support.hostek.com) and include the URL you tested and ask us to:
1. Make sure the Network Service user has access to your files
2. That Isapi_Rewrite is installed

Here are some sample rewriting rules for Isapi_Rewrte Version 3 (http://forum.hostek.com/showthread.php?t=145).

Here are some sample rewriting rules for Isapi_Rewrite Version 2 (http://forum.hostek.com/showthread.php?t=33).