• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

mod_rewrite

R

rackserverz

Guest
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
 
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...
 
Back
Top