Re: [Zope] 404 on "/manage" frames with mod_rewrite

2008-08-20 Thread Bernard Devlin
I worked it out. For the apache virtualhost config for 443 I changed the rewrite rule to this: RewriteRule ^/zp($|/.*) http://%{SERVER_NAME}:8080/VirtualHostRoot$1 [L,P] I probably should have included my rewrite rules in the earlier message. I'm sure my mistake would have been glaringly obvious

Re: [Zope] Need some help to get rid of an InvalidObjectReference exception

2008-08-20 Thread chaouche yacine
> You understand that _v_ attributes are only available in > the thread they > were created, and will disappear when the object leaves the > object > cache. > > If you manage to get a 2nd thread there will be nothing in > the _v_ > attribute, or wait 10 or so mins between requests... > > -- > A

Re: [Zope] Need some help to get rid of an InvalidObjectReference exception

2008-08-20 Thread Andrew Milton
+---[ chaouche yacine ]-- | | | Not exactly. I am instantiating non persistent objects that do have a reference to persistence objects in the form of an attribute, and then trying to cache those non persistent objects. | | Do the fact that these non persistent objects st

Re: [Zope] Need some help to get rid of an InvalidObjectReference exception

2008-08-20 Thread chaouche yacine
> Whatever you are doing, you are doing the "wrong > thing". > > You are instantiating persistent objects and not storing > them in the > ZODB. This is going to cause your ZODB to grow, so you > might as well > store them. > > Otherwise you need to make non-persistent versions of the > objects

Re: [Zope] Need some help to get rid of an InvalidObjectReference exception

