Skip to content

Commit

Permalink
updated apache config, note that wsgi p3 is needed!
Browse files Browse the repository at this point in the history
  • Loading branch information
abaart committed Feb 16, 2018
1 parent 9c7fafc commit 4695e92
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions etc/apache2/sites-enabled/000-default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,25 @@
#WSGIScriptAlias / /var/www/VSDK/vsdk/wsgi.py
#WSGIPythonHome /var/www/VSDK/venv
#WSGIPythonPath /var/www/VSDK
<Directory /var/www/django-vsdk/vsdk>
<Directory /var/www/vsdk/vsdk>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
Alias /uploads/ /var/www/django-vsdk/vsdk/uploads/
Alias /static/ /var/www/django-vsdk/vsdk/static/
Alias /uploads/ /var/www/vsdk/vsdk/uploads/
Alias /static/ /var/www/vsdk/vsdk/static/

<Directory /var/www/django-vsdk/vsdk/static>
<Directory /var/www/vsdk/vsdk/static>
Require all granted
</Directory>

<Directory /var/www/django-vsdk/vsdk/uploads>
<Directory /var/www/vsdk/vsdk/uploads>
Require all granted
</Directory>

WSGIDaemonProcess vsdk python-path=/var/www/django-vsdk/venv:/var/www/django-vsdk/venv/lib/python3.4/site-packages
WSGIDaemonProcess vsdk python-path=/var/www/vsdk/venv:/var/www/vsdk/venv/lib/python3.4/site-packages
WSGIProcessGroup vsdk
WSGIScriptAlias / /var/www/django-vsdk/vsdk/wsgi.py
WSGIScriptAlias / /var/www/vsdk/vsdk/wsgi.py
#<Directory /var/www/VSDK/vsdk>
#<Files wsgi.py>
#Require all granted
Expand Down

0 comments on commit 4695e92

Please sign in to comment.