CodeIgniter Forums
htaccess + gzip - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: htaccess + gzip (/thread-28905.html)

htaccess + gzip - El Forum - 03-24-2010

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?


htaccess + gzip - El Forum - 08-25-2010

Same problem here... please reply anyone?

htaccess + gzip - El Forum - 08-25-2010


htaccess + gzip - El Forum - 08-25-2010

Check this link out.

Just did a google search and found this.