[Pkg-owncloud-commits] [owncloud] 70/85: Update htaccess to latest upstream version
David Prévot
taffit at moszumanska.debian.org
Tue Jun 17 19:12:46 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch 6.0
in repository owncloud.
commit 8fb354bd492197639e822f03a415bd6de41c29aa
Author: David Prévot <taffit at debian.org>
Date: Thu May 1 17:06:36 2014 -0400
Update htaccess to latest upstream version
---
debian/config/apache/htaccess | 25 +++++++++++++++++++++++--
1 file changed, 23 insertions(+), 2 deletions(-)
diff --git a/debian/config/apache/htaccess b/debian/config/apache/htaccess
index bb0edfa..331c299 100644
--- a/debian/config/apache/htaccess
+++ b/debian/config/apache/htaccess
@@ -1,9 +1,18 @@
+<IfModule mod_fcgid.c>
+<IfModule mod_setenvif.c>
+<IfModule mod_headers.c>
+SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1
+RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION
+</IfModule>
+</IfModule>
+</IfModule>
ErrorDocument 403 /owncloud/core/templates/403.php
ErrorDocument 404 /owncloud/core/templates/404.php
<IfModule mod_php5.c>
php_value upload_max_filesize 513M
php_value post_max_size 513M
-php_value memory_limit 513M
+php_value memory_limit 512M
+php_value mbstring.func_overload 0
<IfModule env_module>
SetEnv htaccessWorking true
</IfModule>
@@ -12,11 +21,23 @@ php_value memory_limit 513M
RewriteEngine on
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^/owncloud/.well-known/host-meta /owncloud/public.php?service=host-meta [QSA,L]
+RewriteRule ^/owncloud/.well-known/host-meta.json /owncloud/public.php?service=host-meta-json [QSA,L]
RewriteRule ^/owncloud/.well-known/carddav /owncloud/remote.php/carddav/ [R]
RewriteRule ^/owncloud/.well-known/caldav /owncloud/remote.php/caldav/ [R]
RewriteRule ^/owncloud/apps/calendar/caldav.php /owncloud/remote.php/caldav/ [QSA,L]
RewriteRule ^/owncloud/apps/contacts/carddav.php /owncloud/remote.php/carddav/ [QSA,L]
-RewriteRule ^/owncloud/apps/([^/]*)/(.*\.(css|php))$ /owncloud/index.php?app=$1&getfile=$2 [QSA,L]
+RewriteRule ^/owncloud/apps/([^/]*)/(.*\.(php))$ /owncloud/index.php?app=$1&getfile=$2 [QSA,L]
RewriteRule ^/owncloud/remote/(.*) /owncloud/remote.php [QSA,L]
</IfModule>
+<IfModule mod_mime.c>
+AddType image/svg+xml svg svgz
+AddEncoding gzip svgz
+</IfModule>
+<IfModule dir_module>
+DirectoryIndex index.php index.html
+</IfModule>
+AddDefaultCharset utf-8
Options -Indexes
+<IfModule pagespeed_module>
+ ModPagespeed Off
+</IfModule>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list