summaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-05-02 21:33:54 +0200
committerBart Visscher <bartv@thisnet.nl>2012-05-02 21:36:33 +0200
commitec98ecff052425643765d7acb8d4af62d33a13cf (patch)
treeffa8961a5ae71611249930f68977f382c875c6a9 /.htaccess
parent31d623f426ac7475588b771036ecfeb2f69b9fe5 (diff)
downloadnextcloud-server-ec98ecff052425643765d7acb8d4af62d33a13cf.tar.gz
nextcloud-server-ec98ecff052425643765d7acb8d4af62d33a13cf.zip
Catch old app paths, change them to new form
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess6
1 files changed, 4 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess
index 100975ef4cb..6ffdaab8faf 100644
--- a/.htaccess
+++ b/.htaccess
@@ -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 \ No newline at end of file
+Options -Indexes