Htaccess File

cogentParadigm/Starbug/master/.htaccess

DEFLATE, POST, REQUEST_URI, static
# disable magic quotes
php_flag magic_quotes_gpc off

# disable mod security
<IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
</IfModule>

# compress static resources
AddOutputFilterByType DEFLATE text/html
<Files ~ ".(gif|jpe?g|png|js|css|txt|html)$">
  SetOutputFilter DEFLATE
</files>

# cache for 2 weeks by default
ExpiresActive On
ExpiresDefault A1209600

RewriteEngine On
RewriteCond %{REQUEST_URI} !public/(.*)$
RewriteCond %{REQUEST_URI} !libraries/(.*)$
RewriteRule (.*) index.php
Exit mobile version