aboutsummaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-10-13 16:31:01 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-10-13 16:33:39 +0200
commitf1fd374a6f078031e231c89c9fb8ca4b33feba20 (patch)
treedde64ff97b1dbbfd861c6b64576e50f64f4ab39a /.htaccess
parentd7fa2a0f7770acb36c49ea60348bb583e53b04e7 (diff)
downloadnextcloud-server-f1fd374a6f078031e231c89c9fb8ca4b33feba20.tar.gz
nextcloud-server-f1fd374a6f078031e231c89c9fb8ca4b33feba20.zip
webdav workaround for apache+php-cgi
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess4
1 files changed, 4 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 8763a8bcde5..dd49442e371 100644
--- a/.htaccess
+++ b/.htaccess
@@ -5,4 +5,8 @@ php_value post_max_size 512M
php_value memory_limit 128M
SetEnv htaccessWorking true
</IfModule>
+<IfModule !mod_php5.c>
+RewriteEngine on
+RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization},last]
+</IfModule>
Options -Indexes