[Zope] VirtualHost

Brian Hickey brian.hickey at version1.ie
Wed May 18 04:49:00 EDT 2005


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20050518/6de77fb9/attachment.htm


More information about the Zope mailing list