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
awstats für mehrer vhosts
Re: awstats für mehrer vhosts
#-----------------------------------------------------------------------------
# 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 ""
# 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
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!
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
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
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?
Habe dieses hier mal gefunden & noch nicht getestet. sieht aber interessant aus. ganz oben unter snippets awstats for confixx
http://giombetti.com/snippets.gio
http://giombetti.com/snippets.gio
Re: awstats für mehrer vhosts
hat das teil noch niemand getestet?
was muß modifiziert werden?
was muß modifiziert werden?
