inventoryrouter/.htaccess

5 lines
240 B
ApacheConf

RewriteEngine on
RewriteCond %{HTTP_HOST} ^inv\.claremontmakerspace\.org$
RewriteRule ^(CMS[0-9]{5})$ https://inventory.claremontmakerspace.org/hardware/bytag?assetTag=$1 [R,L]
RewriteRule . https://inventory.claremontmakerspace.org/ [R,L]