From ff2bb11a7266824bceb7777e9665561d5521ad2a Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 11 Jul 2020 01:24:19 -0400 Subject: [PATCH] Add basic redirect via `.htaccess` `RewriteRule`s --- .htaccess | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .htaccess diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..e601e66 --- /dev/null +++ b/.htaccess @@ -0,0 +1,4 @@ +RewriteEngine on +RewriteCond %{HTTP_HOST} ^inv\.claremontmakerspace\.org$ +RewriteRule ^(.+)$ https://inventory.claremontmakerspace.org/hardware/bytag?assetTag=$1 [R,L] +RewriteRule . https://inventory.claremontmakerspace.org/ [R,L]