Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Jan 17, 2011 11:14 am 
Offline
Senior Newbie

Joined: Mon Jan 17, 2011 10:40 am
Posts: 7
Hi all! I'm trying to enable compression by using mod_deflate.

I've been following this guide: http://www.howtoforge.com/apache2_mod_deflate

For some reason it's not working for my virtual hosts. I've enabled file compression as described in section #2.2, but checking the logs I find things like this:

"GET /www.example.com/ambiental.html HTTP/1.1" -/- (-%)
"GET /www.example.com/principal.css HTTP/1.1" -/- (-%)
"GET /styles.css HTTP/1.1" 1974/8483 (23%)

So it seems that it's compressing the main website but not the virtual hosts. The specified configuration (2.2 Explicit Exclusion Of Files By Extension) was included in the main section, should I move that to each virtual host? how can I configure this as default for all the virtual hosts? As I've read, the <Location> will match objects at the URL level, thus <Location /> in the main section should match any website (virtual or not), is this right?

Thanks in advance for any suggestion.
LU.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group