990eee49c4
PR: 192587 Submitted by: Roman Modified by: marino SAMS (Squid Account Management System) is a WEB-based interface and tool to manage users of SQUID proxy server. Main features are: * manage users access to SQUID - proxy with NTLM, NCSA authorization or IP address * manage prohibition of users to access to URL * manage to rewrite requested URL to graphical resources (banners, counters) * save and build reports of users statistic * switch of users access to SQUID proxy if his traffic quota is off * manage a delay pools for users groups
48 lines
1,014 B
Text
48 lines
1,014 B
Text
;
|
|
; This is config file for sams2
|
|
; A line started with ; or # is a comment
|
|
;
|
|
|
|
; Database engine
|
|
; To use an engine it must be enabled during configuration
|
|
DB_ENGINE=MySQL
|
|
;DB_ENGINE=PostgreSQL
|
|
;DB_ENGINE=unixODBC
|
|
|
|
; Hostname where database is runing
|
|
; This parameter is not neccesary for unixODBC engine
|
|
DB_SERVER=localhost
|
|
|
|
; Database name
|
|
SAMS_DB=sams2db
|
|
|
|
;
|
|
ODBC=0
|
|
PDO=0
|
|
; Source as defined in odbc.ini
|
|
; This parameter is not neccesary for engine other than unixODBC
|
|
ODBCSOURCE=sams_mysql
|
|
|
|
; Username for database connection
|
|
DB_USER=
|
|
|
|
; Password for database connection
|
|
DB_PASSWORD=
|
|
|
|
SQUIDCACHEFILE=access.log
|
|
SQUIDROOTDIR=/usr/local/etc/squid
|
|
SQUIDLOGDIR=/var/log/squid
|
|
SQUIDCACHEDIR=/var/squid/cache
|
|
|
|
WBINFOPATH=/usr/local
|
|
SAMSPATH=/usr/local
|
|
SQUIDPATH=/usr/local/sbin
|
|
SQUIDGUARDLOGPATH=/var/log
|
|
SQUIDGUARDDBPATH=/var/db/squidguard
|
|
RECODECOMMAND=iconv -f KOI8-R -t 866 %finp > %fout
|
|
REJIKPATH=/usr/local/rejik
|
|
SHUTDOWNCOMMAND=shutdown -h now
|
|
|
|
; Proxy id
|
|
; Identificator of proxy, starting from 1
|
|
CACHENUM=1
|