[Zope] Apache + ZServer + SiteAccess
Evan Simpson
evan@4-am.com
Thu, 17 Feb 2000 10:46:58 -0600
----- Original Message -----
From: Meng Kuan <mengkuan@lga.net.sg>
> Everything has been working solidly (and fast!) until I found out that
> it can't seem to do a recatalog properly.
>
> My guess is that it was previously catalogued as 'Sample/Object1' but
> ZCatalog now gets the uid of the object as 'Zope/Sample/Object1'. Is
> there anything that I can do to overcome this? Will installing a
> SiteRoot in Catalog (my default catalog object) itself help?
Any setup involving virtual hosts (as this proxy arrangement does
implicitly) can have bad interactions with ZCatalogs, and there's not a lot
to be done without some fairly deep changes in Zope. Basically, a catalog
entry created through one 'access path' (like ZServer on 8080) should not be
used or updated on another (like the proxy) on which the absolute paths
differ. This can be tricky when the objects are catalog-aware.
Sorry, but my best advice is the same as the doctor gave to the guy who said
"My arm hurts when I do this."
"So don't do that."
Cheers,
Evan @ 4-am & digicool