Skip to content

Enable mod_rewrite for vhost

7. December 2011



  • The mod_rewrite for this vhost is activated by a custom .htaccess file in the document root of  the vhost.
  • Activation is not possible, because the site configuration for this vhost doesn’t allows it.


  • Change the appropriate line in the site configuration file for this vhost
  • Restart Webserver


Nice to have

  • A global setting for all new vhosts
  • Maybe editing /etc/apache2/httpd.conf would do the trick?



From → Webserver

Leave a Comment

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: