Skip to content

Enable mod_rewrite for vhost

7. December 2011

Problem

Cause

  • 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.

Solution

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

Example

Nice to have

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

Links

Advertisements

From → Webserver

Leave a Comment

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: