Results 1 to 3 of 3

Thread: isapi_rewrite conversion

  1. #1
    d3z1gnr Guest

    Default isapi_rewrite conversion

    hi there, am using the opencart application which uses the following rewrite rules (for the apache mod_rewrite)...

    Options +FollowSymlinks

    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]

    this is very new to me, and was wondering if anyone could help converting to isapi_rewrite (version 3?). any help would be greatly appreciated.


  2. #2
    d3z1gnr Guest


    just while i am thinking, found this explanation of the first bit...

    RewriteEngine on
    This line starts the mod_rewrite module
    RewriteCond %{REQUEST_FILENAME} !-d
    If the request is for a real directory (one that exists on the server), index.php isn't served.
    RewriteCond %{REQUEST_FILENAME} !-f
    If the request is for a file that exists already on the server, index.php isn't served.

  3. #3
    Join Date
    Jun 2009

    Post re: isapi_rewrite conversion


    ISAPI_Rewrite version 3 uses the same syntax as mod_rewrite, so you will not need to convert anything for it to work. You will just need to remove the following line since that is an Apache directive dealing with symbolic links, which a Windows server does not have:

    Options +FollowSymlinks
    Simply place all of the other lines in a .htaccess file in your /wwwroot folder, and it should work fine as long as you are on a server with version 3 of ISAPI_Rewrite.

    NOTE: The following post shows how you can test which version of ISAPI_Rewrite is installed for your site:

    David D.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts