Current time: 10-05-2024, 09:09 AM Hello There, Guest! (LoginRegister)


Post Reply 
Enable mod_deflate or gzip
Author Message
seba22 Offline
Junior Member
*

Posts: 39
Joined: Jul 2008
Reputation: 0
Post: #1
Enable mod_deflate or gzip
Hello,

I have to set up a compression for one of my domain working under ispCP Omega.

I'm try for test to add this line

<Files *.js>
SetOutputFilter DEFLATE
</Files>

into .htaccess file in root of htdocs user directory but doesn't work.
Server send me a uncompressed data.

Can you tell me any other ideas how to enable this function ?

Regards
I find it

cp /etc/apache2/mod-available/deflate* /etc/apache2/mod-enabled
then
nano /etc/apache2/mod-enabled/deflate.conf

on bottom add
<IfModule mod_deflate.c>
<FilesMatch "\.(js|css)$">
SetOutputFilter DEFLATE
</FilesMatch>
</IfModule>


then save

/etc/init.d/apache2 restart

Done Smile
(This post was last modified: 06-25-2009 06:41 AM by seba22.)
06-25-2009 06:22 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Enable mod_deflate or gzip - seba22 - 06-25-2009 06:22 AM
RE: Enable mod_deflate or gzip - kilburn - 06-25-2009, 06:44 AM
RE: Enable mod_deflate or gzip - seba22 - 06-25-2009, 06:51 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)