Is there someone who have more that one instance running on his server
who would like to share how to do it correctly?

And, how can I make my tables data reappear in the admin interface?

Thank you

Francis


On Jun 15, 2:20 pm, Francis <[email protected]> wrote:
> Also, if I set the SITE_ID to be equal in both config, When I save a
> model entry, I got an error from django:
> ERROR:  canceling statement due to statement timeout
>
> Francis
>
> On Jun 15, 10:40 am, Thomas Guettler <[email protected]> wrote:
>
>
>
> > Hi,
>
> > do you use the cache module? Be sure, that both projects use
> > different ones.
>
> > Maybe you need to set SESSION_COOKIE_NAME if the domain name is the
> > same.
>
> > Do you use one database or two? (Is settings.DATABASE_NAME the same?)
>
> >   Thomas
>
> > Francis schrieb:
>
> > > Hi,
>
> > > I have completed one web site and I am now ready to deploy it in
> > > production, but I have serious issues where I can't find any
> > > information/clue on the django web site, in the book or on IRC. I have
> > > no idea how I can solve my problem
>
> > > What I want to achieve is the following:
> > > 1 site under http without admin acces
> > > 1 site under https + admin acces
>
> > > My config
> > > python 2.5
> > > django 1.0.2
> > > postgresql
> > > mod_wsgi (i'm using it because djapian doesn't work with mod_python)
>
> > > So what I did was to create two mod_wsgi on two project repositories.
> > > One configured with the admin apps installed (https) an one without
> > > (http).
> > > Results:
> > > When I save an entry to a model, it saves it and redirects to the non
> > > secure http service instead of the secure one, throwing a 404.
>
> > > So I tried to enable the admin apps on both services.
> > > Results:
> > > Now I get a proxy error on the https service and a timeout on the http
> > > service.
> > > Some tables show no result on the http service but show them all on
> > > the other one.
>
> > > If I shut down the https service, some entries can be saved and others
> > > don't.
> > > The same tables that wrongly display nothing are still empty.
>
> > > I tried to give each site a different site_id, but it doesn't help.
>
> > > Help would be very much appreciated,
>
> > > Thank you
>
> > > Francis
>
> > --
> > Thomas Guettler,http://www.thomas-guettler.de/
> > E-Mail: guettli (*) thomas-guettler + de
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to