diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2010-02-23 10:53:47 -0700 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2010-03-01 20:21:38 -0700 |
commit | 942919bef77030b10a96cab66ab878a8a3d7ef10 (patch) | |
tree | e4f7f3262d913729c80ddf057b4b06db4aec252c /install | |
parent | 5220c949a446fcdc870708ea09ec1b444a715edd (diff) | |
download | freeipa-942919bef77030b10a96cab66ab878a8a3d7ef10.tar.gz freeipa-942919bef77030b10a96cab66ab878a8a3d7ef10.tar.xz freeipa-942919bef77030b10a96cab66ab878a8a3d7ef10.zip |
Consolidate to single WSGI entry point
Diffstat (limited to 'install')
-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 |