aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-08-06 09:57:25 +0100
committerGareth Rees <gareth@mysociety.org>2014-08-06 09:57:25 +0100
commit7d3cc36db1736cd97fdab2ff5b7b18f91b7325f1 (patch)
tree4ff4b7625807cd475f40fe2b6b69dd8bec657440
parente7d49603fbc4c53ac2b3e2bd254d85664b0fea2b (diff)
Move RewriteEngine directive to top of vHost config
Easier to see what mods are enabled if they’re not buried in the middle of configuration
-rw-r--r--config/httpd-vhost.conf-example3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/httpd-vhost.conf-example b/config/httpd-vhost.conf-example
index a6daf614f..5cafdb482 100644
--- a/config/httpd-vhost.conf-example
+++ b/config/httpd-vhost.conf-example
@@ -14,6 +14,7 @@
# TODO: Remove this and use PassengerUser
SuExecUserGroup foi foi
+ RewriteEngine On
ErrorLog /var/log/apache2/alaveteli_error.log
CustomLog /var/log/apache2/alaveteli_access.log combined
@@ -45,8 +46,6 @@
AllowOverride All
</Directory>
- RewriteEngine On
-
# Maintenance Page
# Make a file down.html in the DocumentRoot to bring down the whole
# site and display itself.