drupal apache vhost setup

<VirtualHost *:80>
    DocumentRoot "/usr/local/www/drupal6"
    ServerName www.woosum.net
    ServerAlias woosum.net
    <Directory "/usr/local/www/drupal6">
        Options Indexes FollowSymlinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all

        RewriteEngine on
        RewriteBase /
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
    </Directory>
</VirtualHost>

Leave a Reply

Your email address will not be published. Required fields are marked *