--- loncom/loncapa_apache.conf 2008/12/22 21:13:14 1.182 +++ loncom/loncapa_apache.conf 2009/04/13 20:42:28 1.185 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.182 2008/12/22 21:13:14 raeburn Exp $ +## $Id: loncapa_apache.conf,v 1.185 2009/04/13 20:42:28 raeburn Exp $ ## # @@ -51,6 +51,10 @@ PerlAuthenHandler Apache::checkauthen PerlSetVar lonOtherAuthen no #PerlWarn On + +PerlAuthenHandler 'sub { return OK }' + + AuthType LONCAPA @@ -389,6 +393,11 @@ SetHandler perl-script PerlHandler Apache::lonhomework + +SetHandler perl-script +PerlHandler Apache::lonxml + + AuthType LONCAPA Require valid-user @@ -680,6 +689,17 @@ ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::courseprefs +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler + + AuthType LONCAPA Require valid-user @@ -1379,6 +1399,7 @@ PerlSetVar lonIconsURL /adm/lonIc PerlSetVar londPort 5663 PerlSetVar lonSysEMail korte@lite.msu.edu PerlSetVar lonDaemons /home/httpd/perl +PerlSetVar lonLib /home/httpd/lib PerlSetVar lonSockDir /home/httpd/sockets PerlSetVar lonSockCreate /home/httpd/sockets/common PerlSetVar lonDocRoot /home/httpd/html