[Zope] VirtualHostMonster question

kent@springfed.com kent@springfed.com
Tue, 24 Sep 2002 16:25:05 -0500


OK, I'll look at mod_rewrite.

I was hoping I could do what I want to do 
from Zope and not have to muck with my gateway
and Apache.

Thanks,
Kent



On Tue, 24 Sep 2002 15:43:55 +0200, Oliver Bleutgen wrote:
kent@springfed.com wrote:
>=A0Howdy,
>
>=A0I've stared at the doc for some time, the
>=A0answer isn't appearing.
>
>=A0My gateway currently uses ipmasqadm portfw to
>=A0change incoming http requests to zope_server:8080
>
>=A0For local use, I have TUTOS running on port 80, served by=
 Apache.
>=A0(http://www.tutos.org/homepage/index.html - amazingly=
 wonderful)
>
>=A0I'd like to be able to access TUTOS from the world.
>
>=A0Can I configure Zope to forward TUTOS requests to=
 http://myserver:80/TUTOS?
>


Why not the other way around, i.e. forward requests with apache?
Seek zope.org for a howto (search for something like
apache+mod_rewrite+proxypass).
Then you just need an additional access rule which causes apache=
 not to
proxy requests to http://myserver:80/TUTOS into zope.
If you don't find how to do that in a howto on zope.org, consult=
 the
mod_rewrite documentation on apache.org, you need to put a [L]=
 after the
access rule which matches TUTOS to indicate the rewrite engine to=
 stop
there.

Oh, and it seems you misunderstand what VirtualHostMonster is=
 supposed
to do: it just uses information of the request URI to "correct"=
 the URIs
which are autogenerated by zope.


HTH,
oliver


_______________________________________________
Zope maillist =A0- =A0Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
** =A0 No cross posts or HTML encoding! =A0**
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )