Re: [Zope] Help with virtual hosting Zope on different ports
I was a little reluctant to try this, since I'm not that agile with installing unix applications, but I gave it a shot. It actually wasn't that hard to install, and the performance difference it makes on my rickety old box is astonishing! Thank you very much for this tip! Jonathan Cyr wrote: Unless you need some special Apache functionality, you may want to look and the Pound Rev-Proxy/Load Balancer at http://www.apsis.ch/pound. I find it much easier than getting involved with apache, it's lightweight, secure and designed with Zope in mind. two cents, -Jon. Michael Sanborn wrote: 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: VirtualHost oldsite.com ServerName oldsite.com ServerAdmin [EMAIL PROTECTED] DocumentRoot /u2/oldsite ScriptAlias /cgi-bin/ /u2/oldsite.cgi-bin/ RewriteEngine on RewriteCond %{HTTP:Authorization} ^(.*) 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 /VirtualHost VirtualHost www.oldsite.com ServerName www.oldsite.com ServerAdmin [EMAIL PROTECTED] DocumentRoot /u2/oldsite ScriptAlias /cgi-bin/ /u2/oldsite.cgi-bin/ RewriteEngine on RewriteCond %{HTTP:Authorization} ^(.*) 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 /VirtualHost Thanks in advance for any assistance, Michael Sanborn ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: Help with virtual hosting Zope on different ports
I've found where this topic is covered in The Definitive Guide to Plone (pp. 292-303) and have installed Virtual Host Monsters in both Zope instances. I still have some questions about how to edit httpd.conf, but since that's just an Apache issue, I'll sign off with a Neve Mid... ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Help with virtual hosting Zope on different ports
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: VirtualHost oldsite.com ServerName oldsite.com ServerAdmin [EMAIL PROTECTED] DocumentRoot /u2/oldsite ScriptAlias /cgi-bin/ /u2/oldsite.cgi-bin/ RewriteEngine on RewriteCond %{HTTP:Authorization} ^(.*) 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 /VirtualHost VirtualHost www.oldsite.com ServerName www.oldsite.com ServerAdmin [EMAIL PROTECTED] DocumentRoot /u2/oldsite ScriptAlias /cgi-bin/ /u2/oldsite.cgi-bin/ RewriteEngine on RewriteCond %{HTTP:Authorization} ^(.*) 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 /VirtualHost Thanks in advance for any assistance, Michael Sanborn ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )