nickv-phpbb/area51/master/web/.htaccess - Htaccess File

nickv-phpbb/area51/master/web/.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine On

    # Redirect to HTTPS, except for /phpBB
    RewriteCond %{HTTPS} off
    RewriteCond %{REQUEST_URI} !^/phpBB
    RewriteCond %{HTTP_HOST} ^area51.phpbb.com [NC]
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

    RewriteRule "^(.*/)?.git/" - [F,L]

    RewriteRule ^/?$ app.php [QSA,L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ app.php [QSA,L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, HTTPS, REQUEST_FILENAME, REQUEST_URI

Comments

Apache