[modwsgi] cannot get into deamon mode

2019-02-12 Thread
Hello I have set my configuration like following, but it seems I am not into the deamon mode. did I miss something? ServerName myname CustomLog /var/log/httpd/myname-access.log common ErrorLog /var/log/httpd/myname-error.log WSGIDaemonProcess myproject python-home=/path/to/myproject/.env

[modwsgi] Re: cannot get into deamon mode

2019-02-13 Thread
Apache everytime I changed my source code. Even if I add * WSGIRestrictEmbedded On, *it still can work but still prints out *'EMBEDDED MODE'*. I am hosting other PHP applications at the same Apache Server, not knowing if it concerns. 阿尼於 2019年2月13日星期三 UTC+8上午11時51分26秒寫道: > > Hello >

Re: [modwsgi] Re: cannot get into deamon mode

2019-02-14 Thread
r than LogLevel of warn or err. The use of 'info' will cause mod_wsgi > to output log messages about restarts, daemon group and interpreter used. > This will help in debugging what is happening. > > Graham > > On 14 Feb 2019, at 5:57 pm, 阿尼 > wrote: > > *'myip'* is

Re: [modwsgi] Re: cannot get into deamon mode

2019-02-19 Thread
t; > It is not an environment variable in the latter, so not 'os.environ', but > the value from the environ argument to the application. > > The first method picks it up direct from the 'mod_wsgi' module and so can > be used at global scope. > > Graham > > > > On 15 Feb 2

Re: [modwsgi] Re: cannot get into deamon mode

2019-02-19 Thread
and thank you for your patience. Graham Dumpleton於 2019年2月20日星期三 UTC+8上午8時27分30秒寫道: > > > > On 20 Feb 2019, at 11:23 am, 阿尼 > wrote: > > Ooops. > Since I did not install the mod_wsgi through pip, so I guess I can only > use the second method. > > > Whether