Hi slugs,
I'm wanting to implement e-smith SME V5 server.
I'd like to use webalizer with the virtual domains.
I'm used to having the access_log in each V.domains area however SME
currently has all http hits log into one file.
I've looked on the e-smith site and google but can't find anything.
I believe the file to edit is called 45CustomLogs but just not sure
how/where to edit it.
For example Domain1, Domain2, etc, or %Domain/access_log... something like
that.
The file is copied below and any help would be appreciated!
TIA Ben
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
LogFormat "%h %l %u %t \"%r\" %>s %b \"%\{Referer\}i\" \"%\{User-Agent\}i\""
combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%\{Referer\}i\"
\"%\{User-Agent\}i\"" combined_virtual
LogFormat "%\{Referer\}i -> %U" referer
LogFormat "%\{User-agent\}i" agent
# The location of the access logfile (Common Logfile Format).
# If this does not start with /, ServerRoot is prepended to it.
# CustomLog logs/access_log common
CustomLog { makelogfilename("/var/log/httpd/access_log") } combined_virtual
# If you would like to have an agent and referer logfile uncomment the
# following directives.
#CustomLog logs/referer_log referer
#CustomLog logs/agent_log agent
# If you prefer a single logfile with access, agent and referer information
# (Combined Logfile Format) you can use the following directive.
#CustomLog logs/access_log combined