As I understand it, only the final HeadRequire and AddHeader directives are
used. This is somewhat inconvenient as you can't add multiple headers based
on the service routing determined by your configuration. We've ended up
patching Pound to add this type of functionality.
Your Url regex is malformed.

URL "^/index.*"

-n

On Sun, Jul 19, 2009 at 11:05 AM, Tim Dunphy <[email protected]> wrote:

>
> Nathan,
>
>  Thank you sir. That worked. However, I cannot get this url into my config:
>
>  #               Url "*/index.*"
>
>  this is the actual url:
>
>  http://beta.beezag.com/index.jsf
>
>  also I need to support these urls (from my tomcat server.xml config):
>
>        <Alias>alpha.beezag.com</Alias>
>        <Alias>www.alpha.beezag.com</Alias>
>        <Alias>beta.beezag.com</Alias>
>        <Alias>www.beta.beezag.com</Alias>
>
>  If I add more than one HeadRequire the site goes down. If I add the Url
> directive above the site goes down. Also having a slave appears to do me no
> good. If I stop pound on the master the whole site goes down and the slave
> does nada.
>
> Any help would be appreciated.
>
>
> Thanks
> Tim
>
>
>
> On Sat, 18 Jul 2009 12:51:34 -0700, Nathan Schmidt <[email protected]>
> wrote:
> > ListenHTTP
> >  Address 192.168.1.42
> >  Port    80
> > End
> >
> > Service
> >  RewriteDestination 1
> >  HeadRequire "Host:.*beta.beezag.com.*"
> >  BackEnd
> >   Address 192.168.1.5
> >   Port    80
> >  End
> >  BackEnd
> >   Address 192.168.1.6
> >   Port    80
> >  End
> >  Session
> >   Type Basic
> >   TTL  300
> >  End
> > End
> >
> >
> > On Sat, Jul 18, 2009 at 4:45 AM, Tim Dunphy <[email protected]>
> wrote:
> >
> >>
> >> guys,
> >>
> >>  My pound config does not seem to be totally balancing my site.
> >>
> >>  If I pop the nic on 192.168.1.5 the site stays up. If I pop the nic on
> >> 192.168.1.6 the site goes down.
> >>
> >>  I believe this section of the config is the source of my error:
> >>
> >>  ######################################################################
> >> ## listen, redirect and ... to:
> >>
> >> ## redirect all requests on port 80 ("ListenHTTP") to the virtual IP
> >> address:
> >> ListenHTTP
> >>        Address 192.168.1.42
> >>        Port    80
> >>
> >> # This stuff vinko added
> >>        RewriteDestination 1
> >>
> >>        Service
> >>                HeadRequire "Host:.*beta.beezag.com.*"
> >> #               Url "*/index.*"
> >>                BackEnd
> >>                        Address 192.168.1.5
> >>                        Address 192.168.1.6
> >>                        Port    80
> >>                End
> >>                Session
> >>                        Type Basic
> >>                        TTL  300
> >>                End
> >>        End
> >> End
> >>
> >> Tim
> >>
> >>
> >> --
> >> 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.
>
> --
> "You were right about the stars. Each one is a setting sun." - Wilco
>
> --
> 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.

Reply via email to