On Wed, Jun 10, 2009 at 2:38 PM, Tim Dunphy<[email protected]> wrote:
>
> Thanks for your help!
>
>  I gave her a whirl. Didn't quite go as well as hoped. Here is what I tried
> and here are the results:
>
>
> config
> --------------------
>     Service
>                HeadRequire "Host:.*alpha.site.com.*"
>                Url         "/index.*"
>                BackEnd
>                        Address 192.168.1.5
>                        Port    80
>                End
>                Session
>                        Type Basic
>                        TTL  300
>                End
>        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
>
> ---------------------------------------------
>
> the result
> -------------------------------
>
> DNS:/etc/pound# /etc/init.d/pound start
> Starting reverse proxy and load balancer: poundstarting...
> line 38: unknown directive "                HeadRequire
> "Host:.*www.alpha.mysite.com.*"" - aborted
>  failed!
>
> -------------
>
> any thoughts would be appreciated..
>
>
> tim
>
> On Thu, 4 Jun 2009 19:35:46 -0400, Edward Capriolo <[email protected]>
> wrote:
>> Some sites require mod_jk for example half of the application is php
>> server by apache. The other half is jsp server by tomcat.
>>
>> Normally in this case
>> apache runs on port 80
>> and tomcat jkconnector runs on 8009
>> tomcat runs on 8080
>>
>> First verify that tomcat is indeed running on port 8080 by looking in
>> the server XML
>> I am serving a hudson server off tomcat like so.
>>
>>   Service
>>                 HeadRequire "Host:.*www.jointhegrid.com.*"
>>                 Url         "/hudson.*"
>>                 #xHTTP  2
>>                 BackEnd
>>                         Address 10.0.6.1
>>                         Port    8080
>>                 End
>>         End
>>
>>
>>
>> On Wed, Jun 3, 2009 at 8:20 AM, Tim Dunphy<[email protected]> wrote:
>>>
>>>
>>> Guys
>>>
>>>  Our site is pumped out via tomcat, not apache per se. Apache connects
>>> via
>>> mod_jk to tomcat.
>>>
>>>  If you stop apache, even on both of our web servers, the site stays
> up!
>>> However, if you stop tomcat on even one of the servers, the site becomes
>>> unavailable.
>>>
>>>  How do I tell pound to be aware of tomcat not just apache?
>>>
>>> thanks
>>> Tim
>>> --
>>> "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.
>
> --
> "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.
>

It looks like your configuration is not complete. service is not a top
level element. Try something like this:

ListenHTTP
        Address 10.0.2.1
        Port    80
     #xHTTP for svn
        xHTTP   2
   service
   ....
   end
   service
   ....
   end
end

Do not forget to try the man page if you have not already. It is very detailed.

-Regards

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

Reply via email to