CodeIgniter Forums

Full Version: htaccess + gzip
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

Hi i need a help xd.. i try use gzip for compress css and js.. but i dont know what need put in the .htaccess-


my htaccess is
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1 [L]
RewriteCond %{HTTP_HOST} ^www\.site\.com$ [NC]  
RewriteRule ^(.*)$$1 [R=301,QSA,L]

this htaccess its place in root site.

i have in a directory the css in.. root/files/css/

now.. what i need put in the htacess for use the gzip?


El Forum

Same problem here... please reply anyone?

El Forum


El Forum

Check this link out.

Just did a google search and found this.