Ansible: Add CIMC/IPMI/COBBLER
[csit.git] / resources / tools / testbed-setup / ansible / roles / cobbler / files / etc / httpd / conf.d / cobbler_web.conf
1 # This configuration file enables the cobbler web
2 # interface (django version)
3
4 <Directory "/usr/share/cobbler/web/">
5         SetEnv VIRTUALENV
6         Options Indexes MultiViews
7         AllowOverride None
8         Order allow,deny
9         Allow from all
10 </Directory>
11
12 <Directory "/var/www/cobbler_webui_content/">
13         Options +Indexes +FollowSymLinks
14         AllowOverride None
15         Order allow,deny
16         Allow from all
17 </Directory>
18
19 # Use separate process group for wsgi
20 WSGISocketPrefix /var/run/wsgi
21 WSGIScriptAlias /cobbler_web /usr/share/cobbler/web/cobbler.wsgi
22 WSGIDaemonProcess cobbler_web display-name=%{GROUP}
23 WSGIProcessGroup cobbler_web
24 WSGIPassAuthorization On
25
26 <IfVersion >= 2.4>
27     <Location /cobbler_web>
28         Require all granted
29     </Location>
30     <Location /cobbler_webui_content>
31         Require all granted
32     </Location>
33 </IfVersion>