Plesk, Confixx, Froxlor, SysCP, SeCoTo, IspCP, etc.
sacha
Posts: 65 Joined: 2002-11-11 19:01
Location: Aachen, NRW, Germany
Contact:
Post
by sacha » 2003-06-16 09:18
Hi,
ich habe in der confixx_vhost.conf bei einenm virtuellen host das Apache Logfile-Format auf combined umgestellt:
Code: Select all
<VirtualHost 217.160.xxx.xx:80>
DocumentRoot /home/www/confixx/html/gesperrt
</VirtualHost>
<VirtualHost 217.160.xxx.xx:80>
ServerName domain.de
ServerAlias www.domain.de
web1.pxxxxxxxx.pureserver.info
DocumentRoot /home/www/web1/html
User web1
Group ftponly
ScriptAlias /cgi-bin/ /home/www/web1/html/cgi-bin/
CustomLog /var/log/httpd/access_log combined
php_admin_value open_basedir /home/www/web1/
php_admin_value upload_tmp_dir /home/www/web1/phptmp/
php_admin_flag safe_mode Off
</VirtualHost>
vermutlich wird diese Aenderung beim naechsten Confixx-Update ueberschrieben. Wie kann ich das Logfile-Format umstellen, ohne das Confixx die Aenderung wieder ueberschreibt?
Danke und Ciao,
Sacha
bfal
Posts: 68 Joined: 2002-07-07 15:12
Location: Lüneburg
Post
by bfal » 2003-06-16 11:46
Hei,
einfach im Admin unter httpd Spezial z.b. Folgende Zeilen für Alle Domains setzen:
ErrorLog /var/www/##user##/log/##domain##_error.log
CustomLog /var/www/##user##/log/##domain##_access.log "%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i""
mfg
Björn
captaincrunch
Userprojekt
Posts: 7066 Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
Post
by captaincrunch » 2003-06-16 11:57
Ich verschiebe mal ins Admin-Tools, da Confixx-Frage
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
bonanza
Posts: 39 Joined: 2003-07-12 14:26
Post
by bonanza » 2003-12-27 12:22
Wenn ich das so schreibe für alle DOmains;
ErrorLog /var/www/##user##/log/##domain##_error.log
CustomLog /var/www/##user##/log/##domain##_access.log "%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i""
setzt er dann für die Rauten die jeweilige Domain und den User ein?