Re: Pen webserver with multiple domains

From: Ulric Eriksson (ulric@siag.nu)
Date: Tue Sep 23 2003 - 14:57:50 CEST


On Tue, 23 Sep 2003, Michiel van Es wrote:

> Ulric Eriksson wrote:
>
> >Here's an example. Start pen like this on the host "www":
> >
> > /opt/bin/pen -w /var/run/penstats.html \
> > -p /var/run/pen.pid -l last1:10000 \
> > www:www web1:www web2:www web3:www
> >
> >And penlogd like this on the host called "last1":
> >
> > /opt/bin/penlogd -p /var/run/penlogd.pid \
> > -l /var/log/apache/logs/access_log 10000
> >
> >
> >
> Isn't www and last1 the same host?

They can be, but that's not necessary.

> I use www as the load balancer who servers a virtual http port (the pen
> load balancer) and passes it to the real webserver (www1 and www2)
> And if I use above contruction, will I get the real ip-adresses from the
> real webclients who are passing throgh the pen load balancer so I can
> make webstats with awstats?

If the web servers on www1 and www2 are configured to send their logs to
last1 using penlog, yes.

Ulric



This archive was generated by hypermail 2.1.2 : Tue Sep 23 2003 - 14:59:25 CEST