added awstats configuration to FreeBSD, thx to jenus for the great help
This commit is contained in:
@@ -189,6 +189,22 @@ return Array(
|
||||
)
|
||||
)
|
||||
)
|
||||
),
|
||||
'etc' => Array(
|
||||
'label' => $lng['admin']['configfiles']['etc'],
|
||||
'daemons' => Array(
|
||||
'awstats' => Array(
|
||||
'label' => 'Awstats',
|
||||
'commands' => Array(
|
||||
'cd /usr/ports/www/awstats/',
|
||||
'make install clean',
|
||||
'cp /usr/local/www/awstats/cgi-bin/awstats.model.conf '.makeCorrectDir($settings['system']['awstats_conf'])
|
||||
),
|
||||
'files' => Array(
|
||||
'etc_awstats.model.conf' => makeCorrectFile($settings['system']['awstats_conf'].'/awstats.model.conf')
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
# for Froxlor and AWStats to work together
|
||||
# you have to comment out the following
|
||||
# variables
|
||||
|
||||
# look for
|
||||
LogFile=""
|
||||
LogType=""
|
||||
LogFormat=""
|
||||
LogSeparator=""
|
||||
SiteDomain=""
|
||||
DirData="/some/folder/"
|
||||
|
||||
# and comment this out with a hash (#)
|
||||
#LogFile=""
|
||||
#LogType=""
|
||||
#LogFormat=""
|
||||
#LogSeparator=""
|
||||
#SiteDomain=""
|
||||
#DirData="/some/folder/"
|
||||
Reference in New Issue
Block a user