[Zope] Re: SiteRoot or VirtualHostMonster

martin f krafft madduck@madduck.net
Tue, 28 Jan 2003 12:09:35 +0100


--oyUTqETQ0mS9luUI
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

also sprach Lennart Regebro <lennart@regebro.nu> [2003.01.28.1140 +0100]:
> Use VirtualHostMonster. SiteRoot is more or less deprecated.

I don't understand it. Could someone please please give me an example?

I have a Zope site at

  http://www.mysite.com/zope/

There is a subsite at

  http://www.mysite.com/zope/flyproject

Which is accessible via

  http://www.flyproject.org

Right now, I realize this by configuring an Apache vhost for
flyproject.org, which rewrites all requests as follows.

  RewriteRule ^(.*) /usr/lib/cgi-bin/Zope/ailab$1

I also placed a SiteRoot in /flyproject in the ZODB. It works.

What would I have to do for a VirtualHostMonster to do the same thing?

--=20
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
=20
NOTE: The pgp.net keyservers and their mirrors are broken!
Get my key here: http://people.debian.org/~madduck/gpg/330c4a75.asc
=20
http://www.transnationalrepublic.org/

--oyUTqETQ0mS9luUI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+NmTvIgvIgzMMSnURAj5HAJ47NZkxSarRjT8VZHrk1edOjrz9xgCfa6Dn
+gJf6/LmrsW2OW2LSSjbRHQ=
=xwPu
-----END PGP SIGNATURE-----

--oyUTqETQ0mS9luUI--