<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000066">
<font size="-1"><font face="Verdana">Unless you need some special
Apache functionality, you may want to look and the Pound Rev-Proxy/Load
Balancer at <a class="moz-txt-link-freetext" href="http://www.apsis.ch/pound">http://www.apsis.ch/pound</a></font></font>.&nbsp; I find it much
easier than getting involved with apache, it's lightweight, secure and
designed with Zope in mind.<br>
<br>
two cents,<br>
<br>
-Jon.&nbsp; <br>
<br>
Michael Sanborn wrote:
<blockquote cite="mid7924ecd00509181043538375d0@mail.gmail.com"
 type="cite">
  <pre wrap="">I have two Zope versions running behind Apache 1.3 (on FreeBSD 4)
using different ports on the same server. The only domain name
currently assigned to the server is for a Squishdot site on the older
Zope version (2.5.1) that I haven't been able to upgrade, and I don't
want to spend the time figuring it out right now. The newer Zope
version (2.8.1) has a Plone site that I would like to run as a domain
of its own.

Can someone help me figure out the combination of Apache rewrite rules
and Zope/Plone products I would need to use to accomplish this?

Just to try to make it clear, what I want is:

request: oldsite.com
result: myserver:8093/oldsite

request: newsite.com
result: myserver:8580/newsite

This is possible, isn't it?

If it helps, here are the existing rewrite rules:

&lt;VirtualHost oldsite.com&gt;
ServerName oldsite.com
ServerAdmin <a class="moz-txt-link-abbreviated" href="mailto:webmaster@oldsite.com">webmaster@oldsite.com</a>
DocumentRoot /u2/oldsite
ScriptAlias /cgi-bin/ /u2/oldsite.cgi-bin/
RewriteEngine on
RewriteCond %{<a class="moz-txt-link-freetext" href="HTTP:Authorization">HTTP:Authorization</a>}  ^(.*)
RewriteRule ^/(oldsite/)?(.*) /usr/local/Zope/Zope.cgi/oldsite/$2
[e=HTTP_CGI_AUTHORIZATION:%2,t=application/x-httpd-cgi,l]
ErrorLog /u2/oldsite.admin/oldsite.errors
TransferLog /u2/oldsite.admin/oldsite.access
&lt;/VirtualHost&gt;

&lt;VirtualHost <a class="moz-txt-link-abbreviated" href="http://www.oldsite.com">www.oldsite.com</a>&gt;
ServerName <a class="moz-txt-link-abbreviated" href="http://www.oldsite.com">www.oldsite.com</a>
ServerAdmin <a class="moz-txt-link-abbreviated" href="mailto:webmaster@oldsite.com">webmaster@oldsite.com</a>
DocumentRoot /u2/oldsite
ScriptAlias /cgi-bin/ /u2/oldsite.cgi-bin/
RewriteEngine on
RewriteCond %{<a class="moz-txt-link-freetext" href="HTTP:Authorization">HTTP:Authorization</a>}  ^(.*)
RewriteRule ^/(oldsite/)?(.*) /usr/local/Zope/Zope.cgi/oldsite/$2
[e=HTTP_CGI_AUTHORIZATION:%2,t=application/x-httpd-cgi,l]
ErrorLog /u2/oldsite.admin/oldsite.errors
TransferLog /u2/oldsite.admin/oldsite.access
&lt;/VirtualHost&gt;

Thanks in advance for any assistance,

Michael Sanborn
_______________________________________________
Zope maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:Zope@zope.org">Zope@zope.org</a>
<a class="moz-txt-link-freetext" href="http://mail.zope.org/mailman/listinfo/zope">http://mail.zope.org/mailman/listinfo/zope</a>
**   No cross posts or HTML encoding!  **
(Related lists - 
 <a class="moz-txt-link-freetext" href="http://mail.zope.org/mailman/listinfo/zope-announce">http://mail.zope.org/mailman/listinfo/zope-announce</a>
 <a class="moz-txt-link-freetext" href="http://mail.zope.org/mailman/listinfo/zope-dev">http://mail.zope.org/mailman/listinfo/zope-dev</a> )


  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Jonathan Cyr
<a class="moz-txt-link-abbreviated" href="mailto:cyrj@cyr.info">cyrj@cyr.info</a></pre>
</body>
</html>