- reloaded for mod_gzip 2.1.0
authorduddits <duddits@pld-linux.org>
Mon, 9 Feb 2009 18:44:17 +0000 (18:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_gzip.conf -> 1.3
    apache-mod_gzip.logrotate -> 1.1

apache-mod_gzip.conf [new file with mode: 0644]
apache-mod_gzip.logrotate [new file with mode: 0644]

diff --git a/apache-mod_gzip.conf b/apache-mod_gzip.conf
new file mode 100644 (file)
index 0000000..b0c99f8
--- /dev/null
@@ -0,0 +1,15 @@
+LoadModule mod_gzip modules/mod_gzip.so
+
+# Example configuration
+# Look into /usr/share/doc/apache-mod_gzip-<version>/samples.txt.gz
+# for further instructions
+<IfModule mod_gzip.c>
+     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
+</IfModule>
diff --git a/apache-mod_gzip.logrotate b/apache-mod_gzip.logrotate
new file mode 100644 (file)
index 0000000..799f4da
--- /dev/null
@@ -0,0 +1,6 @@
+/var/log/httpd/mod_gzip_log {
+    olddir /var/log/archive/httpd
+    postrotate
+       /bin/killall -HUP httpd
+    endscript
+}
This page took 0.037675 seconds and 4 git commands to generate.