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

#1
[eluser]tnathos[/eluser]
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-

so..

my htaccess is
Code:
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?

thanks

#2
[eluser]zarpio[/eluser]
Same problem here... please reply anyone?

#3
[eluser]danmontgomery[/eluser]
http://lmgtfy.com/?q=htaccess+gzip

#4
[eluser]ericrjones1[/eluser]
Check this link out.

http://www.samaxes.com/2008/04/htaccess-...th-saving/

Just did a google search and found this.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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