Only redirect valid asset tags
This commit is contained in:
parent
ff2bb11a72
commit
feb9d036b8
@ -1,4 +1,4 @@
|
||||
RewriteEngine on
|
||||
RewriteCond %{HTTP_HOST} ^inv\.claremontmakerspace\.org$
|
||||
RewriteRule ^(.+)$ https://inventory.claremontmakerspace.org/hardware/bytag?assetTag=$1 [R,L]
|
||||
RewriteRule ^(CMS[0-9]{5})$ https://inventory.claremontmakerspace.org/hardware/bytag?assetTag=$1 [R,L]
|
||||
RewriteRule . https://inventory.claremontmakerspace.org/ [R,L]
|
||||
|
Loading…
Reference in New Issue
Block a user