1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice


Discussion in 'Plesk for Linux - 8.x and Older' started by rackserverz, Aug 23, 2005.

  1. rackserverz

    rackserverz Guest


    I have just installed a new Debian Plesk 7.5 installation and have a problem with mod_rewrite. I have the following .htaccess file:

    RewriteEngine On

    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*) index.php

    That results in the following error:

    Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration

    I previously had a RedHat Plesk 7.5 installation which worked fine. What is the problem?

    Thank you
  2. rackserverz

    rackserverz Guest

    Newermind. I figured out to copy /etc/apache2/mods-avalible/rewrite.load to /etc/apache2/mods-enabled/rewrite.load and mods_rewrite is working now...