summaryrefslogtreecommitdiffstats
path: root/config/cobbler.conf
blob: 2dda27ec4d6adbc69e199366f4bc5157bf2be397 (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
37
38
39
40
41
42
43
# 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
    Order allow,deny
    Allow from all
</Directory>

ProxyRequests off

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

BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On

# For misc CGI scripts

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

# mod_python WebUI/services

<Directory "/var/www/cobbler/web/">
   AuthType Basic
   AuthName Cobbler
   Require valid-user
   SetHandler mod_python
   PythonAuthenHandler index
   PythonHandler index
   PythonPath "sys.path + ['/var/www/cobbler/web/']"
   PythonDebug on
</Directory>