(Hopefully the correct forum)
Quick question, is mod_gzip installed on the server and if so can it be turned on via a htaccess file on the end-users site?
The reason I enquire is that I've been trying to get mod_gzip enabled via htaccess this evening without any luck.
http://whatsmyip.org/mod_gzip_test/ is a handy tool for checking if a page/thing is going through the compression. I've been attempting to enable it by adding the following...
Code:
<IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_handle_methods GET POST
mod_gzip_item_exclude reqheader "User-agent: Mozilla/4.0[678]"
mod_gzip_item_exclude mime ^image/.*$
mod_gzip_item_include file \.js$
mod_gzip_item_include file \.css$
mod_gzip_item_include file \.pl$
mod_gzip_item_include file \.cgi$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/html$
mod_gzip_item_include mime ^text/plain$
mod_gzip_item_include mime ^httpd/unix-directory$
</IfModule>
...code based on a
website hosting I found but can't recall off hand. Obvious if mod_gzip isn't installed on the server I shan't be able use it though the feature seems quote useful.
EDIT: Found the
website hosting I took the code from
http://www.webmasterworld.com/forum10/4198.htm