From a68c47e83d6ce792362f1111c53c26077bb38a06 Mon Sep 17 00:00:00 2001 From: James Barnsley Date: Tue, 28 Mar 2017 19:50:57 +1300 Subject: [PATCH] Removing htaccess in favor of proper Apache2 config --- mopidy_iris/static/.htaccess | 15 --------------- src/.htaccess | 15 --------------- 2 files changed, 30 deletions(-) delete mode 100755 mopidy_iris/static/.htaccess delete mode 100755 src/.htaccess diff --git a/mopidy_iris/static/.htaccess b/mopidy_iris/static/.htaccess deleted file mode 100755 index 7f146c2a..00000000 --- a/mopidy_iris/static/.htaccess +++ /dev/null @@ -1,15 +0,0 @@ -RewriteEngine On - -RewriteBase /iris/ - -# Handle Mopidy-Images requests -# TODO: Look to move this into the Thumbnail component -RewriteRule ^images/(.*)$ http://%{HTTP_HOST}:6680/images/$1 [NC,L] - -# Rewrite iris subfolder -# This is required so our HTML file can use /iris/ as baseURL for mopidy-styled domain (ie localhost:6680/iris/index.html) -RewriteRule ^iris/(.*)$ /$1 [NC,L] - -RewriteCond %{REQUEST_FILENAME} !-f -RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule . /index.html [L] diff --git a/src/.htaccess b/src/.htaccess deleted file mode 100755 index 7f146c2a..00000000 --- a/src/.htaccess +++ /dev/null @@ -1,15 +0,0 @@ -RewriteEngine On - -RewriteBase /iris/ - -# Handle Mopidy-Images requests -# TODO: Look to move this into the Thumbnail component -RewriteRule ^images/(.*)$ http://%{HTTP_HOST}:6680/images/$1 [NC,L] - -# Rewrite iris subfolder -# This is required so our HTML file can use /iris/ as baseURL for mopidy-styled domain (ie localhost:6680/iris/index.html) -RewriteRule ^iris/(.*)$ /$1 [NC,L] - -RewriteCond %{REQUEST_FILENAME} !-f -RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule . /index.html [L]