RE: Pen webserver with multiple domains

From: Michiel van Es (Michiele@info.nl)
Date: Tue Sep 23 2003 - 14:58:28 CEST


> -----Original Message-----
> From: Ulric Eriksson [mailto:ulric@siag.nu]
> Sent: dinsdag 23 september 2003 14:58
> To: Michiel van Es
> Cc: Ulric Eriksson; Dave Borgeest; pen@siag.nu
> Subject: Re: Pen webserver with multiple domains
>
>
>
> 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.

So than I get entries with real ip-adresses?
Cool! :)

> Ulric
>
Michiel



This archive was generated by hypermail 2.1.2 : Tue Sep 23 2003 - 15:08:30 CEST