.htaccess 852 Bytes
Newer Older
Georg Ehrke's avatar
Georg Ehrke committed
1
ErrorDocument 403 /core/templates/403.php
2
ErrorDocument 404 /core/templates/404.php
3
<IfModule mod_php5.c>
4
5
php_value upload_max_filesize 512M
php_value post_max_size 512M
6
php_value memory_limit 512M
Stefan Göckeritz's avatar
Stefan Göckeritz committed
7
8
9
<IfModule env_module>
  SetEnv htaccessWorking true
</IfModule>
10
</IfModule>
11
<IfModule mod_rewrite.c>
12
RewriteEngine on
13
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
14
RewriteRule ^.well-known/host-meta /public.php?service=host-meta [QSA,L]
15
RewriteRule ^.well-known/carddav /remote.php/carddav/ [R]
16
17
18
RewriteRule ^.well-known/caldav /remote.php/caldav/ [R]	
RewriteRule ^apps/calendar/caldav.php remote.php/caldav/ [QSA,L]
RewriteRule ^apps/contacts/carddav.php remote.php/carddav/ [QSA,L]
19
RewriteRule ^apps/([^/]*)/(.*\.(css|php))$ index.php?app=$1&getfile=$2 [QSA,L]
20
RewriteRule ^remote/(.*) remote.php [QSA,L]
21
</IfModule>
22
Options -Indexes