Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-05-02 23:33:54 +0400
committerBart Visscher <bartv@thisnet.nl>2012-05-02 23:36:33 +0400
commitec98ecff052425643765d7acb8d4af62d33a13cf (patch)
treeffa8961a5ae71611249930f68977f382c875c6a9 /.htaccess
parent31d623f426ac7475588b771036ecfeb2f69b9fe5 (diff)
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