diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2007-10-29 16:40:13 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2007-10-29 16:40:13 -0400 |
commit | fcb4cb6bdbb71b3c49215b9da9c4e1c97c7ab20c (patch) | |
tree | a2ce4c810f5fe2f373e54981ddcc938c254e7ab1 /config | |
parent | 0d64de62b3a0b011a51d390c8ee1b91820479950 (diff) | |
download | third_party-cobbler-fcb4cb6bdbb71b3c49215b9da9c4e1c97c7ab20c.tar.gz third_party-cobbler-fcb4cb6bdbb71b3c49215b9da9c4e1c97c7ab20c.tar.xz third_party-cobbler-fcb4cb6bdbb71b3c49215b9da9c4e1c97c7ab20c.zip |
Apply AT's patch to switch the WebUI to using Apache digest auth / htaccess / etc
Diffstat (limited to 'config')
-rw-r--r-- | config/cobbler.conf | 12 |
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> |