[Zope-CMF] Setting up a Virtual Host Monster

Gilles Lenfant gilles@pilotsystems.net
Thu, 15 Aug 2002 00:51:02 +0200


Try this...
It assumes Apache has mod_rewrite and is listening to IP 205.38.40.87
Zope listens to port 8080 on IP 205.38.40.88 on a remote server=20

<VirtualHost 205.38.40.87>
   # Your IP above
  ServerName www.company.com
  RewriteEngine On
  RewriteRule ^/(.*) =
http://205.38.40.88:8080/VirtualHostBase/http/www.company.com:80/company/=
VirtualHostRoot/$1 [P]
  # Other usual options
</VirtualHost>

Warning : The line starting with RewriteRule may be cut by the mail =
transpost.

Perhaps you should upgrade Apache to 1.3.24(+) that fixes a mod_rewrite =
bug that raised problems to some CMF sites.

HTH

--Gilles

----- Original Message -----=20
From: <mcolli@SyscomCipher.com.ar>
To: <zope-cmf@zope.org>
Sent: Wednesday, August 14, 2002 10:17 PM
Subject: [Zope-CMF] Setting up a Virtual Host Monster


> Hi,
>=20
> I am having problems trying to set up a Virtual Host Monster in order =
to
> change the URL of my Plone site.
>=20
> I have a Plone site created in the Root Folder called company.
>=20
> Then, I access it  this way: http://host:port/company
>=20
> Now, I want to enter it this way: www.company.com
>=20
> I have tried several times cofiguring the Virtual Host Monster =
(Mapping)
> but it does not work. I am probably doing something wrong as I do not
> understand very well the available documentation...
>=20
> I really appreciate your help on this.
>=20
> Mariela
>=20
>=20
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>=20
> See http://collector.zope.org/CMF for bug reports and feature requests
>=20
>=20