Updated all templates to use instance variables
This commit is contained in:
parent
a0c854d3c0
commit
dc51af1ca2
113 changed files with 527 additions and 522 deletions
|
@ -25,7 +25,7 @@
|
|||
# the log filename ends in '.gz' (ie: a gzip compressed file), it will
|
||||
# be decompressed on the fly as it is being read.
|
||||
|
||||
LogFile /srv/www/log/<%= name %>/access_log
|
||||
LogFile /srv/www/log/<%= @name %>/access_log
|
||||
|
||||
# LogType defines the log type being processed. Normally, the Webalizer
|
||||
# expects a CLF or Combined web server log as input. Using this option,
|
||||
|
@ -39,7 +39,7 @@ LogFile /srv/www/log/<%= name %>/access_log
|
|||
# should be a full path name, however relative ones might work as well.
|
||||
# If no output directory is specified, the current directory will be used.
|
||||
|
||||
OutputDir /srv/www/webalizer/html/<%= name %>
|
||||
OutputDir /srv/www/webalizer/html/<%= @name %>
|
||||
|
||||
# HistoryName allows you to specify the name of the history file produced
|
||||
# by the Webalizer. The history file keeps the data for up to 12 months
|
||||
|
@ -49,7 +49,7 @@ OutputDir /srv/www/webalizer/html/<%= name %>
|
|||
# it will be kept in the specified output directory. Otherwise, the path
|
||||
# is relative to the output directory, unless absolute (leading /).
|
||||
|
||||
HistoryName /srv/www/webalizer/history/<%= name %>/webalizer.hist
|
||||
HistoryName /srv/www/webalizer/history/<%= @name %>/webalizer.hist
|
||||
|
||||
# Incremental processing allows multiple partial log files to be used
|
||||
# instead of one huge one. Useful for large sites that have to rotate
|
||||
|
@ -73,7 +73,7 @@ Incremental yes
|
|||
# kept in the normal output directory. If you don't specify "Incremental"
|
||||
# as 'yes' then this option has no meaning.
|
||||
|
||||
IncrementalName /srv/www/webalizer/history/<%= name %>/webalizer.current
|
||||
IncrementalName /srv/www/webalizer/history/<%= @name %>/webalizer.current
|
||||
|
||||
# ReportTitle is the text to display as the title. The hostname
|
||||
# (unless blank) is appended to the end of this string (seperated with
|
||||
|
@ -91,7 +91,7 @@ IncrementalName /srv/www/webalizer/history/<%= name %>/webalizer.current
|
|||
# try to get the hostname via a uname system call. If that fails,
|
||||
# it will default to "localhost".
|
||||
|
||||
HostName <%= site_fqdn %>
|
||||
HostName <%= @site_fqdn %>
|
||||
|
||||
# HTMLExtension allows you to specify the filename extension to use
|
||||
# for generated HTML pages. Normally, this defaults to "html", but
|
||||
|
@ -119,7 +119,7 @@ PageType shtml
|
|||
# Default is 'no'. This only changes the behaviour of the 'Top
|
||||
# URL's' table.
|
||||
|
||||
UseHTTPS <% if site_proto == 'https' %>yes<% else %>no<% end %>
|
||||
UseHTTPS <% if @site_proto == 'https' %>yes<% else %>no<% end %>
|
||||
|
||||
# DNSCache specifies the DNS cache filename to use for reverse DNS lookups.
|
||||
# This file must be specified if you wish to perform name lookups on any IP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue