/ Zope / Apsis / Pound Mailing List / Archive / 2005 / 2005-12 / Can't seem to get VHM working using pound and zope

[ << ] [ >> ]

[ Transparent proxying / =?ISO-8859-2?Q?Ivancs=F3_Kr... ] [ Pound 2.0b3/b4 segfaulting on AMD64 box with ... ]

Can't seem to get VHM working using pound and zope
"Jamie Robe" <robej(at)plancom.org>
2005-12-13 22:30:26 [ FULL ]
Hi. I am getting very frustrated trying to get my pound  and zope
working correctly.  I am sure it is something stupid I am doing, but I
have searched and read everything I can get my hands on and still can't
get this to work.
I have a server running pound at 207.156.112.41.  This server only runs
pound, as the zope server is at .46. Here is the pound server's
/etc/pound/pound.cfg:
------------------------------------------------------------------------
-----------
######################################################################
## global options:

User            www-data
Group           www-data
#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 207.156.112.41,80

##
UrlGroup ".*"
BackEnd 207.156.112.46,80,1
EndGroup


-----------------------------------------------------------------------
It all seems to work, in that when I go to the URL http://207.156.112.41
I do get to my ZMI screen. I have pointed my domain name
http://www.tpcstaff.org at this box, and
it seems ok, in that I see the
ZMI.  I actually want it to go to folder http://207.156.112.41/plan3d ,
but it does not.  I am trying to use the zope virtual host monster wit
the following entry in the mappins page:
www.tpcstaff.org/plan3d
I also have tried
*./tpcstaff.org/plan3d
tpcstaff.org/plan3d

Am I missing something here?  Do I need to do anything in pound to
direct the domain name based request to a subfolder???? Help. I have a
bunch of websites going in this box for our agency and need some method
that works for plone.
Thanks everyone!

Jamie T. Robe
Automation Team Leader
The Planning Commission
(813)272-5940
[...]
Attachments:  
text.html text/html 5717 Bytes

Re: [Pound Mailing List] Can't seem to get VHM working using pound and zope
Robert Segall <roseg(at)apsis.ch>
2005-12-14 12:20:38 [ FULL ]
On Tue, 2005-12-13 at 16:30 -0500, Jamie Robe wrote:[...]

This has nothing to do with Pound, and you don't need to change anything
in your configuration file. All that is required is to use the VHM
correctly.

In the "mappings" tab add one line:

www.tpcstaff.org   /plan3d

Note: there is a space separating the two. Read the help for VHM for
more details.

Wed are using exactly this type of set-up for several of our customers
without any problems.[...]

RE: [Pound Mailing List] Can't seem to get VHM working using pound and zope
"Jamie Robe" <robej(at)plancom.org>
2005-12-14 17:11:36 [ FULL ]
Thanks Robert, I added the space and did some more tests.  I am still
unable to get real-world domains to work correctly. What is weird is
that I did a test using the host file method inside my network - by
making a fake domain cuba2 (my domain is .olympus), and I added the
mappings (with the space :-) and cuba2 or cuba2.olympus map just fine.
But my domain anmes from outside are simply taking me to the ZMI screen.

Here is my VHM:
cuba2 /vhm_test
cuba2.olympus /plan3d
plan3d.org /vhm_test
tpcstaff.org /vhm_test

I am starting to think it is something to do with a domain controller.
We use Rapid Systems to control about half of our names and Network
Solutions on the others. Both don't work. 

I know this doesn't appear to be a Pound issue at all, but I don't know
where else to ask for ideas.  Do I need to run a domain controller in my
DMZ also, or set soemthing on the pound box?

Jamie T. Robe
Automation Team Leader
The Planning Commission
(813)272-5940
[...]
made to improve your community today?[...]
www.PLAN2025.org


-----Original Message-----
From: Robert Segall [mailto:roseg(at)apsis.ch] 
Sent: Wednesday, December 14, 2005 6:21 AM
To: pound(at)apsis.ch
Subject: Re: [Pound Mailing List] Can't seem to get VHM working using
pound and zope


