Hi guys, I use Apache 1.3 with the mod_gzip module loaded on the server. I'd like to compress all the static files like CSS and JS
I have the code below in my .htaccess file on the root but for some reason it still says that the files are not compressed. Any ideas? am I missing something? <IfModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file .(html?|txt|css|js|php|pl|jpg|png|gif) $ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* </IfModule> Thank you for your help in advance -- NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected]
