File: remstats.apache.conf

package info (click to toggle)
remstats 1.00a4-8woody1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 4,576 kB
  • ctags: 1,020
  • sloc: perl: 11,706; ansic: 2,776; makefile: 944; sh: 869
file content (46 lines) | stat: -rw-r--r-- 1,117 bytes parent folder | download
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
#BEGIN-REMSTATS#
# This is the remstats configuration block. Don't remove the two
# marker lines.

# Not ScriptAlias because IMAGES/* aren't cgis.
Alias /remstats /var/lib/remstats/cgi

<Directory /var/lib/remstats/cgi>

	AddHandler cgi-script .cgi
	Options ExecCGI
	
	## Would be very nice but doesn't work.
	## We have www-data in the remstats-group and /var/lib/remstats
	## group-writable. That suffices for now.
	#User remstats
	#Group remstats
	
	## Stuff to make Apache expire the files to get them refreshed
	#ExpiresActive on
	## images every 5 minutes, when the data gets updated
	#ExpiresByType image/gif M300
	#ExpiresByType image/png M300
	## html every day
	#ExpiresByType text/html M300
	
	## Secure the command-cgis 
	#<Files "^(whois.cgi|traceroute.cgi|ping.cgi)$">
	#order deny,allow
	#deny from all
	#allow from 192.168. 127.0.0.1
	#</Files>
	
	## Secure the alert and log-cgis
	#<Files "^(alert.cgi|log-event.cgi)$">
	#order deny,allow
	#deny from all
	#allow from 192.168.20.1 192.168.23.3
	#</Files>
	
	## Now they're allowed in
	#order deny,allow
	#allow from all
	
</Directory>
#END-REMSTATS#