开发者

Problem with configuring mod_wsgi WSGIDaemonProcess option

开发者 https://www.devze.com 2022-12-29 17:38 出处:网络
I am trying to deploy Pinax bundle of Django framework + and selected applications. Here is my apache config:

I am trying to deploy Pinax bundle of Django framework + and selected applications.

Here is my apache config:

WSGIDaemonProcess ptest python-path=/home/pinax-env/lib/python2.5/site-packages
WSGIProcessGroup ptest
WSGIScriptAlias / /home/ptest/de开发者_JAVA百科ploy/pinax.wsgi

When I restart apache I get the following error:

Invalid option to WSGI daemon process definition

Any ideas what is wrong? I am pretty sure my virtual environment at /home/pinax-env/ works.

Is any setup required for daemon process outside of apache config?


Likely because you are using an ancient obsolete version of mod_wsgi. So, install something newer than mod_wsgi 1.X and you should be fine.


The only configuration file outside apache config is your WSGIScriptAlias file: pinax.wsgi

For django you should make you own file as described here: http://docs.djangoproject.com/en/dev/howto/deployment/modwsgi/.

But your error is solely connected with your WSGI config. Try to comment out all other directives except WSGIScriptAlias and see if it helps.

0

精彩评论

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