Re: [Zope] Solved it. <relief> ... Nightmare - Locked myself out.
chas <pand-@skinnyhippo.com> wrote:
The answer is to use "__no_before_traverse__" in the URL.
http://127.0.0.1/__no_before_traverse__/manage
Sorry for the noise.
It's not a noise. It's kind of scary to use SiteAccess when this happens so easily. The ideal solution is for SiteAccess to detect infinite recursion. Hung Jung ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
At 11:12 Uhr -0800 03.02.2000, Hung Jung Lu wrote:
chas <pand-@skinnyhippo.com> wrote:
The answer is to use "__no_before_traverse__" in the URL.
http://127.0.0.1/__no_before_traverse__/manage
Sorry for the noise.
It's not a noise. It's kind of scary to use SiteAccess when this happens so easily.
I tried my first experiment with SiteAcess on a Xen instance. I did exactly what was told in the VirtualHosting Page for SiteAccess but can't get into Xen anymore... All I get is a screen asking me to log in and User:Password Challenges from the Browser. The __no_befor_traverse__ does not work at all with Xen... I think SiteAccess is a dangerous little bugger - be careful with it... Jochen
----- Original Message ----- From: Jochen Haeberle <listen@MIDRAS.de>
I tried my first experiment with SiteAcess on a Xen instance. I did exactly what was told in the VirtualHosting Page for SiteAccess but can't get into Xen anymore... All I get is a screen asking me to log in and User:Password Challenges from the Browser.
More details please! How exactly are you set up? What's a Xen instance? Can you get in with http://your.machine.name:8080/__no_before_traverse__/manage? Did you put anything in your Access Rule which tries to acquire or access other Zope objects? (If so, it needs a Proxy role). (And to others reading this: *pleease* let me know if you have trouble on this scale; I'm glad to help) Cheers, Evan @ digicool
At 14:50 Uhr -0600 03.02.2000, Evan Simpson wrote:
----- Original Message ----- From: Jochen Haeberle <listen@MIDRAS.de>
I tried my first experiment with SiteAcess on a Xen instance. I did exactly what was told in the VirtualHosting Page for SiteAccess but can't get into Xen anymore... All I get is a screen asking me to log in and User:Password Challenges from the Browser.
More details please! How exactly are you set up? What's a Xen instance?
Xen is a product, it's a project manager, available from <http://bits.netizen.com.au/Xen/> it's in beta stage and some Zope internals get patched. I have Zope running on ZServer at 8080, a Xen-Instance with ID Xen in the root folder. In Xen, I have a SiteRoot I cannot show you as it is unreachable. For VirtualHosting I set up a CNAME for Xen.machine.name. In my site root I have the following Access rule: <dtml-if "_.string.split(_.string.split(_.string.upper(HTTP_HOST), ':')[0], '.')==['XEN','HAEBERLE', 'NET']"> <dtml-call "REQUEST.path.append('Xen')"> </dtml-if > This is directly derived from the example on VirtualHosting from The SiteAccess Pages. I added the string.upper, because ip-names are not case sensitive.
Can you get in with http://your.machine.name:8080/__no_before_traverse__/manage? Did you put
As said before - no. I can get into the main server with no problem at all, just not into the Xen fodler any more. So the above works (even without the __no_before_traverse__) but http://your.machine.name:8080/__no_before_traverse__/Xen/manage does not.
anything in your Access Rule which tries to acquire or access other Zope objects? (If so, it needs a Proxy role).
No, as I said I just started out with it and was using the example code (see above) I think my problem is with the SiteRoot, but I can't get access to it. It is not too problematic for me, as I was just playing around - I could just delete the Xen instance and start over :-) But using SiteAccess defenitely has it's dangers... Jochen
----- Original Message ----- From: Jochen Haeberle <listen@MIDRAS.de>
Xen is a product, it's a project manager, available from <http://bits.netizen.com.au/Xen/> it's in beta stage and some Zope internals get patched.
Thanks for the pointer. I've downloaded it and I'll see if I can replicate this.
But using SiteAccess defenitely has it's dangers...
True enough. It has its hands buried deep in the traversal machinery. Cheers, Evan @ digicool
participants (3)
-
Evan Simpson -
Hung Jung Lu -
Jochen Haeberle