Skip to content.

UPR HPCf

Sections
Personal tools
You are here: Home » Members » humberto's Home » Test ZWiki » ApacheAndZope
Views

ApacheAndZope

last edited 6 years ago by humberto

I've set up apache to front our zope install, so that our zope instances look like they are on port 80.

Information is available on the Howto section of the plone.org site, also see:

http://www.zope.org/Members/regebro/Zope_and_Apache

Here's what the config for HPCfplone? (this site) looks like.

The plone site is http://daleth.hpcf.upr.edu:8080/HPCfplone

The virtual host on alligator is plone.hpcf.upr.edu.

I installed a virtual host monster in http://daleth.hpcf.upr.edu:8080/hostmonster

Here's the virtual host definition in httpd.conf on alligator:

 # Plone pointing at daleth
 <VirtualHost plone.hpcf.upr.edu>
 ServerName plone.hpcf.upr.edu
 ServerAlias plone
 RewriteEngine on
 RewriteRule ^/(.*) http://daleth.hpcf.upr.edu:8080/VirtualHostBase/http/plone.hpcf.upr.edu:80/HPCfplone/VirtualHostRoot/$1 [P]
 </VirtualHost>

The trick of this is that requests to http://plone.hpcf.upr.edu:80/foo/bar get rewritten and proxied to http://daleth.hpcf.upr.edu:8080/HPCfplone/foo/bar in such a way that zope also feeds the internal links back to apache appropriately translated.

 

Powered by Plone

This site conforms to the following standards: