From 799b8f96559221dacb6825bbe3eb88208e57d145 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Mon, 29 Oct 2007 16:45:44 -0400 Subject: Split the CGI authentication bits out to a seperate Apache configuration file, so that users who upgrade will get the new config (as the other file is marked config(noreplace)). --- config/cobbler.conf | 12 ------------ config/cobbler_webui.conf | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 12 deletions(-) create mode 100644 config/cobbler_webui.conf (limited to 'config') diff --git a/config/cobbler.conf b/config/cobbler.conf index 1b0244f..187e63e 100644 --- a/config/cobbler.conf +++ b/config/cobbler.conf @@ -22,16 +22,4 @@ 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 - - AuthType Digest - AuthName "Cobbler WebUI Authentication" - AuthDigestProvider file - AuthUserFile /var/www/cgi-bin/cobbler/.htaccess - Require valid-user - 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 + + AuthType Digest + AuthName "Cobbler WebUI Authentication" + AuthDigestProvider file + AuthUserFile /var/www/cgi-bin/cobbler/.htaccess + Require valid-user + + -- cgit