[Zope] VirtualHost

Brian Hickey brian.hickey at version1.ie
Wed May 18 05:00:27 EDT 2005


Sorry guys, scrap that last one - transient network problem.  All working again now.

Thanks,
Brian

  ----- Original Message ----- 
  From: Brian Hickey 
  To: zope at zope.org 
  Sent: Wednesday, May 18, 2005 9:49 AM
  Subject: [Zope] VirtualHost


  Hi all,

  Having a bit of trouble with virtual hosting, but I'm guessing the answer is probably simple.

  My Zope instance is running on a different machine to my apache server.  I have created a Plone instance, and everything was working fine, accessible from port 8080 as standard.  I wanted Apache to rewrite so that my Plone instance is available from www.mydomain.com/public/.  So I added the following to my httpd.conf and restarted apache (after following the guide at http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/VirtualHosting.stx):

      RewriteRule ^/public(.*) http://111.111.111.11:8080/VirtualHostBase/http/www.mydomain.com.ie:80/Plone/VirtualHostRoot/_vh_public/$1 [L,P]

  Plone now works fine when accessed from www.mydomain.com/public/

  However, I can no longer access my Zope instance from the browser.  If I go to http://111.111.111.11:8080/ (which was working before), I get a "Cannot find server - Page cannot be displayed" error.  In Firefox, I get "The connection was refused when attempting to contact 111.111.111.11".  Obviously Zope is running, as Plone can be viewed through the rewrite.  Also, if I ssh into the server on which Zope is running, I can use it through lynx on the localhost (i.e. lynx http://localhost:8080/manage).  Restarting Zope has had no effect.

  Any ideas?

  Thanks in advance,
  Brian



------------------------------------------------------------------------------


  _______________________________________________
  Zope maillist  -  Zope at 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 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20050518/4a8432e8/attachment.htm


More information about the Zope mailing list