components/openstack/horizon/files/openstack-dashboard.conf
author Drew Fisher <drew.fisher@oracle.com>
Mon, 17 Mar 2014 09:51:44 -0600
changeset 1760 353323c7bdc1
permissions -rw-r--r--
PSARC/2013/350 OpenStack for Solaris (Umbrella) PSARC/2014/007 OpenStack client API components for Grizzly PSARC/2014/054 OpenStack Cinder (OpenStack Block Storage Service) PSARC/2014/055 OpenStack Glance (OpenStack Image Service) PSARC/2014/058 OpenStack Horizon (OpenStack Dashboard) PSARC/2014/048 OpenStack Keystone (OpenStack Identity Service) PSARC/2014/059 OpenStack Neutron (OpenStack Networking Service) PSARC/2014/049 OpenStack Nova (OpenStack Compute Service) 18290089 integrate cinderclient 18290097 integrate glanceclient 18290102 integrate keystoneclient 18290109 integrate neutronclient 18290113 integrate novaclient 18290119 integrate swiftclient 18290125 integrate quantumclient 18307582 Request to integrate Cinder into userland 18307595 Request to integrate Glance into userland 18307626 Request to integrate Horizon into userland 18307641 Request to integrate Keystone into userland 18307650 Request to integrate Neutron into userland 18307659 Request to integrate Nova into userland 18321909 a few Python packages deliver both po and mo files

<IfDefine 64bit>
    LoadModule wsgi_module libexec/64/mod_wsgi-2.6.so
</IfDefine>
<IfDefine !64bit>
    LoadModule wsgi_module libexec/mod_wsgi-2.6.so
</IfDefine>

#
# Enable Solaris Cryptographic Framework
#
SSLCryptoDevice pkcs11

#<VirtualHost *:80>
#    RedirectPermanent /horizon https://openstack.example.com/horizon
#</VirtualHost>

Listen 443

<VirtualHost *:443>
    #ServerName openstack.example.com

    SSLEngine On
    #
    # For an overview on SSL with Apache see:
    #    http://httpd.apache.org/docs/2.2/ssl/ssl_howto.html
    # For examples on how to configure certificates and keys see:
    #    http://www.akadia.com/services/ssh_test_certificate.html
    #
    #SSLCertificateFile /path/to/Server_PEM-encoded_X.509_Certificate_file
    #SSLCACertificateFile /path/to/Concatenated_PEM-encoded_CA_Certificates
    #SSLCertificateKeyFile /path/to/Server_PEM-encoded_Private_Key_file

    WSGIScriptAlias /horizon \
        /usr/lib/python2.6/vendor-packages/openstack_dashboard/wsgi/django.wsgi
    WSGIDaemonProcess horizon user=webservd group=webservd processes=3 \
        threads=10

    Alias /static /var/lib/openstack_dashboard/static/

    <Directory /usr/lib/python2.6/vendor-packages/openstack_dashboard/wsgi>
        Order allow,deny
        Allow from all
    </Directory>

    <Directory /var/lib/openstack_dashboard/static>
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>