开发者

Problem with mod_wsgi: Getting a permission denied [closed]

开发者 https://www.devze.com 2023-03-08 10:15 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

开发者_如何学运维 Improve this question

Hello 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

0

精彩评论

暂无评论...
验证码 换一张
取 消