Mod_rewrite not working on ISPConfig 3 Server

Posted by Akahadaka on Server Fault See other posts from Server Fault or by Akahadaka
Published on 2012-07-10T08:54:34Z Indexed on 2012/07/10 9:17 UTC
Read the original article Hit count: 315

Filed under:
|
|

Problem

I recently migrated a Drupal site from a shared hosting server to my own VM. Everything appears to work correctly, except clean urls.

My VM Setup

  • Ubuntu 10.04
  • LAMP
  • ISPConfig 3

What I've tried

From reading up on a number of drupal forums I've tried the following in this order

  1. Check that mod_rewrite is installed and enabled
  2. Changed PHP from FastCGI to Mod_PHP (prefer to use FastCGI or suPHP though to avoid having tmp/files folders with 777 permissions)
  3. Changed the Redirect type to L in ISPConfig Sites->domain.com->Redirect
  4. Changed /etc/apache2/sites-enabled/000-default

    <Directory /var/www/> 
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        ...
    </Directory>
    

Not sure about points 3 and 4, I do want all domains to be able to use mod_rewrite out of the box.

Question

Have I done something wrong or am I missing a step? Ultimately I would like to use FastCGI and clean urls working on all ISPConfig 3 domains without having to make any changes to individual domain settings.

Any ideas appreciated, I'll try them all.

© Server Fault or respective owner

Related posts about mod-rewrite

Related posts about drupal