LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Customized fallbak page

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Customized fallbak page
From: "prockter@xxxxxxxxx" <prockter@xxxxxxxxx>
Date: Thu, 31 May 2007 14:29:48 +0100
Hello

fallback=192.168.20.5:80 masq

the information about which virtual host comes in the http request from
the users browser, just like it does when they talk to the real service.

Neil

Gustavo Mateus wrote:
> How can I do that?
> instead of
>         fallback=192.168.20.5:80 masq
> can I use
>         fallback=fallback.domain.com:80 masq
> ?
> 
> 
> 
> prockter@xxxxxxxxx wrote:
>> Hello Gustavo
>>
>> The fallback web server can use virtual hosts just like any other web
>> service so you can provide all sorry pages (little mini sites with
>> graphics and all) from a single server.
>>
>> Or you can use a cgi script which varies what it does base on the
>> environment (which will include virtual host information)
>>
>> Very very ancient web browsers don't send enough information and to
>> support them you will have to use IP based hosting, so if you want a
>> single IP just provide a catch all page for those few (if any) browsers
>>
>> Neil
>> Gustavo Mateus wrote:
>>   
>>> Hi Volker,
>>>
>>> that is what I imagined.
>>> I'll set and ip range for fallbak servers and done!
>>>
>>> Thanks
>>>
>>> Dr. Volker Jaenisch wrote:
>>>     
>>>> Hi Gustavo!
>>>>
>>>> Gustavo Mateus schrieb:
>>>>       
>>>>> I have 10 virtual servers (http) running on one director with 5 real
>>>>> servers and a separated fallback server running lighttpd.
>>>>>
>>>>> I want to customize a fallback server page for each of the 10 web
>>>>> sites running on the virtual servers.
>>>>> The way I imagine it can be done is setting lighttpd to respond to 10
>>>>> different ips. One ip on the fallback server for every virtual server
>>>>> that I have.
>>>>>
>>>>> Is there a way to avoid that? I dont know, some way to use virtual
>>>>> hosts and use just one IP for fallback server?
>>>>>         
>>>> Just to get you right:
>>>> * You have 10 say "domains" running on 5 realservers.
>>>> * If one domain dies you like to  bring up a "sorry-Page" that is
>>>>       
>>
>>
>> Please access the attached hyperlink for an important electronic 
>> communications disclaimer: 
>> http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm
>> _______________________________________________
>> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
>> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
>> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>>
>>
>>   
> 
> 
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users


Please access the attached hyperlink for an important electronic communications 
disclaimer: http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm


<Prev in Thread] Current Thread [Next in Thread>