On Tue, 2005-12-13 at 16:30 -0500, Jamie Robe wrote:[...]
[...]

This has nothing to do with Pound, and you don't need to change anything
in your configuration file. All that is required is to use the VHM
correctly.

In the "mappings" tab add one line:

www.tpcstaff.org   /plan3d

Note: there is a space separating the two. Read the help for VHM for
more details.

Wed are using exactly this type of set-up for several of our customers
without any problems.[...]

RE: [Pound Mailing List] Can't seem to get VHM working using pound and zope
"Jamie Robe" <robej(at)plancom.org>
2005-12-14 21:33:26 [ FULL ]
Finally got something working! Wanted to thank everyone and report what
I have found out in case it helps anyone in the future.  We have been
testing with domain names we manage thru Network Solutions, and for some
reason no domain name done that way will work with the Zope Host
Monster.  Pound seems to be humming right along fine, but Zope is not
seeing our domain info correctly from them - we only see IP addresses.
I also played around with the /etc/resolv.conf files on the pound box
and the zope boxes, to see if there was a problem with the DNS
controllers we were using. However, nothing seemed to help till we
transferred our domain name www.plan3d.org from Network Solutions to
Rapid Systems (our T-1 provider), and asked them to point to our pound
box IP.  I felt like throwing a party when I suddenly saw my site
appear.  Pound happily sends the request from 207.156.112.41 to the zope
backend, where the VHM is working, doing its rewriting.  In my browser,
I now see only the domain name with slashes and subfolders, as I
traverse my site - no IP's!

As I said, I have no idea why this happened this way, but I am switching
a second domain name over now. If that works, I will begin switching all
our names over (I have to make sure the ZHM is set correctly so
production sites don't go down :-)
If anyone has any ideas why this happened, I would love to understand,
plus I know other's might give up on Pound or even Zope if they were
evaluating them and they couldn't easily resolve this.  I just knew that
from reading the messages on this list that Pound/Zope is the way to go
- Thanks!

Jamie T. Robe
Automation Team Leader
The Planning Commission
(813)272-5940
[...]
made to improve your community today?[...]
www.PLAN2025.org


-----Original Message-----
From: Jamie Robe 
Sent: Wednesday, December 14, 2005 11:12 AM
To: pound(at)apsis.ch
Subject: RE: [Pound Mailing List] Can't seem to get VHM working using
pound and zope


Thanks Robert, I added the space and did some more tests.  I am still
unable to get real-world domains to work correctly. What is weird is
that I did a test using the host file method inside my network - by
making a fake domain cuba2 (my domain is .olympus), and I added the
mappings (with the space :-) and cuba2 or cuba2.olympus map just fine.
But my domain anmes from outside are simply taking me to the ZMI screen.

Here is my VHM:
cuba2 /vhm_test
cuba2.olympus /plan3d
plan3d.org /vhm_test
tpcstaff.org /vhm_test

I am starting to think it is something to do with a domain controller.
We use Rapid Systems to control about half of our names and Network
Solutions on the others. Both don't work. 

I know this doesn't appear to be a Pound issue at all, but I don't know
where else to ask for ideas.  Do I need to run a domain controller in my
DMZ also, or set soemthing on the pound box?

Jamie T. Robe
Automation Team Leader
The Planning Commission
(813)272-5940
[...]
made to improve your community today?[...]
www.PLAN2025.org


-----Original Message-----
From: Robert Segall [mailto:roseg(at)apsis.ch] 
Sent: Wednesday, December 14, 2005 6:21 AM
To: pound(at)apsis.ch
Subject: Re: [Pound Mailing List] Can't seem to get VHM working using
pound and zope


On Tue, 2005-12-13 at 16:30 -0500, Jamie Robe wrote:[...]
[...]

This has nothing to do with Pound, and you don't need to change anything
in your configuration file. All that is required is to use the VHM
correctly.

In the "mappings" tab add one line:

www.tpcstaff.org   /plan3d

Note: there is a space separating the two. Read the help for VHM for
more details.

Wed are using exactly this type of set-up for several of our customers
without any problems.[...]

MailBoxer