RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]

Options +FollowSymLinks -Indexes

<IfModule mod_deflate.c>
  # Compress all output labeled with one of the following MIME-types
    <IfModule mod_filter.c>
        AddOutputFilterByType DEFLATE application/atom+xml \
                                      application/javascript \
                                      application/json \
                                      application/vnd.ms-fontobject \
                                      application/x-font-ttf \
                                      application/x-web-app-manifest+json \
                                      application/xhtml+xml \
                                      application/xml \
                                      font/opentype \
                                      image/svg+xml \
                                      image/x-icon \
                                      text/css \
                                      text/html \
                                      text/plain \
                                      text/xml
    </IfModule>
</IfModule>

#<Files *.php>
#    Order Deny,Allow
#    Deny from all
#    Allow from 127.0.0.1
#</Files>
#
#<Files index.php>
#    Order Allow,Deny
#    Allow from all
#</Files>
#
#<Files ~ "^.*\.(LOG|log|bak|bk|LCK)">
#  Order allow,deny
#  Deny from all
#  Satisfy All
#</Files>