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
![REQUEST_FILENAME](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/Hiroto-K/ShortURL-htaccess.png)