From feb9d036b8a5eef61c9d01a101b8ba7edb7b6b03 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 11 Jul 2020 01:26:47 -0400 Subject: [PATCH] Only redirect valid asset tags --- .htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index e601e66..bcad96b 100644 --- a/.htaccess +++ b/.htaccess @@ -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]