[Setup] Going crazy about Plone and Apache

Ricardo Newbery ric at digitalmarbles.com
Wed Feb 4 18:03:22 UTC 2009


On Feb 4, 2009, at 8:40 AM, FilipeFreitas wrote:

> I need help coming up with a correct virtualhostmonster link.
> We need Plone to rewrite links to http://www.bioinformatics-portugal.org/ 
> .
> Servername is bioserver.ieeta.pt, Apache is on port 80, and Plone is  
> on port
> 81 (http), 8081 (zope).
> http://www.bioinformatics-portugal.org/ redirects to
> bioserver.ieeta.pt/rede.
>
> This works:
> http://bioserver.ieeta.pt:8081/VirtualHostBase/http/bioserver.ieeta.pt/Plone/VirtualHostRoot/_vh_rede/
>
> But we need to rewrite the links to http://www.bioinformatics-portugal.org/ 
> .
> http://bioserver.ieeta.pt:8081/VirtualHostBase/http/www.bioinformatics-portugal.org/Plone/VirtualHostRoot/_vh_rede/
>
> I've tried every combination, custom ports included, etc. Nothing  
> seems to
> work.
> I've tried this like:
>
> ProxyPass		/rede
> http://bioserver.ieeta.pt:8081/VirtualHostBase/http/bioserver.ieeta.pt:81/Plone/VirtualHostRoot/_vh_rede/
> ProxyPassReverse 	/rede
> http://bioserver.ieeta.pt:8081/VirtualHostBase/http/www.bioinformatics-portugal.org:80/Plone/VirtualHostRoot/
>
> But links are not rewritten.
> I've also tried apache rewrite rules but nothing happens



Port 81 is probably governed by some sort of access rule.  You  
probably don't want to use it in a VirtualHostMonster-style link.

http://www.bioinformatics-portugal.org/
appears to serve up a static page that tries to load up http://bioinformatics.ieeta.pt/rede 
  into the frameset.  Why are you using a frameset?

It's a little hard to figure out your configuration with the  
information given, but try the following:

1) Dump the frameset page

2) Add the following into the Apache VirtualHost container for the www.bioinformatics-portugal.org 
  domain:

ProxyPass /
http://bioserver.ieeta.pt:8081/VirtualHostBase/http/www.bioinformatics-portugal.org:80/Plone/VirtualHostRoot/


Ric






More information about the Setup mailing list