[Setup] Going crazy about Plone and Apache

Alberto Lopes alberto at alopes.com
Wed Feb 4 17:35:22 UTC 2009


Filipe,

Please don't get louco! I promise you will be able to setup everything :-)

I've been in the same situation some time ago. CSS and images failure means
most probably that redirection works, but VHM rewrites don't.

Last december I posted a micro-how-to-torial about configuring Apache and
VHM. This is the link:
http://n2.nabble.com/SSL-Login-for-manage---login_form-tp1663336p1664109.html

Please note that I used RewriteRule to proxy and rewrite the urls, not Proxy
or ProxyPass.

One last thing to note: you wrote
"http://www.bioinformatics-portugal.org/redirects to
bioserver.ieeta.pt/rede."

bioserver.ieeta.pt is the DNS name for your Zope server, right?

And rede is the id of your Plone Site object?

Alberto


On Wed, Feb 4, 2009 at 2:40 PM, FilipeFreitas <filipefreitas at ua.pt> wrote:

>
> I'm going crazy!
> I can't make Apache and Plone play nice together, and everything I try
> doesn't work.
> The problem is that it seems that the CSS and images are not downloaded or
> evaluated.
> I've read every thread about this and nothing seems to fix the problem, and
> my only hope now is to open this thread.
>
> 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
> Anyone know a solution?
>
>
>
>
> --
> View this message in context:
> http://n2.nabble.com/Going-crazy-about-Plone-and-Apache-tp2269863p2269863.html
> Sent from the Installation, Setup, Upgrades mailing list archive at
> Nabble.com.
>
>
> _______________________________________________
> Setup mailing list
> Setup at lists.plone.org
> http://lists.plone.org/mailman/listinfo/setup
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.plone.org/pipermail/setup/attachments/20090204/e22777d3/attachment.htm


More information about the Setup mailing list