diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-12-01 20:08:07 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-12-01 20:15:45 +0100 |
commit | a936107c5c6c514de38903c42dd09f3d6267524b (patch) | |
tree | cbf14ac9ace5470af9a2f7b3f661f2ba12426bb5 /.htaccess | |
parent | f87dca95f162e66347fced32e7c333409b0e9012 (diff) | |
download | nextcloud-server-a936107c5c6c514de38903c42dd09f3d6267524b.tar.gz nextcloud-server-a936107c5c6c514de38903c42dd09f3d6267524b.zip |
Append PATH_INFO to ensure that file can be loaded on update
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.htaccess b/.htaccess index 5401320d577..aabdafa0db4 100644 --- a/.htaccess +++ b/.htaccess @@ -45,13 +45,12 @@ RewriteRule ^(\.|autotest|occ|issue|indie|db_|console).* - [R=404,L] # Rewrite rules for `front_controller_active` - SetEnv front_controller_active true Options -MultiViews <IfModule mod_dir.c> DirectorySlash off </IfModule> - RewriteRule ^core/js/oc.js$ index.php [PT,E=PATH_INFO:$1] - RewriteRule ^core/preview.png$ index.php [PT,E=PATH_INFO:$1] + RewriteRule ^core/js/oc.js$ index.php/core/js/oc.js [PT,E=PATH_INFO:$1] + RewriteRule ^core/preview.png$ index.php/core/preview.png [PT,E=PATH_INFO:$1] RewriteCond %{REQUEST_FILENAME} !\.(css|js|svg|gif|png|html|ttf|woff)$ RewriteCond %{REQUEST_FILENAME} !/remote.php RewriteCond %{REQUEST_FILENAME} !/public.php |