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