Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th January 2013, 17:02
zapatas zapatas is offline
Junior Member
 
Join Date: Jan 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Varnish log files and Awstats

I have installed and configured properly nginx+ispconfig. Recently I had to use varnish as a frontend due to high traffic at my server. Everything is working like a charm except for the logging of each virtual host that I have. The main logging of varnish can be done with varnishncsa or varnishlog.

Varnsishncsa seems to be perfect for the needs of awstats or webalizer. The problem is how to configure ispconfig in order to work in a nice way with vlogger and the splitted varninsncsa logs.

I have found that if I use the command

Code:
varnishncsa -m "RxHeader:^Host: domain.com$" -a -w /var/log/ispconfig/http/domain.com/access.log -D
for each virtual domain the log would get in the right place.

Is there a proposed patch or configuration for this to work automatically for each newly created virtual host?
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
webalizer in ispconfig3 pinguinito General 12 4th October 2012 11:50
Read awstats log files alleks Server Operation 1 4th February 2011 15:35
use jawstats / mawstats with ispconfig e100 Tips/Tricks/Mods 3 19th December 2010 12:33
AWStats log of bandwidth bytes george_yohng Developers' Forum 2 15th December 2010 18:19
Suse Ispconfig and AWstats shajazzi Installation/Configuration 4 16th May 2006 00:04


All times are GMT +2. The time now is 05:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.