summaryrefslogtreecommitdiffstats
path: root/config/cobbler.conf
blob: 3ebc9e69824bc9e52186f35e2bac36a4a9eb3f38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# This configuration file allows cobbler data
# to be accessed over HTTP.

AliasMatch ^/cblr(.*)?$ "/var/www/cobbler$1"
AliasMatch ^/cobbler_track(.*)?$ "/var/www/cobbler$1"
AliasMatch ^/cobbler(.*)?$ "/var/www/cobbler$1"

<Directory "/var/www/cobbler">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

ProxyRequests off

ProxyPass /cobbler_api http://localhost:25151/
ProxyPassReverse /cobbler_api http://localhost:25151/

# TO DO: SSL

ProxyPass /cobbler_api_rw http://localhost:25152/
ProxyPassReverse /cobbler_api_rw http://localhost:25152/

BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On

# For Web UI, see also: /var/www/cgi-bin/cobbler/.htaccess

<Directory "/var/www/cgi-bin/cobbler">
    AllowOverride All
    Options None
    Order allow,deny
    Allow from all
</Directory>