diff options
Diffstat (limited to 'install/conf')
-rw-r--r-- | install/conf/ipa.conf | 81 |
1 files changed, 53 insertions, 28 deletions
diff --git a/install/conf/ipa.conf b/install/conf/ipa.conf index b9562936..f5987fbe 100644 --- a/install/conf/ipa.conf +++ b/install/conf/ipa.conf @@ -11,14 +11,6 @@ PythonImport ipaserver main_interpreter # This is required so the auto-configuration works with Firefox 2+ AddType application/java-archive jar -# This is where we redirect on failed auth -Alias /ipa/errors "/usr/share/ipa/html" - -# For the MIT Windows config files -Alias /ipa/config "/usr/share/ipa/html" - -# For CRL publishing -Alias /ipa/crl "/var/lib/pki-ca/publish" <Location "/ipa"> @@ -32,34 +24,42 @@ Alias /ipa/crl "/var/lib/pki-ca/publish" KrbSaveCredentials on Require valid-user ErrorDocument 401 /ipa/errors/unauthorized.html -</Location> -<Location "/ipa/xml"> SetHandler python-program PythonInterpreter main_interpreter - PythonHandler ipaserver::xmlrpc + PythonHandler ipaserver::handler PythonDebug Off - PythonOption SCRIPT_NAME /ipa/xml + PythonOption SCRIPT_NAME /ipa PythonAutoReload Off -</Location> -<Location "/ipa/json"> - SetHandler python-program - PythonInterpreter main_interpreter - PythonHandler ipaserver::jsonrpc - PythonDebug Off - PythonOption SCRIPT_NAME /ipa/json - PythonAutoReload Off </Location> -<Location "/ipa/ui"> - SetHandler python-program - PythonInterpreter main_interpreter - PythonHandler ipaserver::webui - PythonDebug Off - PythonOption SCRIPT_NAME /ipa/ui - PythonAutoReload Off -</Location> +#<Location "/ipa/xml"> +# SetHandler python-program +# PythonInterpreter main_interpreter +# PythonHandler ipaserver::xmlrpc +# PythonDebug Off +# PythonOption SCRIPT_NAME /ipa/xml +# PythonAutoReload Off +#</Location> + +#<Location "/ipa/json"> +# SetHandler python-program +# PythonInterpreter main_interpreter +# PythonHandler ipaserver::jsonrpc +# PythonDebug Off +# PythonOption SCRIPT_NAME /ipa/json +# PythonAutoReload Off +#</Location> + +#<Location "/ipa/ui"> +# SetHandler python-program +# PythonInterpreter main_interpreter +# PythonHandler ipaserver::webui +# PythonDebug Off +# PythonOption SCRIPT_NAME /ipa/ui +# PythonAutoReload Off +#</Location> Alias /ipa-assets/ "/var/cache/ipa/assets/" <Directory "/var/cache/ipa/assets"> @@ -72,14 +72,39 @@ Alias /ipa-assets/ "/var/cache/ipa/assets/" </Directory> +<Location "/ipa/errors"> + SetHandler None +</Location> + +<Location "/ipa/config"> + SetHandler None +</Location> + +<Location "/ipa/crl"> + SetHandler None +</Location> + + +# This is where we redirect on failed auth +Alias /ipa/errors "/usr/share/ipa/html" + +# For the MIT Windows config files +Alias /ipa/config "/usr/share/ipa/html" + # Do no authentication on the directory that contains error messages <Directory "/usr/share/ipa/html"> + SetHandler None AllowOverride None Satisfy Any Allow from all </Directory> + +# For CRL publishing +Alias /ipa/crl "/var/lib/pki-ca/publish" + <Directory "/var/lib/pki-ca/publish"> + SetHandler None AllowOverride None Options Indexes FollowSymLinks Satisfy Any |