pkgsrc/www/wwwcount/files/wwwcount.conf

70 lines
2.6 KiB
Text

###-----------------------------------------------------------------------
### configuration file for Count 2.5
###
### Note: Configuration file format for Count 2.5 is different than
### older versions. -- mm
### The format of the file is described below:
### - Any line starts with # or ; is considered comment and ignored.
### - A section in the file is inside left and right bracket.
### - Each section has parameters below the section.
###
### Please read the Configuration section in the counter webpage for details.
### The official counter homepage is at URL:
### http://www.fccc.edu/users/muquit/Count.html
###----------------------------------------------------------------------
[version]
2.5
##-- options section
; If auto_file_creation=Yes, then the users can create data files. It IS
; dangerous to set this option to Yes.
#
; strict_mode=Yes or No. Run the program in strict mode or not. It's a good
; idea to set this option to Yes.
#
; allow_rgb_database=Yes or No. Convenient to use because colorname e.g., red,
; gold etc can be used instead of rgb components of the color, however it is
; very inefficient to lookup. If your site is busy, set this option to No.
#
; count_reload=Yes or No. It is a good idea to set this option to No. But
; you've to set this option to Yes if you are running a proxy server.
; Normally set this option to Yes.
#
; log_error_messages=Yes or No. If your site is extremely busy and if the
; counter generates lots of logs, set this option to No. Normally set this
; option to Yes.
#
; show_error_messages_to_browsers=Yes or No. Set this option to No if you're
; concerned with privacy and you're sure that the counter works perfectly.
; If you set this option to No, you will not see error messages.
[options]
auto_file_creation=No
strict_mode=Yes
allow_rgb_database=No
count_reload=Yes
log_error_messages=Yes
show_error_messages_to_browsers=Yes
; You can specify IP address of the hosts you want to ignore from
; counting. Netmasks can be used to ignore a entire network or a
; specific range of hosts in the network. Read the counter
; documentation to know about netmasks. Wild card can be used as
; well. One item per line.
;
[ignore IPs]
10.10.0.0 255.0.0.0
172.16.0.0 255.255.0.0
192.168.0.0 255.255.0.0
; All possible names and IP addresses by which your host can be
; referred. These hosts can access the counter remotely or locally.
; Host running the http server must exist here. Wild cards can be
; used. One item per line. NOTE: 192.0.2.0/24 is listed as the
; TEST-NET.
;
[authorized]
www.your.domain
www
192.0.2.1