Only redirect to inventory.claremontmakerspace.org for empty path

This commit is contained in:
Adam Goldsmith 2020-11-16 15:53:06 -05:00
parent e70c8f5266
commit e15944669f

View File

@ -1,4 +1,4 @@
RewriteEngine on
RewriteCond %{HTTP_HOST} ^inv\.claremontmakerspace\.org$
RewriteRule ^(CMS[0-9]{5})$ https://inv.claremontmakerspace.org/index.html?$1 [R,L]
RewriteRule . https://inventory.claremontmakerspace.org/ [R,L]
RewriteRule ^$ https://inventory.claremontmakerspace.org/ [R,L]