[Setup] Plone through Apache on Mac OS X 10.4 Server (Tiger) Problems
George Bray
listoid1 at linkalarm.com
Wed Mar 29 08:50:34 UTC 2006
Daniel,
Same environment here. All works for me.
I didn't use rewriterules, but did follow this
http://plone.org/documentation/how-to/plone-with-apache-1.3
George
On 29/03/2006, at 3:55 PM, Daniel Melnechuk wrote:
> Big Picture:
> Plone served through Apache on Mac OS Server does not serve correctly.
>
> Environment:
> Mac OS X 10.4.5 Server with factory installed Apache 1.3.x.
> Plone 2.1.2 binary install for Mac OS X downloaded from plone.org.
>
> Reproduce the error:
> Just installed Mac OS X 10.4 Server and updated all the way to 10.4.5.
> Running on a dual 500MHz G4 with mirrored 120GB drives with 1.5GB ram.
> Set up a bunch of virtual hosts for sites that will be served.
> Installed the package of Plone 2.1.2 without a problem and set the
> port to 8080.
> Then i hand edited the Apache config for the site that i want to be
> a Plone site, and turned off caching in Apache for all the sites
> (so no port 80 to proxy 16080 caching going on in front of Apache),
> following the message from this list:
>
> http://thread.gmane.org/gmane.comp.web.zope.plone.user/44741
>
> Expected result:
> Well i was hoping that my first Plone site on Mac OS X Server
> served through Apache would just work flawlessly. Well as
> flawlessly as the other 2 Plone sites i have set up on BSD being
> served through Apache 1.3.x or the CMF/Zope sites i have set up on
> BSD being served through Apache 1.3.x.
>
> Actual result:
> The Plone site comes up but all the links to the Plone site are not
> rewritten to be from the web site -- instead they are showing as:
>
> "http://localhost:8080/whatever"
>
> which works on the server of course but not from another computer.
> If you view source the "base href" in the page you see is:
>
> <base href="http://localhost:8080/" />
>
> What i have done:
> I have compared the Rewrite rules to the ones i have used under BSD
> and they are the same. I have double checked to the recommended
> ones in the email from this list. I have restarted Plone. I have
> restared Apache many times after each try at editing the conf file
> for this particular virtual host. I have rebooted the server. I
> have turned on RewriteLog and set level to 9 and the log reports
> absolutely no problem.
>
> Thoughts:
> I am starting to think that the Virtual Host Monster is bad, or
> misbehaving. But don't know if there is anything to do with it.
> Perhaps i should delete it and make a new one? Other than that i am
> stumped and so am writing to you all for help.
>
> Any suggestions would be most appreciated.
>
> Peace,
> Dan
>
> PS: Here is the rewrite rules with names changed to protect the
> innocent and not working (one commented out as per email from this
> list):
>
> RewriteEngine On
> # RewriteCond %{REQUEST_METHOD} ^TRACE
> RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/
> plone.domainname.org:80/plone/VirtualHostRoot/$1 [L,P]
>
> _______________________________________________
> Setup mailing list
> Setup at lists.plone.org
> http://lists.plone.org/mailman/listinfo/setup
More information about the Setup
mailing list