Re: [Pound Mailing List] Header-Redirect and Listen to 0.0.0.0 in a failover configuration
Peter Shaw <unthoughted-gM/[email protected]>
| Newsgroups | gmane.comp.web.pound.general |
|---|---|
| Message-ID | <[email protected]> |
Update Question: is it possible to set a network range as Address? I can't find an example for eg. 192.168.0.0/24 i tried /24, 192.168.0.0 and 192.168.x.x without any hope. Can't imagine that i am alone with my shared ip configuration. Thanks On Oct 15, 2013, at 12:13 PM, Peter Shaw <unthoughted-gM/[email protected]> wrote: > Hi folks, > > i googled and tested a few hours by now, but i defiantly need your help again. > > I have two pound servers in hot standby. One has IP .10, the oher has IP .20. Both shares a virtual ip .30. If Server A get's down, than Server B take over the shared IP. > I have a config file in sync on both servers. > > Till our last failover test, i configured pound to listen on the shared IP .30. That breaks our test, because pound on Server B was not started, because the shared IP was not configured at start time. > Ok, we change the ListenHTTP address to 0.0.0.0. Pound starts up, and the failover works perfectly. > Problem was solved. --- not really.. > > One of our scripts sends a header redirect to an external site. With the .30 address this configuration works, but since we change the address to 0.0.0.0 every redirect to an external site will be overwritten to the domain url of the backend host. > > my domain http://example.com/foo/bar sends a redirect to eg. http://www.reddit.com/r/pics/ > Pound is translating this redirect to http://example.com/r/pics. > > I tried both ways: changing the IP back to .30 (can't find a solution how to start pound to a address that is unconfigured) or disable the domain rewrite while address is 0.0.0.0. Both fails. > > Any ideas, how i can manage this? > Thanks a lot. > > peter > > --- > ps > > B. unthoughted.wordpress.com > T. @peter_shaw > F. facebook.com/PeterDunstonShaw > G. github.com/petershaw > > > -- > To unsubscribe send an email with subject unsubscribe to [email protected] > Please contact [email protected] for questions. -- To unsubscribe send an email with subject unsubscribe to [email protected] Please contact [email protected] for questions.