On May 16, 10:30 am, "Kevin Horn" <[EMAIL PROTECTED]> wrote: > Under what circumstances do you want the app to restart? > > Are you looking to restart in the event of a crash (Apache 502 Bad Proxy > error)?
Yeah. That sounds good. ;-) Really, all I want it to do is run in the background like Apache does. I guess as a daemon, yes? Right now, I always start it from an interactive shell. I want it to either start when called upon by the mod_rewrite rule, or run all the time waiting for Apache to direct requests its way. > On 5/15/07, Kevin Cole <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I'm lost. I've written the beginnings of a small app, using > > TurboGears and Elixir (with PostgreSQL). I already have web pages > > that I don't want to move behind /static/. Instead, since TurboGears > > is the newcomer to the site, I want TG applications to live under / > > apps/ or /dynamic/ or some other yet-to-be-chosen name. > > > >From what I read, mod_rewrite's the way to go. As long as I have > > started the TurboGears app, it appears to work fine, but how do I get > > the TurboGears app to auto-restart? I've tried the suggestion at > >http://tools.cherrypy.org/wiki/ModRewritewhich complained about > > PYTHON_EGGS_CACHE not being defined. I added that environment > > variable to the apache2 startup script, been down the road of trying > > to set ownership and permissions to take care complaints about it, and > > as a last resort, tried "python setup.py install" for the application. > > I don't think I'm any closer than when I started. > > > Is there a good write-up of how to do this? > > > Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

