Removing htaccess in favor of proper Apache2 config

This commit is contained in:
James Barnsley
2017-03-28 19:50:57 +13:00
parent 379fe3eb06
commit a68c47e83d
2 changed files with 0 additions and 30 deletions

View File

@ -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]

View File

@ -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]