On Sep 8, 8:18 pm, "Lukasz Szybalski" <[EMAIL PROTECTED]> wrote:
> On Mon, Sep 8, 2008 at 10:08 PM, AZMel <[EMAIL PROTECTED]> wrote:
>
> > On Sep 8, 7:53 pm, "Lukasz Szybalski" <[EMAIL PROTECTED]> wrote:
> >> On Mon, Sep 8, 2008 at 9:43 PM, AZMel <[EMAIL PROTECTED]> wrote:
>
> >> > Hello All,
>
> >> >    I'm at a bit of a loss and I now turn to you for help.
>
> >> >    I have an application that works perfectly in dev mode and it
> >> > works fine when I manually start  /usr/lib/cgi-bin/myapp-autostart.cgi
>
> >> Not sure why you use cgi instead of mod_wsgi, but you could try
> >> starting your app on production server /usr/bin/start-myapp.py
> >> prod.cfg and see if you get an error.
>
> > Last year when I was looking for a way to autostart that was the only
> > way I could find that worked for me.  I will look into mod_wsgi
> > though.  Any recommendations on the best tut's to use?
>
> http://lucasmanual.com/mywiki/TurboGears#head-36b7eef1526da4fe58c7373...
>
>
>
> >> Usually if you get an error running it using prod.cfg configuration.
> >> When you do you can fix it and it should run fine under apache with no
> >> problems.
>
> > I copied over my prod.cfg and replaced the logging section with the
> > logging section from dev.cfg.  It all works without error as it did
> > before.
>
> Doesn't the logging in you prod have server.log file already included?
>
It does, but the 500 error never leaves a traceback, server.log entry,
or apache2 error.log entries.  This is why I'm at a loss.
> Sorry. This is where my knowledge of deployment of tg in cgi mode
> ends. If you switch it over to mod_wsgi with apache2 you will have the
> error logs in apache log.
>
I will set up a test server with mod_wsgi and see how that goes.  If I
can get it working in time I might convert over to it.

Thanks

> Lucas
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to