Permalink
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (18 sloc) 562 Bytes
Define wistar_path /opt/wistar/wistar-master/
Listen 8080
<VirtualHost *:8080>
WSGIScriptAlias / ${wistar_path}/wistar/wsgi.py
WSGIDaemonProcess wistar python-path=${wistar_path}
WSGIProcessGroup wistar
ErrorLog /var/log/apache2/wistar.log
CustomLog /var/log/apache2/wistar_access.log combined
Alias /static/ ${wistar_path}/common/static/
<Directory "${wistar_path}/common/static">
Require all granted
</Directory>
<Directory ${wistar_path}>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
</VirtualHost>