[Zope] I have tried everything!!! Isn't it possible to host several domains in 1 Zope and have apache running ????

Sherwood Robinson srobinson@fredericksburg.com
Fri, 08 Jun 2001 12:03:58 -0400


Jeff beet me to a reply and I noticed he is using the Rewrite Module so I 
will modify his settings to work with ProxyPass to save time.

Thanks Jeff

At 11:50 AM 6/8/2001 -0400, Jeff Sasmor wrote:
>ject Publishing Environment <zope.zope.org>
>List-Unsubscribe: <http://lists.zope.org/mailman/listinfo/zope>,
>         <mailto:zope-request@zope.org?subject=unsubscribe>
>List-Archive: <http://lists.zope.org/pipermail/zope/>
>Date: Fri, 8 Jun 2001 11:50:46 -0400
>
>I install a virtual host monster in the Zope root folder and add the

>following to
>my httpd.conf:

Yup got to have that VHM in root


>-----------------------
>NameVirtualHost 64.19.147.24:80
>
><VirtualHost www.becept.com>
>ServerName www.becept.com
>ServerAdmin jeff@janix.com
>RewriteEngine On
>RewriteLog "/var/log/apache/rewrite_log"
>RewriteLogLevel 1
>RewriteRule ^/(.*)
>http://64.19.147.24:8080/VirtualHostBase/http/www.becept.com:80/becept/Virtu
>alHostRoot/$1 [e=HTTP_CGI_AUTHORIZATION:%1,P]
>UseCanonicalName off
></VirtualHost>
>

<VirtualHost www.becept.com>
ServerName www.becept.com
ServerAdmin jeff@janix.com

ProxyPass       / 
http://64.19.147.24:8080/VirtualHostBase/http/www.becept.com:80/becept/VirtualHostRoot/
ProxyPassReverse        / 
http://64.19.147.24:8080/VirtualHostBase/http/www.becept.com:80/becept/VirtualHostRoot/
ProxyPass /misc_         http://64.19.147.24:8080/misc_
ProxyPass /p_   http://64.19.147.24:8080/p_

Repeat this replacing with the proper domain information.

GL

SR



><VirtualHost www.yellowbrain.com>

>ServerName www.yellowbrain.com
>ServerAdmin jeff@janix.com
>RewriteEngine On
>RewriteLog "/var/log/apache/rewrite_log"
>RewriteLogLevel 1
>RewriteRule ^/(.*)
>http://64.19.147.24:8080/VirtualHostBase/http/www.yellowbrain.com:80/yb/Virt
>ualHostRoot/$1 [e=HTTP_CGI_AUTHORIZATION:%1,P]
>UseCanonicalName off
></VirtualHost>
>
>
><VirtualHost www.othink.com>
>ServerName www.othink.com
>ServerAdmin jeff@janix.com
>RewriteEngine On
>RewriteLog "/var/log/apache/rewrite_log"
>RewriteLogLevel 1
>RewriteRule ^/(.*)
>http://64.19.147.24:8080/VirtualHostBase/http/www.othink.com:80/othink/Virtu
>alHostRoot/$1 [e=HTTP_CGI_AUTHORIZATION:%1,P]
>UseCanonicalName off
></VirtualHost>
>
>
>Listen 64.19.147.24:80
>
>
>----------------------
>some notes:
>   z2.py should be set with the correct IP address, not 64.19.147.24
>   Your system must be responding to that IP, I use Webmin (www.webmin.com)
>to set up all that.
>   the dir used for the rewrite_log should be writable by apache - that user
>may be 'nobody' I believe
>   the rewrite rule might be folded onto 2 lines - it should include
>[e=HTTP_CGI_AUTHORIZATION:%1,P]
>   the stuff in [] might need to be changed depending on what you need to do
>   I figured this out with a lot of digging and etc.  I am by no means an

>Apache expert so I can't provide more help than this.
>
>good luck!
>
>jeff sasmor
>-------------------------------------------------------------------------
>
>
>
>----- Original Message -----
>From: "Gitte Wange" <gitte@mmmanager.org>
>To: <zope@zope.org>
>Sent: Friday, June 08, 2001 11:07 AM
>Subject: [Zope] I have tried everything!!! Isn't it possible to host several
>domains in 1 Zope and have apache running ????
>
>
> > Hello,
> >
> > Maybe I am stupid but really ..
> > Every site I have visited that runs Zope doesn't have the ugly :8080
>present
> > in the URL.
> > Have do you do it ????
> >
> > And how do I host several domains in one Zope ???
> >
> > I have read - and tried - almost every howto on Zope.org but they are very
> > confusing. On thing I have descovered is that SiteRoot is a "mean"
>product -
> > or I j
>ust don't know how to use it.
> >
> > Please .. help ...
> >
> > Gitte
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> >
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://lists.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce

>  http://lists.zope.org/mailman/listinfo/zope-dev )

----------------------------------------------------
Sherwood Robinson
Hostmaster
The Free Lance-Star/Internet Department
srobinson@fredericksburg.com
http://www.fredericksburg.com

616 Amelia St.
Fredericksburg, VA 22401
540-374-5000 ext. 5657