|
/
Zope
/
Apsis
/
Pound Mailing List
/
Archive
/
2004
/
2004-05
/
configuring pound such as reverse proxy
[
thanks! And a question on failed ip addresses / ... ]
[
ip-based restricting clients (IIS) / Haim ... ]
configuring pound such as reverse proxy
Sergio Moyano Serrano <laevix(at)eresmas.com> |
2004-05-29 14:55:33 |
[ SNIP ]
|
-- [laevix(at)eresmas.com] --
Hi, I'm novice in the use of pound.
I have got a privacity network where there are two computer working
with apache web server.
My router, only can route the 80 port to one of the web server. Well I
decide to install pound in this computer and built a reverse proxy for
the entrances to this machine, it can to be reply by then. I use two
DNS`s diferent to discinct each of the machines.
My pound.dfg is:
################ pound.dfg ####################
## global options:
User proxy
Group proxy
#RootJail /chroot/pound
## allow PUT and DELETE also (by default only GET, POST and HEAD)?:
ExtendedHTTP 0
WebDAV 0
## 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 30
## use hardware-accelleration card supported by openssl(1):
#SSLEngine <hw>
######################################################################
## listen, redirect and ... to:
## redirect all requests on port 8888 ("ListenHTTP") to the local
webserver see "UrlGroup" below):
ListenHTTP 127.0.0.1,80
UrlGroup ".*"
HeadRequire Host ".*informatica.iesgrancapitan.org.*"
BackEnd 127.0.0.1,80
EndGroup
UrlGroup ".*"
HeadRequire Host ".*biblioteca.iesgrancapitan.org.*"
BackEnd 192.168.1.18,80
EndGroup
################# END pound.cfg ######################
What isn't corretc or what is necesary to the pound run funny and I
don't do?
Thank you
|
|
|
Re: configuring pound such as reverse proxy
Sascha Ottolski <sascha.ottolski(at)gallileus.de> |
2004-05-29 21:31:19 |
[ SNIP ]
|
Sergio Moyano Serrano wrote:
> webserver see "UrlGroup" below):
> ListenHTTP 127.0.0.1,80
well, you'd better listen on an IP that is accessible to the world :-)
>
>
> UrlGroup ".*"
> HeadRequire Host ".*informatica.iesgrancapitan.org.*"
> BackEnd 127.0.0.1,80
> EndGroup
And of course, only one service can listen on the same IP/Port
combination. With this configuration, pound would redirect request to
itself...interesting situation :-)
Hope that helps a bit,
Sascha
--
Gallileus - the power of knowledge
Gallileus GmbH http://www.gallileus.info/
Pintschstraße 16 fon +49-(0)30-41 93 43 43
10249 Berlin fax +49-(0)30-41 93 43 45
|
|
|
|