diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/cobbler.conf | 12 | ||||
-rw-r--r-- | config/cobbler_webui.conf | 14 |
2 files changed, 14 insertions, 12 deletions
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 -<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> 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> + |