LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > [solved] htaccess and gzip

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-01-2012, 04:25 PM
mrxUx mrxUx is offline
Member
 
Join Date: Jul 2012
Posts: 23
Default [solved] htaccess and gzip

Hello there, I've a question about how compression works with LSWS, I have it activated and dynamic too, however it looks like it is only compressing php files and nothing else.

For example if I try to go to http://mysite.com/page.php I'll see the header Content-Encoding gzip , gut if I reach the file http://mysite.com/style.css the header doesn't even appear and of course is not being compressed.

Is this how it works? do LSWS only compress elements that are being called by a PHP?

On the compression types I have: text/*

Also I have tried to tweak .htaccess without success

Code:
<FilesMatch "(\.html\.gz|\.css\.gz)$">
Header set Content-Encoding "gzip"
</FilesMatch>
Anyone can bring some light or smack me?

Last edited by NiteWave; 11-06-2012 at 07:18 PM..
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:38 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.