diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2007-10-29 16:45:44 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2007-10-29 16:45:44 -0400 |
commit | 799b8f96559221dacb6825bbe3eb88208e57d145 (patch) | |
tree | 64f7696cc937af13211b453084b0e06f8ecba524 /config | |
parent | fcb4cb6bdbb71b3c49215b9da9c4e1c97c7ab20c (diff) | |
download | third_party-cobbler-799b8f96559221dacb6825bbe3eb88208e57d145.tar.gz third_party-cobbler-799b8f96559221dacb6825bbe3eb88208e57d145.tar.xz third_party-cobbler-799b8f96559221dacb6825bbe3eb88208e57d145.zip |
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)).
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> + |