penteleq/mbmtest/master/.htaccess - Htaccess File

penteleq/mbmtest/master/.htaccess

AuthType Basic
AuthName "My Protected Area"
AuthUserFile /var/www/vhosts/interblockstudios.com/subdomains/test49624/httpdocs/.htpasswd
Require valid-user

Options +FollowSymLinks

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteBase /

    # FORCE SSL REDIRECTION
    #RewriteCond %{ENV:HTTPS} !on [NC]
    #RewriteCond %{HTTP_HOST} !^local [NC]
    #RewriteCond %{HTTP_HOST} !^staging [NC]
    #RewriteRule ^(.*)$ https://test49624.interblockstudios.com/$1 [R,L]

    RewriteRule ^$ app/webroot/ [L]
    RewriteRule (.*) app/webroot/$1 [L]

</IfModule>

On Github License

Files

Download PDF of Htaccess file
ENV, HTTP_HOST, HTTPS

Comments

Apache