Re: embedding pylons in apache problem

2010-05-14 Thread James McManus
Thanks!

On Thu, May 13, 2010 at 8:51 PM, Graham Dumpleton 
graham.dumple...@gmail.com wrote:



 On May 14, 10:16 am, James McManus jmpmcma...@gmail.com 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 pylons-disc...@googlegroups.com.
 To unsubscribe from this group, send email to
 pylons-discuss+unsubscr...@googlegroups.compylons-discuss%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/pylons-discuss?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-disc...@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.



embedding pylons in apache problem

2010-05-13 Thread James McManus
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?

Thanks
Jim

-- 
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-disc...@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.



Re: embedding pylons in apache problem

2010-05-13 Thread Graham Dumpleton


On May 14, 10:16 am, James McManus jmpmcma...@gmail.com 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 pylons-disc...@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.