I am getting the common Permission denied error:
[Fri Mar 21 16:07:45 2014] [error] [client 10.10.71.114] (13)Permission
denied: mod_wsgi (pid=21652, process='/processimages', application=''):
Call to fopen() failed for '/var/www/webpy-app/service.py'.
I've followed the documentations and tried most of everything.
*Here is what I have in my httpd.conf*
WSGISocketPrefix run/wsgi
#WSGISocketPrefix /var/run/wsgi
WSGIDaemonProcess /processimages user=bhaarat group=bhaarat processes=20
threads=30 home=/var/www/webpy-app/ stack-size=5524288 display-name=%{GROUP}
WSGIProcessGroup /processimages
WSGIPythonHome /usr/local
WSGIPythonPath /usr/local/lib/python2.7/site-packages/
WSGIScriptAlias /processimages /var/www/webpy-app/service.py
*Permissions on httpd logs directory*
[bhaarat@demo webpy-app]$ ls -al /etc/httpd/logs
lrwxrwxrwx. 1 root root 19 Oct 8 00:23 /etc/httpd/logs ->
../../var/log/httpd
[bhaarat@demo webpy-app]$ ls -al /var/log
drwxrwxrwx. 2 root root 4096 Mar 21 03:40 httpd
*Permissions on /var/www/webpy-app/service.py*
[bhaarat@demo webpy-app]$ ls -al /var/www/webpy-app/service.py
-rw-r--r--. 1 root root 7162 Mar 21 16:05 /var/www/webpy-app/service.py
I start/stop httpd with: sudo service httpd stop/start
What am I missing? How can I get rid of the `Permission denied error?`
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.