lsnull/Alto/master/.htaccess - Htaccess File

lsnull/Alto/master/.htaccess

AddDefaultCharset UTF-8
Options -Indexes
RewriteEngine On

# Rule for redirect from www.sitecom to site.com
# If you want to turn on this rule then delete symbol # in two next lines
#RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC]
#RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

#RewriteBase /
RewriteCond %{REQUEST_FILENAME} !favicon.ico
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ ./index.php
# Alternative rule
#RewriteRule ^(.*)$ /index.php

# Deny access
<Files "plugins.dat">
    order allow,deny
    deny from all
</Files>
<Files "plugin.xml">
    order allow,deny
    deny from all
</Files>
<Files ~ ".tpl$">
    Order allow,deny
    Deny from all
</Files>

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME

Comments

Apache