Shagshag/Smalte/develop/.htaccess - Htaccess File

Shagshag/Smalte/develop/.htaccess

# (c) Smalte - 2013 ~ Until the end of the world...
#
# Thanks a lot to our community!
#
# Official website: http://smalte.org
# For the source repository: http://github.com/Smalte/Smalte
# Read LICENCE file for more information.

# SECTION: PHP

# OVH.com: To enable PHP 5.4, uncomment next line
#SetEnv PHP_VER 5_4

# 1and1.com: To enable PHP 5.4, uncomment next line
#AddHandler x-mapp-php6 .php

# SECTION: Rewrite

<IfModule mod_rewrite.c>
    RewriteEngine on
  # To use specific base, uncomment next line
    #RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

# SECTION: Security

RedirectMatch 403 ^/(controllers|data|entities|libraries|modules|views|.git).*$
Options +FollowSymLinks -Indexes -MultiViews

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache