23y4d/CoreShortUrl/master/.htaccess - Htaccess File

23y4d/CoreShortUrl/master/.htaccess

#
#   @package   htaccess securtiy
#   @author    Zeyad Besiso <zeyad.besiso@gmail.com>
#
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$ $1.php
RewriteRule ^([a-zA-Z0-9]+)/?$ r.php?url=$1 [L,QSA]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache