parent
484df9fc25
commit
492e67666b
|
@ -1,3 +1,6 @@
|
|||
WSGIScriptAlias / /vagrant/django/webshop/webshop/wsgi.py
|
||||
WSGIPythonPath /vagrant/django/webshop/
|
||||
|
||||
<VirtualHost *:80>
|
||||
# The ServerName directive sets the request scheme, hostname and port that
|
||||
# the server uses to identify itself. This is used when creating
|
||||
|
@ -10,27 +13,23 @@
|
|||
|
||||
ServerAdmin webmaster@localhost
|
||||
|
||||
Alias /media/ /vagrant/django/didgeridoo/media/
|
||||
Alias /static/ /vagrant/django/didgeridoo/static/
|
||||
Alias /media/ /vagrant/django/webshop/media/
|
||||
Alias /static/ /vagrant/django/webshop/static/
|
||||
|
||||
<Directory /vagrant/django/didgeridoo/didgeridoo>
|
||||
<Directory /vagrant/django/webshop/webshop>
|
||||
<Files wsgi.py>
|
||||
Require all granted
|
||||
</Files>
|
||||
</Directory>
|
||||
|
||||
|
||||
<Directory /vagrant/django/didgeridoo/media>
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
<Directory /vagrant/django/didgeridoo/static>
|
||||
Require all granted
|
||||
</Directory>
|
||||
WSGIScriptAlias / /vagrant/django/didgeridoo/didgeridoo/wsgi.py
|
||||
WSGIDaemonProcess didgeridoo python-path=/vagrant/django/didgeridoo processes=2 threads=15 display-name=%{GROUP}
|
||||
WSGIProcessGroup didgeridoo
|
||||
<Directory /vagrant/django/webshop/media>
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
<Directory /vagrant/django/webshop/static>
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
|
||||
# error, crit, alert, emerg.
|
||||
|
|
Loading…
Reference in New Issue