Unless you set ServerName in each VirtualHost with a different host name, and
access them as different host name in URL, you will need to have both sites at
the separate sub URLs defined in the same VirtualHost, not separate ones.
WSGIRestrictEmbedded On
WSGIDaemonProcess
Does the main Apache error log show an error message at the time of
'Segmentation Fault' or similar?
Ensure setting 'info' for LogLevel directive instead of 'warn' or 'err'. Then
capture the mod_wsgi log messages from the same time.
Since you are using a binary package, one possibility is that
Hi,
I have deployed two Django sites on apache server with mod_wsgi. When I
enable site1.conf and site2.conf separately, my sites work correctly. But
when I enable both site1.conf and site2.conf, then site1 shows error "404
Not Found: The requested URL /site1 was not found on this server."
Hi to all :)
in the last two days I have googled more to resolving my problem, but
unfortunately, now I am already locked
I have a Django project, with PostgreSQL (I use psycopg2-binary==2.7.6.1).
I have configurated a virtualenv with the command:
virtualenv -p python3 myvenv
activated the
I didn't read the whole articles before and got misunderstanding on the
things about 'reload code in daemon mode'.
I thought the daemon would detect the changes on any code in the project,
but it ONLY detects the changes on the application script, silly am I. lol
sorry for wasting your time
> 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 you use system package for mod_wsgi, configure/make/make install method
from source code, or pip install method should make no
Ooops.
Since I did not install the mod_wsgi through pip, so I guess I can only use
the second method.
And the result is still *EMBEDDED MODE*.
I did think of the chance that the code was wrong, but no matter the it is
wrong or not, I have to restart the server every time manually.
Graham