<Directory /usr/bin>
<IfVersion >= 2.4>
Require all granted </IfVersion>
<IfVersion < 2.4>
Order allow,deny
Allow from all </IfVersion>
</Directory>
</VirtualHost>
<Directory /usr/bin>
<IfVersion >= 2.4>
Require all granted </IfVersion>
<IfVersion < 2.4>
Order allow,deny
Allow from all </IfVersion>
</Directory>
</VirtualHost>
Alias /identity /usr/bin/keystone-wsgi-public
<Location /identity>
SetHandler wsgi-script
Options +ExecCGI
WSGIProcessGroup keystone-public
WSGIApplicationGroup %{GLOBAL}
WSGIPassAuthorization On
</Location>
Alias /identity_admin /usr/bin/keystone-wsgi-admin
<Location /identity_admin>
SetHandler wsgi-script
Options +ExecCGI
WSGIProcessGroup keystone-admin
WSGIApplicationGroup %{GLOBAL}
WSGIPassAuthorization On
</Location>
https:/ /docs.openstack .org/newton/ install- guide-rdo/ keystone- install. html#install- and-configure- components
Hello, my installation steps are as follows
yum install openstack-keystone httpd mod_wsgi
[root@controller01 ~]# egrep -v "^#|^$|*#" /etc/httpd/ conf/httpd. conf d/*.conf x-compress .Z
ServerRoot "/etc/httpd"
Listen 172.16.21.5:80
Include conf.modules.
User apache
Group apache
ServerAdmin root@localhost
ServerName 172.16.21.5:80
<Directory />
AllowOverride none
Require all denied
</Directory>
DocumentRoot "/var/www/html"
<Directory "/var/www">
AllowOverride None
Require all granted
</Directory>
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
<Files ".ht*">
Require all denied
</Files>
ErrorLog "logs/error_log"
LogLevel warn
<IfModule log_config_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>
CustomLog "logs/access_log" combined
</IfModule>
<IfModule alias_module>
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
</IfModule>
<Directory "/var/www/cgi-bin">
AllowOverride None
Options None
Require all granted
</Directory>
<IfModule mime_module>
TypesConfig /etc/mime.types
AddType application/
AddType application/x-gzip .gz .tgz
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</IfModule>
AddDefaultCharset UTF-8
<IfModule mime_magic_module>
MIMEMagicFile conf/magic
</IfModule>
EnableSendfile on
IncludeOptional conf.d/*.conf
[root@controller01 ~]# cat /etc/httpd/ conf.d/ wsgi-keystone. conf
Listen 172.16.21.5:5000
Listen 172.16.21.5:35357
<VirtualHost *:5000> rocess keystone-public processes=5 threads=1 user=keystone group=keystone display- name=%{ GROUP} Group keystone-public keystone- wsgi-public tionGroup %{GLOBAL} horization On tBody 114688 ormat "%{cu}t %M" httpd/keystone. log httpd/keystone_ access. log combined
WSGIDaemonP
WSGIProcess
WSGIScriptAlias / /usr/bin/
WSGIApplica
WSGIPassAut
LimitReques
<IfVersion >= 2.4>
ErrorLogF
</IfVersion>
ErrorLog /var/log/
CustomLog /var/log/
<Directory /usr/bin>
</IfVersion>
</IfVersion>
<IfVersion >= 2.4>
Require all granted
<IfVersion < 2.4>
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:35357> rocess keystone-admin processes=5 threads=1 user=keystone group=keystone display- name=%{ GROUP} Group keystone-admin keystone- wsgi-admin tionGroup %{GLOBAL} horization On tBody 114688 ormat "%{cu}t %M" httpd/keystone. log httpd/keystone_ access. log combined
WSGIDaemonP
WSGIProcess
WSGIScriptAlias / /usr/bin/
WSGIApplica
WSGIPassAut
LimitReques
<IfVersion >= 2.4>
ErrorLogF
</IfVersion>
ErrorLog /var/log/
CustomLog /var/log/
<Directory /usr/bin>
</IfVersion>
</IfVersion>
<IfVersion >= 2.4>
Require all granted
<IfVersion < 2.4>
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Alias /identity /usr/bin/ keystone- wsgi-public
<Location /identity>
SetHandler wsgi-script
Options +ExecCGI
WSGIProcess Group keystone-public tionGroup %{GLOBAL} horization On
WSGIApplica
WSGIPassAut
</Location>
Alias /identity_admin /usr/bin/ keystone- wsgi-admin
<Location /identity_admin>
SetHandler wsgi-script
Options +ExecCGI
WSGIProcess Group keystone-admin tionGroup %{GLOBAL} horization On
WSGIApplica
WSGIPassAut
</Location>