Advertisement
Guest User

ApacheisDumb

a guest
Nov 9th, 2012
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Nothing. default apache page at root, 404 at ${url}:443
  2.  
  3. <VirtualHost *:443>
  4.     WSGIScriptAlias / /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
  5.     WSGIDaemonProcess horizon user=www-data group=www-data processes=3 threads=10
  6.     Alias /static /usr/share/openstack-dashboard/openstack_dashboard/static/
  7.     <Location /usr/share/openstack-dashboard/openstack_dashboard/wsgi>
  8.       Order allow,deny
  9.       Allow from all
  10.     </Location>
  11. </VirtualHost>
  12.  
  13. =============================================================================================
  14.  
  15. -- Works like a champ
  16.  
  17. <VirtualHost *:80>
  18.     WSGIScriptAlias / /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
  19.     WSGIDaemonProcess horizon user=www-data group=www-data processes=3 threads=10
  20.     Alias /static /usr/share/openstack-dashboard/openstack_dashboard/static/
  21.     <Location /usr/share/openstack-dashboard/openstack_dashboard/wsgi>
  22.       Order allow,deny
  23.       Allow from all
  24.     </Location>
  25. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement