LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-06-2011, 05:56 PM   #1
kitek
Member
 
Registered: Apr 2005
Posts: 252

Rep: Reputation: 15
Weblizer - Making reports on virtual servers and moving them to view on the net


I currently know how to run a traffic report on the whole host. How can I setup a cron job to run the report on a paticular virtual host and move it to the directory where it can be view over the net?
 
Old 04-18-2011, 03:34 PM   #2
phptek
LQ Newbie
 
Registered: May 2009
Location: Kapiti, NZ
Distribution: Fedora 14
Posts: 9

Rep: Reputation: 1
Quote:
Originally Posted by kitek View Post
I currently know how to run a traffic report on the whole host. How can I setup a cron job to run the report on a paticular virtual host and move it to the directory where it can be view over the net?
You didn't say which webserver you're using but if you know how to invoke webalizer to parse your webserver's logs, and you know how to run a cron (?) then you're 2/3rds the way to figuring this out for yourself :-)

In order to be able to publicly view Webalizer's HTML pages, I would assume it has some config option to tell it where to drop them.

So assuming you're running Apache (similar for other webservers) and you're running websites on different hosnames using Apache VHosts for example, then in each <VirtualHost> directive in conf/extra/httpd-vhosts.conf you add one or two lines to tell Apache where to output the error and access logs.

Again in Webalizer's config, there should be a way to either run one Webalizer instance, and tell it about your individual hosts (and their logs), or you setup one Webalizer instance for each host, pointing it at the webserver's logfiles for that host.

Good luck
Russell
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving servers with basic port redirect MrSparky Linux - Server 7 08-15-2008 04:31 PM
Moving Data From Servers via LAN? carlosinfl Linux - Server 9 02-26-2008 09:02 PM
net view gautam143 Linux - Networking 4 09-16-2007 09:31 AM
Moving user passwords across servers wheel Linux - General 2 04-04-2006 10:29 AM
net view/net use rogk Linux - Networking 2 06-22-2004 04:35 PM


All times are GMT -5. The time now is 02:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration