Inspirativ/gophotoweb-site-eng/master/.htaccess - Htaccess File

Inspirativ/gophotoweb-site-eng/master/.htaccess

<FilesMatch ".(tpl|log)$">
    deny from all
</FilesMatch>

Options -Indexes

RewriteEngine on
Options +FollowSymlinks
RewriteBase /

RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_HOST} !^www..+$ [NC]
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-d  
RewriteCond %{REQUEST_FILENAME} !-f

RewriteRule ^([^.]*).html$ /index.php?$1 [L]
RewriteRule ^([^.]*)$ /index.php?$1 [L]

On Github License

Files

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

Comments

Apache