Can you post your nginx.conf and production.ini? On Tue, Aug 11, 2009 at 8:33 PM, mickgardner <[email protected]> wrote:
> > Hi there, > > 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. > > Any help would be appreciated! > > thanks > > Michael Gardner > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