2008-08-20 Thread Andrew Milton
+---[ chaouche yacine ]-- | > +---[ chaouche yacine ]-- | > | | > | Correct. I Quit... :( better not to store ZODB objects in | > the session and try to get some way around. | > | > So now you can go look at the Cache objects that Zope | > provides :

Re: [Zope] Need some help to get rid of an InvalidObjectReference exception

2008-08-20 Thread chaouche yacine
> +---[ chaouche yacine ]-- > | > | Correct. I Quit... :( better not to store ZODB objects in > the session and try to get some way around. > > So now you can go look at the Cache objects that Zope > provides :-) > > -- > Andrew Milton > [EMAIL PROTECTED] If you are talk

Re: [Zope] how to authenticate into zope as external user

2008-08-20 Thread vaibhav pol
thank you very much . On Wed, Aug 20, 2008 at 5:49 PM, Andrew Milton <[EMAIL PROTECTED]>wrote: > +---[ vaibhav pol ]-- > | hiii, > | I am using zope-2.8.1 version and i wish to login into zope > without > | facing the login window that zope provides > | i wan

Re: [Zope] Need some help to get rid of an InvalidObjectReference exception

2008-08-20 Thread Andrew Milton
+---[ chaouche yacine ]-- | | Correct. I Quit... :( better not to store ZODB objects in the session and try to get some way around. So now you can go look at the Cache objects that Zope provides :-) -- Andrew Milton [EMAIL PROTECTED] _

Re: [Zope] Need some help to get rid of an InvalidObjectReference exception

2008-08-20 Thread chaouche yacine
--- On Wed, 8/20/08, Andrew Milton <[EMAIL PROTECTED]> wrote: > From: Andrew Milton <[EMAIL PROTECTED]> > Subject: Re: [Zope] Need some help to get rid of an InvalidObjectReference > exception > To: "chaouche yacine" <[EMAIL PROTECTED]> > Cc: zope@zope.org > Date: Wednesday, August 20, 2008, 5

Re: [Zope] Need some help to get rid of an InvalidObjectReference exception

2008-08-20 Thread Andrew Milton
+---[ chaouche yacine ]-- | | Ok here's how I did to finally fix it : | | * create a new Transient Object Container (sessionTOC) at root | * create a new Session Data Manager (sessionDM), with the following settings : | ** Id : sessionDM | ** Transient Object Container Path

Re: [Zope] Need some help to get rid of an InvalidObjectReference exception

2008-08-20 Thread chaouche yacine
--- On Wed, 8/20/08, chaouche yacine <[EMAIL PROTECTED]> wrote: > From: chaouche yacine <[EMAIL PROTECTED]> > Subject: Re: [Zope] Need some help to get rid of an InvalidObjectReference > exception > To: "Dieter Maurer" <[EMAIL PROTECTED]> > Cc: zope@zope.org > Date: Wednesday, August 20, 2008, 5:

Re: [Zope] how to authenticate into zope as external user

2008-08-20 Thread Andrew Milton
+---[ vaibhav pol ]-- | hiii, | I am using zope-2.8.1 version and i wish to login into zope without | facing the login window that zope provides | i want to make one DTML page which will be used as login page for ZOPE and | when I will enter username and password

[Zope] how to authenticate into zope as external user

2008-08-20 Thread vaibhav pol
hiii, I am using zope-2.8.1 version and i wish to login into zope without facing the login window that zope provides i want to make one DTML page which will be used as login page for ZOPE and when I will enter username and password in DTML page, this information should be used for zope a

Re: [Zope] Need some help to get rid of an InvalidObjectReference exception

2008-08-20 Thread chaouche yacine
--- On Wed, 8/20/08, chaouche yacine <[EMAIL PROTECTED]> wrote: > So the question is now : is there another way to put some > ZODB objects in the session for future use ? because there > is no reason to create the same object twice or thrice in my > product so I want it to stay in the session. >

Re: [Zope] 404 on "/manage" frames with mod_rewrite

2008-08-20 Thread Tino Wildenhain
Bernard Devlin wrote: Hi folks, I managed to find some good information on putting zope behind apache and using mod_rewrite. This appears to be working fine as long as I'm using a non-framed page (and it works with SSL too). However, when I try to access the site using https://mysite.com/s

Re: [Zope] Need some help to get rid of an InvalidObjectReference exception

2008-08-20 Thread Andrew Milton
+---[ chaouche yacine ]-- | | > As you see, I do not intentionally copy objects from one | > ZODB to another... Except maybe if the session has a | > separate storage and that this breaks everything. But then, | > I could not even use the _getCopy method because nonZODBish |

Re: [Zope] Need some help to get rid of an InvalidObjectReference exception

2008-08-20 Thread chaouche yacine
--- On Wed, 8/20/08, chaouche yacine <[EMAIL PROTECTED]> wrote: > From: chaouche yacine <[EMAIL PROTECTED]> > Subject: Re: [Zope] Need some help to get rid of an InvalidObjectReference > exception > To: "Dieter Maurer" <[EMAIL PROTECTED]> > Cc: zope@zope.org > Date: Wednesday, August 20, 2008, 3:

Re: [Zope] Need some help to get rid of an InvalidObjectReference exception

2008-08-20 Thread chaouche yacine
--- On Tue, 8/19/08, Dieter Maurer <[EMAIL PROTECTED]> wrote: > From: Dieter Maurer <[EMAIL PROTECTED]> > Subject: Re: [Zope] Need some help to get rid of an InvalidObjectReference > exception > To: [EMAIL PROTECTED] > Cc: zope@zope.org > Date: Tuesday, August 19, 2008, 11:16 AM > chaouche yac

[Zope] 404 on "/manage" frames with mod_rewrite

2008-08-20 Thread Bernard Devlin
Hi folks, I managed to find some good information on putting zope behind apache and using mod_rewrite. This appears to be working fine as long as I'm using a non-framed page (and it works with SSL too). However, when I try to access the site using https://mysite.com/some_zope_page it works, but

Re: [Zope] Need some help to get rid of an InvalidObjectReference exception

2008-08-20 Thread chaouche yacine
> >Need some help to get rid of an InvalidObjectReference > exception > >In my zope product, when I try to put some specific > object in the session, I get this : > > > >2008-08-18T14:51:02 ERROR(200) SiteError > http://www.afdas.com:8091/noyauafdas/tests/testAdresses > >Traceback (most recent call