Page 1 of 1
awstats für mehrer vhosts
Posted: 2004-01-19 15:14
by theomega
Hallo Leute,
ich versuche folgendes zu realisieren:
ich habe für awstats eine Master-Configurations-Datei, in der alles Konfiguriert ist. Außerdem habe ich für jedem Domain eine kleine Configdatei, in der aber nur der logpfad und die domains gesetzt sind.
Wie kann ich jetzt die Verbindung realisieren? Dass also awstats die Haupt-Konfig nimmt und je nachdem die richtige Logdatei nimmt.
Danke und Grüße
TO
Re: awstats für mehrer vhosts
Posted: 2004-01-23 14:15
by darki
#-----------------------------------------------------------------------------
# INCLUDES
#-----------------------------------------------------------------------------
# You can include other config files using the directive with the name of the
# config file.
# This is particularly usefull for users who have a lot of virtual servers, so
# a lot of config files and want to maintain common values in only one file.
# Note that when a variable is defined both in a config file and in an
# included file, AWStats will use the last value read.
#
#Include ""
Re: awstats für mehrer vhosts
Posted: 2004-01-23 14:20
by theomega
geht das eigentlich auch auf mehrer Ebenen:
1. eine awstats.conf, mit der hauptconfig
2. eine vhosts.conf, die nur alle vhosts included
3. die eizelnen vhosts!
Re: awstats für mehrer vhosts
Posted: 2004-01-23 14:26
by static
Hi,
ich weiss nicht ob ich dich richtig verstehe, aber es reicht doch wenn du eine Hauptconfig hast und die variablen Dinge (Pfad zum Logfile, Domainname) in je eine datei awstats.
www.domain.de.conf im Verzeichnis /etc/awstats o.ä. ablegst... Der Rest wird doch durch das Updatescript automatisch erledigt?
.static
mit confixx?
Posted: 2004-01-26 16:13
by daniel_p
Habe dieses hier mal gefunden & noch nicht getestet. sieht aber interessant aus. ganz oben unter snippets awstats for confixx
http://giombetti.com/snippets.gio
Re: awstats für mehrer vhosts
Posted: 2004-03-01 15:07
by michas.
hat das teil noch niemand getestet?
was muß modifiziert werden?