summaryrefslogtreecommitdiffstats
path: root/config/cobbler.conf
diff options
context:
space:
mode:
Diffstat (limited to 'config/cobbler.conf')
-rw-r--r--config/cobbler.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/config/cobbler.conf b/config/cobbler.conf
index 187e63e..1b0244f 100644
--- a/config/cobbler.conf
+++ b/config/cobbler.conf
@@ -22,4 +22,16 @@ ProxyPassReverse /cobbler_api http://localhost:25151/
ProxyPass /cobbler_api_rw http://localhost:25152/
ProxyPassReverse /cobbler_api_rw http://localhost:25152/
+# See: http://httpd.apache.org/docs/2.2/mod/mod_auth_digest.html#msie
+BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
+
+# set up digest authentication for the webui
+# to add users: htdigest /var/www/cgi-bin/cobbler/.htaccess "Cobbler WebUI Authentication" $username
+<Location "/var/www/cgi-bin/cobbler/webui.cgi">
+ AuthType Digest
+ AuthName "Cobbler WebUI Authentication"
+ AuthDigestProvider file
+ AuthUserFile /var/www/cgi-bin/cobbler/.htaccess
+ Require valid-user
+</Location>