]> Pileus Git - ~andy/sunrise/blobdiff - www-apache/mod_qos/files/10_mod_qos.conf
www-apache/mod_qos: New Ebuild for bug 236049. Thanks to Tommy and scarabeus
[~andy/sunrise] / www-apache / mod_qos / files / 10_mod_qos.conf
diff --git a/www-apache/mod_qos/files/10_mod_qos.conf b/www-apache/mod_qos/files/10_mod_qos.conf
new file mode 100644 (file)
index 0000000..c8d0774
--- /dev/null
@@ -0,0 +1,28 @@
+<IfDefine QOS>
+LoadModule qos_module modules/mod_qos.so
+</IfDefine>
+
+#QS_ErrorPage                  /error-docs/qs_error.html
+
+# restricts max concurrent requests for any location which has no
+# individual rule:
+#QS_LocRequestLimitDefault                              200
+
+# limits access to *.gif files to 100 concurrent requests:
+#QS_LocRequestLimitMatch       "^.*\.gif$"              100
+
+# limits concurrent requests to the locations /images and /app/a:
+#QS_LocRequestLimit            /images                  100
+#QS_LocRequestLimit            /app/a                   300
+# limits download bandwidth to 5Mbit/sec:
+#QS_LocKBytesPerSecLimit       /app/a                   640
+
+# two locations (/app/b and /app/c) representing a single application:
+#QS_LocRequestLimitMatch       "^(/app/b/|/app/c/).*$"  300
+
+
+# allows the application to nominate VIP users by sending a
+# "mod-qos-vip" HTTP response header:
+#QS_VipHeaderName              mod-qos-vip
+#QS_SessionKey                 na&5san-sB.F4_0a=%D200ahLK1
+