[plumi-discuss] Slow response when redirecting through apache

victor rajewski vik at engagemedia.org
Thu Jul 2 01:12:44 EST 2009


FYI:

I encountered a problem today where plone would respond very quickly
when accessed directly through port 8080, but as soon as I accessed it
through an apache rewrite statement it became extremely sluggish
(>10second load time), even on the localhost. There were no errors,
the rewriting was happening correctly, I really couldn't work out why
there was a problem. Eventually I tracked it down  to be a name
resolution error. Two things that can  be used to solve this problem:
adding ServerName to the apache config outside any Virtualhosts. This
is a good idea to do anyway, but is often forgotten. The other thing
which works (independently of the ServerName fix) is to add all
possible machine aliases to /etc/hosts, all pointing to something in
127.0.x.x.

vik


More information about the Discuss mailing list