# Remove the question mark from the request but maintain the query string
RewriteEngine On
php_value post_max_size 5024M
php_value upload_max_filesize 5024M
# Uncomment the following line if your public folder isn't the web server's root
# RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ index.php?$1 [L,QSA]
# DO NOT REMOVE THIS LINE AND THE LINES BELOW SSL_REDIRECT:zestframework.xyz
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} ^zestframework.xyz$
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
# DO NOT REMOVE THIS LINE AND THE LINES ABOVE SSL_REDIRECT:zestframework.xyz
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType text/html "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 1 month"
<FilesMatch ".(js|css|xml|gz|html|php)$">
Header append Vary: Accept-Encoding
</FilesMatch>
</IfModule>
## EXPIRES CACHING ##
|