• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
htaccess + gzip

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 ^(.*)$ http://site.com/$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?


Same problem here... please reply anyone?


Check this link out.


Just did a google search and found this.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.