Advertisement
Guest User

AJH RasPi PyDash Config

a guest
Feb 11th, 2014
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. GNU nano 2.2.6 File: pydash.conf
  2.  
  3. WSGISocketPrefix /var/run/apache2/wsgi
  4. <VirtualHost *:80>
  5. ServerAdmin webmaster@dummy-host.example.com
  6. ServerName dummy-host.example.com
  7.  
  8. WSGIDaemonProcess pydash display-name=%{GROUP} python-path=/var/www/pydash
  9. WSGIProcessGroup pydash
  10. WSGIScriptAlias / /var/www/pydash/pydash/wsgi.py
  11.  
  12. Alias /static /var/www/pydash/static
  13. Alias /media /var/www/pydash/media
  14.  
  15. <Directory /var/www/pydash/pydash>
  16. <Files wsgi.py>
  17. Order deny,allow
  18. Allow from all
  19. </Files>
  20. </Directory>
  21.  
  22.  
  23. #CustomLog logs/pydash-access_log common
  24. #ErrorLog logs/pydash-error_log
  25. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement