Adam,
I used
LogFormat "%h %l %u %t \"%r\" %>s %b mod_gzip: %{mod_gzip_result}n
In:%{mod_gzip_input_size}n Out:%{mod_gzip_output_size}n:%{mod_gzip_compres$
CustomLog /home/log/httpd/access_log common_with_mod_gzip_info2
different file location to reflect files on my box, appears though
common_with_mod_gzip_info2 is not automatically generated after apache
restart, do you need to manually include a file of same name under
/home/log/httpd/
to get it to generate the log file?
Colm
-----Original Message-----
From: Adam Hope [mailto:[EMAIL PROTECTED]
Sent: 13 October 2003 10:57
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] Mod_Gzip
Sorry I missed this bit. Just below the LogFormat directive you need:
Either:
CustomLog /usr/local/apache/logs/access_log common_with_mod_gzip_info1
Or:
CustomLog /usr/local/apache/logs/access_log common_with_mod_gzip_info2
Depending on home much information you need these will alternate between the
LogFormat lines you added. The latter provides far more information.
Adam.
> -----Original Message-----
> From: Colm Brazel [mailto:[EMAIL PROTECTED]
> Sent: 13 October 2003 10:37
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] Mod_Gzip
>
>
> Adam,
>
> Have made those changes now for LogFormat directive and
> restarted apache and am looking at access log, but don't see
> where it gives the compression ratios, where in any given
> access log piece of info should I see this?
>
> ta
>
> Colm
>
> -----Original Message-----
> From: Colm Brazel [mailto:[EMAIL PROTECTED]
> Sent: 13 October 2003 10:02
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] Mod_Gzip
>
>
> Hi Adam,
>
> Yep, that much better than the config file I was using. I
> used it with one minor change putting
> /home/tmp/mod_gzip-1.3.26.1a for temp directory. Works
> great, thanks.
> I`ll have a go at changing the LogFormat
> directive later.
>
>
> thanks again
>
>
>
> Colm
>
>
>
>
>
>
> www.cbweb.net
> [EMAIL PROTECTED]
>
>
> -----Original Message-----
> From: Adam Hope [mailto:[EMAIL PROTECTED]
> Sent: 13 October 2003 08:04
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] Mod_Gzip
>
>
> Hi Colm,
>
> In the apache httpd.conf make sure you load the gzip_module
> after the CF one.
>
> # Example:
> # LoadModule foo_module libexec/mod_foo.so
> LoadModule coldfusion_module libexec/mod_coldfusion.so
> LoadModule gzip_module libexec/mod_gzip.so
>
> The use ifmodule for the mod_gzip settings:
>
> <IfModule mod_gzip.c>
> mod_gzip_on yes
> mod_gzip_dechunk yes
> mod_gzip_min_http 1001
> mod_gzip_temp_dir /tmp/gzip
> mod_gzip_handle_methods GET POST
> mod_gzip_minimum_file_size 4500
> mod_gzip_can_negotiate Yes
> mod_gzip_update_static No
> mod_gzip_item_exclude mime ^image/
> mod_gzip_item_exclude file \.jpg$
> mod_gzip_item_exclude file \.gif$
> mod_gzip_item_include file \.htm$
> mod_gzip_item_include mime text/html*
> mod_gzip_item_include mime ^text/plain$
> mod_gzip_item_include file \.html$
> mod_gzip_item_include handler type-coldfusion
> mod_gzip_item_include file \.cfm$
> mod_gzip_item_include mime ^httpd/unix-directory$
> mod_gzip_keep_workfiles No
> </IfModule>
>
> The above will use mod_gzip on anything but image files.
>
> Then you can also add the following 2 lines to the LogFormat
> directive to see your compression ratios in access_log.
>
> LogFormat "%h %l %u %t \"%r\" %>s %b mod_gzip:
> %{mod_gzip_compression_ratio}npct."
> common_with_mod_gzip_info1 LogFormat "%h %l %u %t \"%r\" %>s
> %b mod_gzip: %{mod_gzip_result}n In:%{mod_gzip_input_size}n
> Out:%{mod_gzip_output_size}n:%{mod_gzip_compression_ratio}npct."
> common_with_mod_gzip_info2
>
> We have had no problems with form post/gets/uploads using CF5
> and mod_gzip.
>
> Adam.
>
> > -----Original Message-----
> > From: Colm Brazel [mailto:[EMAIL PROTECTED]
>
> > Hi,
> >
> > Just installed mod_gzip module on Apache and the pages fly,
> all that
> > is except the .cfm pages. Anyone got mod_gzip compression
> on apache to
> > work with .cfm pages on CF 5.0, or are there issues around this?
> >
> > Colm
>
> --
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED] For human help, e-mail:
> [EMAIL PROTECTED]
>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003
>
>
> --
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED] For human help, e-mail:
> [EMAIL PROTECTED]
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003
>
>
> --
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED] For human help, e-mail:
> [EMAIL PROTECTED]
>
>
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]