azlux/Simple-URL-Shortener/master/.htaccess - Htaccess File

azlux/Simple-URL-Shortener/master/.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine on

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule ^(.*)$ ./index.php?site=$1
</IfModule>

<Files "database.sqlite3">
    Order Allow,Deny
    Deny from all
</Files>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache