Perlbal - Perlbal as webserver

This is Interesting: Free IT Magazines  
Home > Archive > Perlbal > May 2007 > Perlbal as webserver





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Perlbal as webserver
Ashish Padave

2007-05-14, 7:11 pm

Hi,

I was thinking of using perbal to forward requests for static content to=20
lighttpd and all php requests to Apache. Can the perbal I am using for=20
loadbalancing do the serving for static content? Is this advisable? Is th=
ere=20
some special configuration?

Thanks

Ashish
----- Original Message -----=20
From: "Ask Bj=F8rn Hansen" <ask@develooper.com>
To: "Ashish Padave" <ashishpadave@gmail.com>
Cc: <perlbal@lists.danga.com>
Sent: Friday, May 11, 2007 11:10 PM
Subject: Re: LAMP - perbal and wackamole - suggestions pls.


>
> On May 11, 2007, at 2:42 PM, Ashish Padave wrote:
>
>
> You could do that. However, since you only have two servers there's n=

o=20
> practical reason to distribute the perlbal load anyway. I would setup=

=20
> perlbal on both boxes and just have wackamole move your public IP betw=

een=20
> the two.
>
> If you need to bind to specific IPs (rather than just *:80) you can on=

=20
> Linux allow processes to bind to not-local IP addresses with
>
> echo 1 > /proc/sys/net/ipv4/ip_nonlocal_bind
>
> or the similar sysctl switch.
>
> http://www.apsis.ch/pound/pound_lis...2/1165619148000
> http://develooper.com/talks/Real-Wo...2007-r12.pdf=20
> (page ~77)
>
> - ask
>
>
> --=20
> http://develooper.com/ - http://askask.com/
>
>=20



Ask Bjørn Hansen

2007-05-14, 7:11 pm


On May 14, 2007, at 1:21 PM, Ashish Padave wrote:

> I was thinking of using perbal to forward requests for static
> content to lighttpd and all php requests to Apache. Can the perbal
> I am using for loadbalancing do the serving for static content? Is
> this advisable? Is there some special configuration?


Yes, that'd be fine.

Either setup the reverse proxy and the web server services on
different IPs or just on different vhosts sharing an IP with the
Vhost plugin.


- ask

--
http://develooper.com/ - http://askask.com/



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com