On May 14, 10:16 am, James McManus <[email protected]> wrote: > I'm trying to embed pylons in my apache server, following the instructions > in the Pylons Book. When I start my server I do not get an error. The > following egg is created in egg-cache: > > egg-cache/simplejson-2.0.9-py2.5-linux-x86_64.egg-tmp/ > > However, when I access the web site, I get the following error: > > [Thu May 13 20:02:32 2010] [error] [client 71.120.222.68] Error - <type > 'exceptions.OSError'>: [Errno 13] Permission denied: '/html' > > I set the permission on /html, which is my application directory, to the > same setting I have for egg-cache, so I should be able to write to it, since > I was able to write to egg-cache. > > What is pylons writing to my applications directory, and do I need to have > another setting to write to that directory?
You cant use relative pathnames, use absolute paths instead. See: http://code.google.com/p/modwsgi/wiki/ApplicationIssues#Application_Working_Directory Graham -- 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.
