[owncloud: 3/10] apply changes to Apache config since 6.0, and add well-known redirects

Adam Williamson adamwill at fedoraproject.org
Wed Aug 20 15:39:16 UTC 2014


commit 5337b3dd1dba0d027f24a6b7a1e40b2401feaa12
Author: Adam Williamson <awilliam at redhat.com>
Date:   Sun Jul 27 23:33:41 2014 -0700

    apply changes to Apache config since 6.0, and add well-known redirects

 owncloud-httpd.conf |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/owncloud-httpd.conf b/owncloud-httpd.conf
index f23ca10..ab13413 100644
--- a/owncloud-httpd.conf
+++ b/owncloud-httpd.conf
@@ -20,8 +20,15 @@ Alias /owncloud /usr/share/owncloud
     php_value upload_max_filesize 512M
     php_value post_max_size 512M
     php_value memory_limit 512M
+    php_value mbstring.func_overload 0
     SetEnv htaccessWorking true
 
+    <IfModule pagespeed_module>
+    ModPagespeed Off
+    </IfModule>
+
     RewriteEngine on
     RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization},last]
+    RewriteRule ^\.well-known/carddav /remote.php/carddav/ [R]
+    RewriteRule ^\.well-known/caldav /remote.php/caldav/ [R]
 </Directory>


More information about the scm-commits mailing list