I have the following configuration in Apache web server for one site in a virtual environment and I am not using virtualhost...
WSGIPythonHome /var/www/mapsite
WSGIPythonPath /var/www/mapsite/lib/python3.4/site-packages
WSGIScriptAlias /mapflat /var/www/mapsite/mapsite/wsgi.py
WSGIApplicationGroup %{GLOBAL}
<Location "/mapflat">
Options +Indexes +FollowSymLinks +ExecCGI
Order deny,allow
Allow from all
Allow from all
AddHandler wsgi-script .py
</Location>
My question: if I were to have another site in another virtual environment in future, do I append it to WSPythonHome with : or repeat the whole thing?
Hopefully,This link should be helpful for you.
Deploying multiple django apps on Apache with mod_wsgi
If it still doesn't help.Please comment. :-)
At your query regarding the executing mod_wsgi as a daemon mode-:
It is for the sake of performance. Check here
Kindly revert for more queries :-)
At your query for windows.
Thanks for asking
Daemons- They are the processes which run in the background and are not interactive. They have no controlling terminal.
They perform certain actions at predefined times or in response to certain events. In *NIX, the names of daemons end in d.
In context of windows ,Daemonss becomes services. So in context of windows,You need to install apache as a service.Detailed description is here .
Process of implementation may be slightly different but actual intent is exactly same-The optimization.
cheers :-)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.