ixtrum/forms/master/example/.htaccess
# Apache configuration file (see httpd.apache.org/docs/2.2/mod/quickreference.html)
# disable directory listing
Options -Indexes
# allows symbolic links in this directory
Options +FollowSymLinks
# configure PHP
# <IfModule mod_php5.c>
# php_flag register_globals off
# php_flag zend.ze1_compatibility_mode off
# php_flag session.auto_start off
# </IfModule>
# enable cool URL
<IfModule mod_rewrite.c>
RewriteEngine On
# RewriteBase /
# front controller
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !.(pdf|js|ico|gif|jpg|png|css|rar|zip|tar.gz)$ index.php [L]
</IfModule>
# default charset should be UTF-8
AddDefaultCharset utf-8
# enable gzip compression
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript text/javascript application/javascript application/json
</IfModule>
# allow combined JavaScript & CSS. Inside of script.combined.js you could use <!--#include file="script.js" -->
<IfModule mod_include.c>
<FilesMatch ".combined.(js|css)$">
Options +Includes
SetOutputFilter INCLUDES
</FilesMatch>
</IfModule>
On Github License
Files