summaryrefslogtreecommitdiffstats
path: root/config/cobbler_webui.conf
diff options
context:
space:
mode:
Diffstat (limited to 'config/cobbler_webui.conf')
-rw-r--r--config/cobbler_webui.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/cobbler_webui.conf b/config/cobbler_webui.conf
new file mode 100644
index 0000000..d573dd7
--- /dev/null
+++ b/config/cobbler_webui.conf
@@ -0,0 +1,14 @@
+
+# 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>
+