Set multiple WSGIPythonPath with Apache + mod_wsgi

flow

Touch Django ↓ Find out how to deploy with Apache + mod_wsgi ↓ Write WSGIScriptAlias and WSGIPythonPath in Virtual Host ↓ "Error !! Do not write WSGIPythonPath to ! Write in httpd.conf! " ↓ What if I want to handle multiple projects ... (Although I tried arranging more than one, it was overwritten as expected ('A`) Vow)

answer

You can set multiple settings with ":" for Unix and ";" for Windows. Example) WSGIPythonPath / path / to / foo; / path / to / bar (for Windows)

It was written on the Wiki. I think it's enough to write in Virtual Host. In the first place, I rarely see the story of "I want to set multiple", so I don't think it's really necessary.

Recommended Posts

Set multiple WSGIPythonPath with Apache + mod_wsgi
Handle multiple Django projects with Apache (WSGIDaemonProcess)
Django + Apache with mod_wsgi on Windows Server 2016
CentOS 6.4 with Python 2.7.3 with Apache with mod_wsgi and Django
Multiple selections with Jupyter
Getting started with apache2
Set up a web server with CentOS7 + Anaconda + Django + Apache
Set connection timeout with boto3
Draw hello world with mod_wsgi
Multiple regression analysis with Keras
Python3 + Django ~ Mac ~ with Apache
Manipulate multiple proxies with Squid
macports Apache, Python 3.3 + non-macports mod_wsgi3.4
Django --Apache mod_wsgi virtualhost deployment
Animate multiple graphs with matplotlib
Control multiple robots with jupyter-lab
Set environment variables with lambda-uploader
Create an environment for Django x Apache x mod_wsgi with Vagrant (Ubuntu 16.04)