Any reason why you list the service alpha.mysite.com and the same URL
twice?

If you have more than one backend for the same URL then you should
define it within the same service.

e.g.


ListenHTTP
        Address 192.168.1.42
        Port    80
        Service
                HeadRequire "Host:.*alpha.mysite.com.*"
                Url         "/index.*"
                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
End

I also agree with the last comment about making the connection direct to 
Tomcat, rather than through Apache and mod_jk if you are not using any of the 
more advanced Apache features (url rewriting and access control etc.)

Hope that helps

-John

On Wed, 2009-06-10 at 20:53 +0100, Tim Dunphy wrote:
> ah, sorry! I was only including what I thought relevant. here is more
> complete info. I will be looking into the manpage as suggested. but the
> answer may not be obvious to me from the manpage alone, but I will do my
> best.
> 
> 
> thanks
> 
> ## Minimal sample pound.cfg
> ##
> ## see pound(8) for details
> 
> 
> ######################################################################
> ## global options:
> 
> User            "www-data"
> Group           "www-data"
> #RootJail       "/chroot/pound"
> 
> ## Logging: (goes to syslog by default)
> ##      0       no logging
> ##      1       normal
> ##      2       extended
> ##      3       Apache-style (common log format)
> #LogLevel        1
> 
> ## check backend every X secs:
> Alive           2
> 
> ## use hardware-accelleration card supported by openssl(1):
> "pound.cfg.tomcat" 59L, 1337C
> ## use hardware-accelleration card supported by openssl(1):
> #SSLEngine      "<hw>"
> 
> 
> ######################################################################
> ## listen, redirect and ... to:
> 
> ## redirect all requests on port 80 ("ListenHTTP") to the virtual IP
> address:
> ListenHTTP
>         Address 192.168.1.42
>         Port    80
> 
>         Service
>                 HeadRequire "Host:.*alpha.mysite.com.*"
>                 Url         "/index.*"
>                 BackEnd
>                         Address 192.168.1.5
>                         Port    80
> 
>                        Port    80
>                 End
>                 Session
>                         Type Basic
>                         TTL  300
>                 End
>         Service
>                 HeadRequire "Host:.*alpha.mysite.com.*"
>                 Url         "/index.*"
>                 BackEnd
>             Address 192.168.1.6
>                         Port 80
>                 End
>                 Session
>                         Type Basic
>                         TTL  300
>                 END
>         End
> End
> 
> 
> desired url:
> 
> http://alpha.mysite.com/index.jsf
> 
> error:


--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.

Reply via email to