Seems standard RedHat SELinux policy files may have awareness of mod_wsgi now.

http://blog.endpoint.com/2010/02/selinux-httpd-modwsgi-26-rhel-centos-5.html

"""
WSGI Socket

When running in daemon mode, httpd and the mod_wsgi daemon communicate
via a UNIX socket file. This should usually have a context of
httpd_var_run_t. The standard Red Hat SELinux policy includes an entry
for /var/run/wsgi.* to use this context, so it makes sense to put the
socket there using the WSGISocketPrefix directive within your httpd
configuration:

  WSGISocketPrefix run/wsgi
(Note that run/wsgi translates to /etc/httpd/run/wsgi which is
symlinked to /var/run/wsgi.)
"""

Can someone verify that?

Graham

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" 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/modwsgi?hl=en.

Reply via email to