diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2007-12-03 17:38:49 -0500 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2007-12-03 17:38:49 -0500 |
commit | 57ef142ab094e156bb25b077ce16563dfde5a8ff (patch) | |
tree | fde4c33234e973071b14826eb7cd7e3bb64e222e /config | |
parent | 892d8d4914197c0ab47f397012468752196e8d02 (diff) | |
download | third_party-cobbler-57ef142ab094e156bb25b077ce16563dfde5a8ff.tar.gz third_party-cobbler-57ef142ab094e156bb25b077ce16563dfde5a8ff.tar.xz third_party-cobbler-57ef142ab094e156bb25b077ce16563dfde5a8ff.zip |
First start of pluggable authn/authz system for remote API + web interface,
using Apache modules.
Diffstat (limited to 'config')
-rw-r--r-- | config/cobbler.conf | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/config/cobbler.conf b/config/cobbler.conf index 3ebc9e6..422420d 100644 --- a/config/cobbler.conf +++ b/config/cobbler.conf @@ -7,7 +7,6 @@ AliasMatch ^/cobbler(.*)?$ "/var/www/cobbler$1" <Directory "/var/www/cobbler"> Options Indexes FollowSymLinks - AllowOverride None Order allow,deny Allow from all </Directory> @@ -24,7 +23,7 @@ ProxyPassReverse /cobbler_api_rw http://localhost:25152/ BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On -# For Web UI, see also: /var/www/cgi-bin/cobbler/.htaccess +# For misc CGI scripts <Directory "/var/www/cgi-bin/cobbler"> AllowOverride All @@ -33,4 +32,21 @@ BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On Allow from all </Directory> +# mod_python WebUI/services + +<Directory "/var/www/cobbler/web/"> + AuthType Basic + AuthName Cobbler + Require valid-user + SetHandler mod_python + PythonAccessHandler index + PythonAuthenHandler index + PythonAuthZHandler index + PythonHandler mod_python.publisher + + # disable in production + PythonDebug on + PythonAutoReload on +</Directory> + |