trouble with SiteAccess; can't manage subtree mapped to inaccessible domain name
I set up SiteAccess 2-0-0b3 on Zope 2.2.2 so that two virtual hosts front-ended by Apache map to two different subtrees in Zope. That worked OK until the local DNS server lost the entry for one of my domains. I'm working on fixing that (it's out of my hands) but I find that in the meantime I can't even get to the corresponding Zope subtree in manage mode! I think the SiteAccess object I created is still mapping URLs to the domain name which now fails to resolve. How do I get out of this jam? I tried deleting the Products/SiteAccess folder, restarting Zope, and deleting the SiteAccess product from the Control_Panel/Products view, but now I'm getting an AttributeError when I try to access the subtree that has a SiteAccess object. Since I can't get to that tree, I can't figure out how to delete that object. Is there some way to delete it by name from a higher point in the tree? -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA
From: "Fred Yankowski" <fred@ontosys.com>
How do I get out of this jam? I tried deleting the Products/SiteAccess folder, restarting Zope, and deleting the SiteAccess product from the Control_Panel/Products view, but now I'm getting an AttributeError when I try to access the subtree that has a SiteAccess object. Since I can't get to that tree, I can't figure out how to delete that object. Is there some way to delete it by name from a higher point in the tree?
Yow! No need for such extreme measures. Put SiteAccess back, then open the management interface for the subtree folder in your Zope, using: http://your.zope/the-subtree/_SUPPRESS_SITEROOT/manage_main ...and delete the SiteRoot. Cheers, Evan @ digicool & 4-am
Excellent, that did the trick. Thanks! And now, after the fact, I see that the CHANGES.txt file mentions this technique. RTFM on me. I'm glad to have SiteAccess. In combination with the Apache ProxyPass method <http://www.zope.org/Members/anser/apache_zserver/> it's been working well to host several domains from the same Zope/Zserver instance. Very cool. It _did_ take me while to realize that I needed version 2 of SiteAccess to work with Zope 2. <http://www.zope.org/Members/4am/SiteAccess> only has links to version 1 of SiteAccess, which threw me off for a while. On Sat, Sep 23, 2000 at 12:01:11PM -0400, Evan Simpson wrote:
Yow! No need for such extreme measures. Put SiteAccess back, then open the management interface for the subtree folder in your Zope, using:
http://your.zope/the-subtree/_SUPPRESS_SITEROOT/manage_main
...and delete the SiteRoot.
-- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA
Fred Yankowski wrote:
I'm glad to have SiteAccess. In combination with the Apache ProxyPass method <http://www.zope.org/Members/anser/apache_zserver/> it's been working well to host several domains from the same Zope/Zserver instance. Very cool. It _did_ take me while to realize that I needed version 2 of SiteAccess to work with Zope 2. <http://www.zope.org/Members/4am/SiteAccess> only has links to version 1 of SiteAccess, which threw me off for a while.
Ok, well, SiteAccess2 is now the only "canonical" version. The only way to get to SiteAccess1 is by going to SiteAccess2 and selecting the old version. Hope that helps, mindlace Zopatista Community Liason
participants (3)
-
ethan mindlace fremen -
Evan Simpson -
Fred Yankowski