sebgeelen/gallory/master/.htaccess - Htaccess File

sebgeelen/gallory/master/.htaccess

AddDefaultCharset UTF-8

order allow,deny
allow from all

RewriteEngine on

RewriteCond %{HTTP_HOST} !^(www.)
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

RewriteCond $1 !^((assets|gallery)[^.]*|[^/]*)?[^/]+(php|html|gif|jpg|jpeg|png|ico|pdf|css|js)$
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST

Comments

Apache