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
> 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
+---[ 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
> 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
+---[ 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 :
> +---[ 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
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
+---[ 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]
_
--- 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
+---[ 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
--- 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:
+---[ 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
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
--- 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.
>
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
+---[ 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
|
--- 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:
--- 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
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
> >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
20 matches
Mail list logo