gr4v3/sbranco/master/.htaccess - Htaccess File

gr4v3/sbranco/master/.htaccess

<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 ^(.*)$ /index.php/$1 [L]

        RewriteCond %{HTTP_HOST} ^www.sandrabranco.com$ [NC]
        RewriteRule ^(.*)$ http://sandrabranco.com/$1 [R=301,L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME

Comments

Apache