summaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess4
1 files changed, 3 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index 86a2de6b946..ebb28b0887b 100644
--- a/.htaccess
+++ b/.htaccess
@@ -3,7 +3,9 @@ ErrorDocument 404 /core/templates/404.php
php_value upload_max_filesize 512M
php_value post_max_size 512M
php_value memory_limit 512M
-SetEnv htaccessWorking true
+<IfModule env_module>
+ SetEnv htaccessWorking true
+</IfModule>
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on