-
Notifications
You must be signed in to change notification settings - Fork 0
/
mod_ip_count.conf.sample
49 lines (32 loc) · 1.38 KB
/
mod_ip_count.conf.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# $Id: mod_ip_count.conf.sample,v 1.2 2008/11/22 09:10:07 proger Exp $
LoadModule ip_count_module modules/mod_ip_count.so
<IfModule mod_ip_count.c>
# a list of servers running the memcached server (host:port)
# MemCacheServers "localhost:11211 localhost:11210"
# operate on uris containing theese patterns
# UriList ".js index"
# the name of the cookie on what to cache on, falling back to IP# when not present
# MemCacheCookieName
# Fallbackheader if cookie isn't present. It will go to IP# if this isn't there
# MemCacheFallbackHeader
# Max number of requests before failing
# MemCacheMaxRequests 3
# Time period in which the requests have to come (seconds)
# MemCacheMaxTime 60
# Additional blocking time (seconds)
# MemCacheBlockTime 300
# An HTTP code to return in response to a blocked request
# HttpResponse 402
# Don't Actually disable clients, just say you did
# MemCacheJustTesting
# minimum number of client sockets to open
# MemCacheMinSockets
# Soft maximum number of client connections to open
# MemCacheMaxSoftSockets
# Soft maximum number of client connections to open
# MemCacheMaxHardSockets
# Time to live (in seconds) for each client connection
# MemCacheTTL
# IP adresses NOT to perform checks on
# MemCacheAllow "127.0.0.1 for=bar"
</IfModule>