Problem with mod_wsgi: Getting a permission denied [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
开发者_如何学运维 Improve this questionHello I seem to be getting an error when restarting my httpd.conf file for apache. I have tried to reinstall python, but that has not made any difference. Recently, I had to do a clean installation on my server so I'm pretty much reinstalling and configuring everything.
`Starting httpd: httpd: Syntax error on line 200 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/httpd/modules/mod_wsgi.so into server: /usr/lib/httpd/modules/mod_wsgi.so: cannot restore segment prot after reloc: Permission denied`
In my httpd.conf file at line 200, I have
LoadModule wsgi_module /usr/lib/httpd/modules/mod_wsgi.so
This is covered in the mod_wsgi documentation at:
http://code.google.com/p/modwsgi/wiki/ApplicationIssues#Secure_Variants_Of_UNIX
精彩评论