/ Zope / Apsis / Pound Mailing List / Archive / 2007 / 2007-01 / litle problem with headrequire

[ << ] [ >> ]

[ URL Redirect question / "admin(at)cos.ru"... ] [ Sending large file over SSL on pound. / "Rex ... ]

litle problem with headrequire
"Ruben. D." <ruben.grunge84(at)gmail.com>
2007-01-26 23:22:06 [ FULL ]
Hi friends, i've a litle problem, i've a rails app on mydomain.com and it's
work fine!, but i'need access to cpanel/whm too, tehn i need redirect this
to apache, i can't do this, my pound.cfg is like this:

Service
   URL         ".*cpanel.*"
   HeadRequire "Host:.**www.tiperu.org**"
   BackEnd
       Address 127.0.0.1
       Port    8080
   End
End

Service
   HeadRequire "Host:.*tiperu.org.*"
   BackEnd
       Address 127.0.0.1
       Port    8000
   End
   BackEnd
       Address 127.0.0.1
       Port    8001
   End
   Session
       Type    BASIC
       TTL     300
   End
End

Very thanks for your help!.
Attachments:  
text.html text/html 1501 Bytes

Re: [Pound Mailing List] litle problem with headrequire
Shane Sponagle <bzwebnet(at)gmail.com>
2007-01-27 02:05:06 [ FULL ]
I think that your conf would work if it was like this:

Service
   HeadRequire "Host:.*tiperu.org.*"
   BackEnd
       Address 127.0.0.1
       Port    8000
   End
   BackEnd
       Address 127.0.0.1
       Port    8001
   End
   Session
       Type    BASIC
       TTL     300
   End
End

Service
   BackEnd
       Address 127.0.0.1
       Port    8080
   End
End

------

I am new to this but I think that the last entry is the default (in this
case anything that was not tiperu.org). In this case you should be able to
use cpanle no problem.



[...]

MailBoxer