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