Thanks Wyatt.

Well, my apache config is set up as follows:

WSGIDaemonProcess pyramid user=benjamin group=benjamin processes=1 \
   threads=4 \
   python-path=/home/benjamin/modwsgi/env/lib/python2.6/site-packages
WSGIScriptAlias /myapp /home/benjamin/modwsgi/env/pyramid.wsgi

and the permissions are:

4 drwxrwxr-x 6 benjamin benjamin 4096 Oct  5 20:22 myapp
4 -rwxr-xr-x 1 benjamin benjamin  119 Oct  5 20:27 pyramid.wsgi

My understanding is that since this application is being run as me, then
running from my own home folder should work. Am I wrong?

Ben

On 5 October 2011 14:00, Benjamin Sims <[email protected]> wrote:

> I've been experimenting with moving my Pyramid apps to Apache following the
> Chris's helpful tutorial at:
>
> https://docs.pylonsproject.org/projects/pyramid/1.0/tutorials/modwsgi/.
>
> In order to isolate the problem, I've followed the whole thing exactly as
> is, substituting only correct user names for my server. However, when I try
> to access the app, I get (from the log):
>
> (13)Permission denied: access to /myapp denied.
>
> Has anyone any experience they can offer on this? There are various people
> reporting similar when I search for it, but none provide obvious solutions.
>
> The user and group are set to my username, and the application itself is
> entirely owned by my user also.
>
> Thanks for any tips as to where I might go to move forward with this,
>
> Ben
>
> PS: Very minor typo in the tutorial I think:
>
>
>   Order allow, deny
>
>
> should be:
>
>
>   Order allow,deny
>
>
> - Apache will throw an error if the space is omitted.
>

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