<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Having a bit of trouble with virtual hosting, but 
I'm guessing the answer is probably simple.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>My Zope instance is running on a 
different&nbsp;machine to my apache server.&nbsp; I have created a Plone 
instance, and everything was working fine, accessible from port 8080 as 
standard.&nbsp; I wanted Apache to rewrite so that my Plone instance is 
available from <A 
href="http://www.mydomain.com/public/">www.mydomain.com/public/</A>.&nbsp; So I 
added the following to my httpd.conf and restarted apache (after following the 
guide at <A 
href="http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/VirtualHosting.stx">http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/VirtualHosting.stx</A>):</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; RewriteRule ^/public(.*) <A 
href="http://111.111.111.11:8080/VirtualHostBase/http/www.mydomain.com.ie:80/Plone/VirtualHostRoot/_vh_public/$1">http://111.111.111.11:8080/VirtualHostBase/http/www.mydomain.com.ie:80/Plone/VirtualHostRoot/_vh_public/$1</A> 
[L,P]</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Plone now works fine when accessed from <A 
href="http://www.mydomain.com/public/">www.mydomain.com/public/</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>However, I can no longer access my Zope instance 
from the browser.&nbsp; If I go to <A 
href="http://111.111.111.11:8080/VirtualHostBase/http/www.mydomain.com.ie:80/Plone/VirtualHostRoot/_vh_public/$1">http://111.111.111.11:8080/</A>&nbsp;(which 
was working before), I get a "Cannot find server - Page cannot be displayed" 
error.&nbsp; In Firefox, I get "The connection was refused when attempting to 
contact 111.111.111.11".&nbsp; Obviously Zope is running, as Plone can be viewed 
through the rewrite.&nbsp; Also, if I ssh into the server on which Zope is 
running, I can&nbsp;use it through lynx on the localhost (i.e. lynx <A 
href="http://localhost:8080/manage">http://localhost:8080/manage</A>).&nbsp; 
Restarting Zope has had no effect.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Any ideas?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks in advance,</FONT></DIV>
<DIV><FONT face=Arial size=2>Brian</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>