From c7fde9f0ec8d73229438b00df8054323ac46f339 Mon Sep 17 00:00:00 2001 From: duddits Date: Mon, 9 Feb 2009 18:44:17 +0000 Subject: [PATCH] - reloaded for mod_gzip 2.1.0 Changed files: apache-mod_gzip.conf -> 1.3 apache-mod_gzip.logrotate -> 1.1 --- apache-mod_gzip.conf | 15 +++++++++++++++ apache-mod_gzip.logrotate | 6 ++++++ 2 files changed, 21 insertions(+) create mode 100644 apache-mod_gzip.conf create mode 100644 apache-mod_gzip.logrotate diff --git a/apache-mod_gzip.conf b/apache-mod_gzip.conf new file mode 100644 index 0000000..b0c99f8 --- /dev/null +++ b/apache-mod_gzip.conf @@ -0,0 +1,15 @@ +LoadModule mod_gzip modules/mod_gzip.so + +# Example configuration +# Look into /usr/share/doc/apache-mod_gzip-/samples.txt.gz +# for further instructions + + mod_gzip_on Yes + mod_gzip_item_include file \.htm$ + mod_gzip_item_include mime text/.* + mod_gzip_item_exclude file error/.* + mod_gzip_item_exclude mime ^image/.* + mod_gzip_temp_dir "/tmp" + mod_gzip_command_version mod_gzip_version + CustomLog /var/log/httpd/mod_gzip_log mod_gzip_info2 + diff --git a/apache-mod_gzip.logrotate b/apache-mod_gzip.logrotate new file mode 100644 index 0000000..799f4da --- /dev/null +++ b/apache-mod_gzip.logrotate @@ -0,0 +1,6 @@ +/var/log/httpd/mod_gzip_log { + olddir /var/log/archive/httpd + postrotate + /bin/killall -HUP httpd + endscript +} -- 2.43.0