Revision history [back]

click to hide/show revision 1
initial version

I have solved my problem. I misunderstood how HTTPS for the dashboard is configured in Icehouse and it is apparently very easy to set up now that I understand what needs to be done. To clarify for anyone else who does not understand the setup:

The following is my VirtualHost settings in my /etc/httpd/conf/httpd.conf:

<VirtualHost *:80>
    ServerAdmin webmaster@servername.com
    # This has to do with an alternate main page
    DirectoryIndex index.php
    DocumentRoot /var/www/html/
    ServerName servername.com

    #This is the redirect
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} 

    <FilesMatch "^\.ht">
    Order allow,deny
    deny from all
    </FilesMatch>

    AddType application/x-httpd-php .php .html
    AddHandler application/x-httpd-php .php .html
    ErrorLog logs/servername.com-error_log
    CustomLog logs/servername.com-access_log common

</VirtualHost>

And this is my /etc/httpd/conf.d/openstack-dashboard.conf (original to the installation):

WSGIDaemonProcess dashboard
WSGIProcessGroup dashboard
WSGISocketPrefix run/wsgi

WSGIScriptAlias /dashboard /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
Alias /static /usr/share/openstack-dashboard/static

<Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi>
  Order allow,deny
  Allow from all
</Directory>