Hiroto-K/ShortURL/master/.htaccess
DirectoryIndex index.php .ht
RedirectMatch 404 /.git
RedirectMatch 404 /vendor
RedirectMatch 404 /test
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.+) /redirect.php?hash=$1
Files
