Catch old app paths, change them to new form

This commit is contained in:
Bart Visscher 2012-05-02 21:33:54 +02:00
parent 31d623f426
commit ec98ecff05
1 changed files with 4 additions and 2 deletions

View File

@ -14,8 +14,10 @@ php_value memory_limit 512M
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization},last]
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^.well-known/carddav /remote/carddav.php [R]
RewriteRule ^.well-known/caldav /remote/caldav.php [R]
RewriteRule ^apps/([^/]*)/(.*.(css|php))$ index.php?app=$1&getfile=$2 [QSA,L]
</IfModule>
Options -Indexes
Options -Indexes