summaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-08-22 17:16:37 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-08-22 17:18:54 +0200
commitd851bdac90231aaec19a7ee331a877b9c3a009ba (patch)
treea9bb97c45f03418d62918acc3d2c204bf82eef4d /.htaccess
parentd5ba4ec825c0c0c207b40546a3c545ce95e46235 (diff)
downloadnextcloud-server-d851bdac90231aaec19a7ee331a877b9c3a009ba.tar.gz
nextcloud-server-d851bdac90231aaec19a7ee331a877b9c3a009ba.zip
fix .htaccess file crashing apache+php-cgi
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess8
1 files changed, 5 insertions, 3 deletions
diff --git a/.htaccess b/.htaccess
index 92825ea92d5..18124826755 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,5 +1,7 @@
ErrorDocument 404 //owncloud/core/templates/404.php
-php_value upload_max_filesize 512M
-php_value post_max_size 512M
-SetEnv htaccessWorking true
+<IfModule mod_php5.c>
+ php_value upload_max_filesize 512M
+ php_value post_max_size 512M
+ SetEnv htaccessWorking true
+</IfModule>
Options -Indexes