From: Glenn Stauffer <wabisabi@ptd.net> <wabisabi@ptd.net> To: zope@egroups.com Subject: Virtual Host Monster Date: 04 Jan 2003 15:15:31 +0000
I have a Zope site setup on a machine where I work and use domain forwarding to forward the domain for this site to that machine. I am using Zope by itself - not behind an apache web server and I'm trying to get Zope to rewrite the URLS so that the domain name for the site appears in the browser address bar and not the domain name for the server. This is what my setup looks like:
Zope 2.6 physical host: http://wabisabi.swarthmore.edu:9673 virutal host: http://www.sohc4.net I have setup domain forwarding at my domain registrar (domain direct) to forward www.sohc4.net to wabisabi.swarthmore.edu:9673
I have a folder off the Zope Root, sohc4.net, that I want to use as he site root for www.sohc4.net.
I have added a VHM to the Zope Root and have requests for wabisabi.swarthmore.edu:9673 using sohc4.net as the root.
I've tried, using the documentation I can find, to setup the proper mappings in the VHM, but I have not been successful.
Can someone give me some tips on getting this working? If my end desire is to setup simple domain forwarding for two domains to use the same Zope host, should I be using Apache as the http listener instead of Zope? Do I need to change something in my domain forwarding configuration - like setting it to go to the path where I want sohc4.net to be 'rooted'?
Thanks for any help.
Glenn
-- Glenn Stauffer <wabisabi@ptd.net>
Have you seen http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/VirtualHosting.s... ? On Sat, 2003-01-04 at 09:38, Glenn Stauffer wrote:
From: Glenn Stauffer <wabisabi@ptd.net> <wabisabi@ptd.net> To: zope@egroups.com Subject: Virtual Host Monster Date: 04 Jan 2003 15:15:31 +0000
I have a Zope site setup on a machine where I work and use domain forwarding to forward the domain for this site to that machine. I am using Zope by itself - not behind an apache web server and I'm trying to get Zope to rewrite the URLS so that the domain name for the site appears in the browser address bar and not the domain name for the server. This is what my setup looks like:
Zope 2.6 physical host: http://wabisabi.swarthmore.edu:9673 virutal host: http://www.sohc4.net I have setup domain forwarding at my domain registrar (domain direct) to forward www.sohc4.net to wabisabi.swarthmore.edu:9673
I have a folder off the Zope Root, sohc4.net, that I want to use as he site root for www.sohc4.net.
I have added a VHM to the Zope Root and have requests for wabisabi.swarthmore.edu:9673 using sohc4.net as the root.
I've tried, using the documentation I can find, to setup the proper mappings in the VHM, but I have not been successful.
Can someone give me some tips on getting this working? If my end desire is to setup simple domain forwarding for two domains to use the same Zope host, should I be using Apache as the http listener instead of Zope? Do I need to change something in my domain forwarding configuration - like setting it to go to the path where I want sohc4.net to be 'rooted'?
Thanks for any help.
Glenn
-- Chris McDonough <chrism@zope.com> Zope Corporation
participants (2)
-
Chris McDonough -
Glenn Stauffer