Htaccess File

DeltaWolf7/Arc/master/.htaccess

REQUEST_FILENAME
Options -Indexes

<ifModule mod_gzip.c>
    mod_gzip_on Yes
    mod_gzip_dechunk Yes
    mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
    mod_gzip_item_include handler ^cgi-script$
    mod_gzip_item_include mime ^text/.*
    mod_gzip_item_include mime ^application/x-javascript.*
    mod_gzip_item_exclude mime ^image/.*
    mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>

<IfModule php5_module>
    php_flag session.cookie_httponly on
</IfModule>

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    #comment out to keep trailing slashes
    RewriteRule ^(.+)/$ $1 [R=307,L]
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    #QSA - No append, NC - not case sencertive, L - last rule
    RewriteRule ^(.*)$ index.php?$1 [QSA,NC,L]
</IfModule>
Exit mobile version