Openstack – version

[user@xyz ~]$ sudo nova-manage version
2015.1.0-3.el7

Then : https://wiki.openstack.org/wiki/Releases

Advertisements

packstack/horizon httpd file

[root@xyz www]# more /etc/httpd/conf.d/15-horizon_vhost.conf
# ************************************
# Vhost template in module puppetlabs-apache
# Managed by Puppet
# ************************************

<VirtualHost *:80>
ServerName xyz

## Vhost docroot
DocumentRoot “/var/www/”
## Alias declarations for resources outside the DocumentRoot
Alias /dashboard/static “/usr/share/openstack-dashboard/static”

## Directories, there should at least be a declaration for /var/www/

<Directory “/var/www/”>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Require all granted
</Directory>

## Logging
ErrorLog “/var/log/httpd/horizon_error.log”
ServerSignature Off
CustomLog “/var/log/httpd/horizon_access.log” combined

## RedirectMatch rules
RedirectMatch permanent  (.*) https://xyz

## Server aliases
ServerAlias a.b.c.d
ServerAlias xyz
ServerAlias localhost
WSGIDaemonProcess dashboard group=apache processes=3 threads=10 user=apache
WSGIProcessGroup dashboard
WSGIScriptAlias /dashboard “/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi”
</VirtualHost>
[root@xyz www]#

packstack – httpd.conf

[root@XYZ httpd]# more /etc/httpd/conf/httpd.conf
# Security
ServerTokens OS
ServerSignature On
TraceEnable On

ServerName “XYZ”
ServerRoot “/etc/httpd”
PidFile run/httpd.pid
Timeout 120
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 15

User apache
Group apache

AccessFileName .htaccess
<FilesMatch “^\.ht”>
    Require all denied
</FilesMatch>

<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>

HostnameLookups Off
ErrorLog “/var/log/httpd/error_log”
LogLevel warn
EnableSendfile On

#Listen 80

Include “/etc/httpd/conf.d/*.load”
Include “/etc/httpd/conf/ports.conf”

LogFormat “%h %l %u %t \”%r\” %>s %b \”%{Referer}i\” \”%{User-Agent}i\”” combined
LogFormat “%h %l %u %t \”%r\” %>s %b” common
LogFormat “%{Referer}i -> %U” referer
LogFormat “%{User-agent}i” agent

IncludeOptional “/etc/httpd/conf.d/*.conf”

[root@XYZ httpd]#