You are on page 1of 1

Command prompt:

Set “MOD_WSGI_APACHE_ROOTDIR=c:\wamp64\bin\apache\apache2.4.35”

Pip install mod_wsgi

Apache/httpd.conf
LoadModle wsgi_module ""

WSGIScriptAlias / "/G:\PROJECT\webapp\webapp/wsgi.py"

WSGIPythonHome "C:\Program Files\Python36"

WSGIPythonPath "/G:\PROJECT\webapp"

Alias /static/ G:\PROJECT\webapp\itsupport\static

<Directory G:\PROJECT\webapp\itsupport\static

Require all granted

</Directory>

<Directory "G:\PROJECT\webapp\webapp">

<Files wsgi.py>

Require all granted

</Files>
</Directory>

You might also like