Verifying mod_rewrite availability for installing Shop-Script on your web server

Rewrite rules for Apache web server's mod_rewrite module are used in Webasyst to generate and process Search-engine friendly URLs as well as in other functions of some framework-based apps; e.g., to display arbitrarily sized thumbnails of product images in the storefront. Also see article about product image thumbnails in Shop-Script.

Here is how you can check whether mod_rewrite module is installed and is properly functioning on your server.

  1. Create temporary subdirectory mod_rewrite_test/ in your domain's root directory and the following files inside it:
    • .htaccess
      RewriteEngine On
      RewriteRule ^.*$ index.php
    • index.php
      <?php
      echo 'mod_rewrite works!';
  2. Then type the following URL in your browser's address bar: http://yourdomain.com/mod_rewrite_test/check

If mod_rewrite is installed and is properly set up, “mod_rewrite works!” text will appear in your browser. If that does not happen, contact your server administrator to have the module correctly configured.

0 comments

    Add comment

    To add a comment please sign up or login

    Раздел помощи работает на основе приложения «Хаб»