1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

mod_rewrite

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

  1. rackserverz

    rackserverz Guest

    0
     
    Hi

    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

    0
     
    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...
     
Loading...