011b2590aa
the apache2/mod_wsgi config to do this.) Not sure if this complies with Best Practice. Will check this out ASAP.
40 lines
1.7 KiB
Text
40 lines
1.7 KiB
Text
WSGIPythonPath /srv/http/uat.2017.pycon-au.org/symposion/website:/srv/http/uat.2017.pycon-au.org/symposion/lib/python2.7/site-packages
|
|
|
|
<VirtualHost 192.55.98.190:80>
|
|
ServerAdmin webmaster@pycon-au.org
|
|
ServerName uat2017.pycon-au.org
|
|
ServerAlias uat2017.pycon-au.org
|
|
|
|
Alias /favicon.ico /srv/http/uat.2017.pycon-au.org/symposion/website/static/dist/pyconau2017/images/favicon.ico
|
|
Alias /site_media/static/pyconau2017/ /srv/http/uat.2017.pycon-au.org/symposion/website/static/dist/pyconau2017/
|
|
|
|
Alias /site_media/static/admin/ /srv/http/uat.2017.pycon-au.org/symposion/lib/python2.7/site-packages/django/contrib/admin/static/admin/
|
|
Alias /site_media/static/wagtailadmin/ /srv/http/uat.2017.pycon-au.org/symposion/lib/python2.7/site-packages/wagtail/wagtailadmin/static/wagtailadmin/
|
|
|
|
<Directory /srv/http/uat.2017.pycon-au.org/symposion/website/static/dist/pyconau2017>
|
|
Order allow,deny
|
|
Allow from all
|
|
# Require all granted
|
|
</Directory>
|
|
|
|
WSGIDaemonProcess uat2017.pycon-au.org python-path="/srv/http/uat.2017.pycon-au.org/symposion/website:/srv/http/uat.2017.pycon-au.org/symposion/lib/python2.7/site-packages" home=/srv/http/uat.2017.pycon-au.org/symposion/website user=nicks group=www-data
|
|
WSGIProcessGroup uat2017.pycon-au.org
|
|
|
|
<Directory /srv/http/uat.2017.pycon-au.org/symposion/website>
|
|
Order allow,deny
|
|
Allow from all
|
|
# Require all granted
|
|
</Directory>
|
|
|
|
WSGIScriptAlias / /srv/http/uat.2017.pycon-au.org/symposion/website/pinaxcon/wsgi.py
|
|
|
|
ErrorLog /srv/http/uat.2017.pycon-au.org/log/error.log
|
|
|
|
# Possible values include: debug, info, notice, warn, error, crit,
|
|
# alert, emerg.
|
|
LogLevel debug
|
|
|
|
CustomLog /srv/http/uat.2017.pycon-au.org/log/access.log combined
|
|
ServerSignature On
|
|
</VirtualHost>
|
|
|