gr4v3/sbranco/master/admin/.htaccess
AuthType Basic
AuthName "SandraBranco Backoffice"
AuthUserFile /home/sbranco/admin/.htpasswd
Require valid-user
# user sbranco
# pass sbranco87admin
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^img-([0-9]{1,4}|bautob)?-([0-9]{1,4}|bautob)?/(([A-Za-z0-9/_-]+).(jpg|gif|png))?$ resize.php?width=$1&height=$2&imgfile=$3
# Directs all EE web requests through the site index file
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /admin/index.php/$1 [L]
</IfModule>
On Github License
Files
Download PDF of Htaccess file