Page 1 of 1

HTTP Compression

PostPosted: 14. June 2009 07:40
by sradhakrishna
Hi,

Am fairly a newbie to the webserver world, so please bear with me if my questions sound amatuerish.

On my XAMPP setup, I'd like to enable HTTP compression on all the pages served out of htdocs and its subdirectories. I've tried the following:

Code: Select all
<Directory "C:/xampp/htdocs">
   # RADHA: Setting outputfilter to deflate - compression.
   SetOutputFilter DEFLATE
        ....
</Directory>


I have mod_deflate.so and mod_headers.so enabled, but this doesn't seem to work.

Would appreciate help on setting up the following:

1. How do I enable HTTP compression on all webpages served out of C:/xampp/htdocs and its subdirectories?
2. How do I set a default size - so that all pages greater in size than this default size are compressed?

Thanks for the help in advance!

Regards,
Radha.