I stopped it eventually 'cause it was taking too much time (at least
it seemed so..)
I tried commenting out the

"use = egg:Flup#fcgi_thread"

and just inserted

"use = egg:Paste#http"

This brought me to the same orange and black 404 page.

I'm guessing then that the problem is not with nginx?



On Aug 12, 3:19 pm, mickgardner <[email protected]> wrote:
> Thats a really good suggestion!
> Trying it now. stopped nginx and changed the production.ini port to 80
> and then ran paste server under sudo.
> It's taking an inordinate amount of time to serve the page, like
> minutes! still waiting...
>
> On Aug 12, 3:04 pm, Chris Miles <[email protected]> wrote:
>
> > On 12/08/2009, at 1:33 PM, mickgardner wrote:
>
> > > i'm attempting to host my first website created with pylons. Its
> > > mostly mako templates, with a contact page form.
> > > I'm hosting it behind nginx using fsgi and paste server.
>
> > > My problem is that the only content that gets served is whatever is in
> > > the 'public' directory, eg: if I go to the url of the css file, or an
> > > image file, then those items are served successfully.  If i create a
> > > dummy index.html file and put that in there then it is served also.
> > > But I get an error for my standard webpage, its the black orange
> > > error.py generated 404 page "the resource could not be found".
>
> > > Could someone point me in the right direction as to what i'm missing?
>
> > > I've deployed the app as per the pylonsbook instructions, have tested
> > > the app in development and all worked fine, but in production, using
> > > the production.ini file (or any ini file for that matter) I can't get
> > > anything but static content to work.
>
> > Can you test the paster served app directly (bypass nginx) to see if  
> > it is an app problem or an nginx config problem?
>
> > Cheers
> > Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to