qwintry/ffclient/master/web/.htaccess - Htaccess File

qwintry/ffclient/master/web/.htaccess

RewriteEngine on

RewriteCond %{HTTP_HOST} ^www.(.+)$ [NC]
RewriteRule ^ http%{ENV:protossl}://%1%{REQUEST_URI} [L,R=301]

# If a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Otherwise forward it to index.php
RewriteRule . index.php

On Github License

Files

Download PDF of Htaccess file
ENV, HTTP_HOST, protossl, REQUEST_FILENAME, REQUEST_URI

Comments

Apache