<!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>Sorry guys, scrap that last one - transient network 
problem.&nbsp; All working again now.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>Brian</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=brian.hickey@version1.ie href="mailto:brian.hickey@version1.ie">Brian 
  Hickey</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=zope@zope.org 
  href="mailto:zope@zope.org">zope@zope.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, May 18, 2005 9:49 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Zope] VirtualHost</DIV>
  <DIV><BR></DIV>
  <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>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Zope maillist&nbsp; 
  -&nbsp; 
  Zope@zope.org<BR>http://mail.zope.org/mailman/listinfo/zope<BR>**&nbsp;&nbsp; 
  No cross posts or HTML encoding!&nbsp; **<BR>(Related lists - 
  <BR>&nbsp;http://mail.zope.org/mailman/listinfo/zope-announce<BR>&nbsp;http://mail.zope.org/mailman/listinfo/zope-dev 
  )<BR></BLOCKQUOTE></BODY></HTML>