--- loncom/loncapa_apache.conf 2012/02/27 03:06:37 1.210
+++ loncom/loncapa_apache.conf 2012/03/06 00:53:51 1.213
@@ -1,7 +1,7 @@
##
## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
##
-## $Id: loncapa_apache.conf,v 1.210 2012/02/27 03:06:37 raeburn Exp $
+## $Id: loncapa_apache.conf,v 1.213 2012/03/06 00:53:51 raeburn Exp $
##
#
@@ -52,6 +52,12 @@ PerlCleanupHandler Apache::lonacc::clean
PerlAuthenHandler Apache::checkauthen
PerlSetVar lonOtherAuthen no
+
+ PerlAuthenHandler Apache::lonshibauth
+ PerlSetVar lonOtherAuthen yes
+ PerlSetVar lonOtherAuthenType Shibboleth
+
+
#PerlWarn On
PerlAuthenHandler 'sub { return OK }'
@@ -272,19 +278,27 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
-AuthName "LONCAPA username,domain"
-Require valid-user
-SSLRequireSSL
-PerlAuthenHandler Apache::lonwebdavauth
-PerlAuthzHandler Apache::lonwebdavacc
-Dav On
-DirectoryIndex index.missing
-Options Indexes FollowSymLinks
-ErrorDocument 403 /adm/nowebdav.html
-ErrorDocument 404 /adm/notfound.html
-ErrorDocument 406 /adm/unauthorized
-ErrorDocument 500 /adm/errorhandler
+
+ AuthType Basic
+ AuthName "LONCAPA username,domain"
+ Require valid-user
+ SSLRequireSSL
+ PerlAuthenHandler Apache::lonwebdavauth
+ PerlAuthzHandler Apache::lonwebdavacc
+ Dav On
+ DirectoryIndex index.missing
+ Options Indexes FollowSymLinks
+ ErrorDocument 403 /adm/nowebdav.html
+ ErrorDocument 404 /adm/notfound.html
+ ErrorDocument 406 /adm/unauthorized
+ ErrorDocument 500 /adm/errorhandler
+
+
+
+ RewriteEngine on
+ RewriteRule .* http://%{HTTP_HOST}/adm/nowebdav.html [L]
+
+
@@ -655,6 +669,21 @@ SetHandler perl-script
PerlHandler Apache::migrateuser
+
+
+ AuthType shibboleth
+ ShibUseEnvironment On
+ ShibRequestSetting requireSession 1
+ ShibRequestSetting redirectToSSL 443
+ require valid-user
+ PerlAuthzHandler Apache::lonshibacc
+ PerlAuthzHandler Apache::lonacc
+
+
+ PerlTypeHandler Apache::lonnoshib
+
+
+
AuthType LONCAPA
Require valid-user