--- loncom/loncapa_apache.conf 2007/03/01 18:04:27 1.163 +++ loncom/loncapa_apache.conf 2008/05/13 15:06:14 1.175 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.163 2007/03/01 18:04:27 raeburn Exp $ +## $Id: loncapa_apache.conf,v 1.175 2008/05/13 15:06:14 www Exp $ ## # @@ -35,6 +35,7 @@ ExtendedStatus On # # ===================================================================== Aliases +Alias /zipspool/ /home/httpd/zipspool/ Alias /prtspool/ /home/httpd/prtspool/ ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/" @@ -103,6 +104,7 @@ PerlCleanupHandler Apache::lonacc::clean AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc +PerlHandler Apache::londatecheck PerlHeaderParserHandler Apache::lonuploadrep ErrorDocument 403 /adm/login ErrorDocument 404 /adm/notfound.html @@ -199,6 +201,7 @@ AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script +PerlHandler Apache::londatecheck PerlHandler Apache::lonsimplepage ErrorDocument 404 /adm/notfound.html ErrorDocument 406 /adm/notinit.html @@ -276,6 +279,17 @@ ErrorDocument 406 /adm/roles ErrorDocument 413 /adm/overloaded.txt ErrorDocument 500 /adm/errorhandler + + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +ErrorDocument 403 /adm/login +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/roles +ErrorDocument 413 /adm/overloaded.txt +ErrorDocument 500 /adm/errorhandler + # ------------------------------------------------------------------------- RAT @@ -369,6 +383,7 @@ PerlHandler Apache::lonhomework AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc +PerlHandler Apache::londatecheck SetHandler perl-script PerlHandler Apache::lonwrapper ErrorDocument 403 /adm/login @@ -448,6 +463,7 @@ PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonroles ErrorDocument 403 /adm/login +ErrorDocument 409 /adm/preferences?action=lockwarning ErrorDocument 500 /adm/errorhandler @@ -533,6 +549,7 @@ PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonlogout ErrorDocument 403 /adm/login +ErrorDocument 409 /adm/preferences?action=lockwarning ErrorDocument 500 /adm/errorhandler @@ -1190,6 +1207,24 @@ PerlHandler Apache::resetpw ErrorDocument 500 /adm/errorhandler + +SetHandler perl-script +PerlHandler Apache::selfenroll +ErrorDocument 500 /adm/errorhandler + + + +SetHandler perl-script +PerlHandler Apache::createaccount +ErrorDocument 500 /adm/errorhandler + + + +SetHandler perl-script +PerlHandler Apache::londns +ErrorDocument 500 /adm/errorhandler + + # ------------------------------------------------- Backdoor Adm Tests/Programs @@ -1321,6 +1356,15 @@ order allow,deny allow from all +# Allow serving of files in zipspool + + +Options Includes FollowSymLinks +AllowOverride None +order allow,deny +allow from all + + # ============================================================= Access Handlers # ------------------------------------------------- Allow server-status reports @@ -1361,10 +1405,13 @@ PerlSetVar londPort 5663 PerlSetVar lonSysEMail korte@lite.msu.edu PerlSetVar lonDaemons /home/httpd/perl PerlSetVar lonSockDir /home/httpd/sockets +PerlSetVar lonSockCreate /home/httpd/sockets/common PerlSetVar lonDocRoot /home/httpd/html PerlSetVar lonPrtDir /home/httpd/prtspool PerlSetVar lonIncludes /home/httpd/html/res/adm/includes -# & sepeareted list of : seperated fileds inorder of +PerlSetVar lonZipDir /home/httpd/zipspool +PerlSetVar lonFontsDir /home/httpd/html/adm/fonts +# & separated list of : separated fields in order of # - internal name to call it, # - regexp that it should match (done case-insensitively) # - regexp that is should not match (done case-insensitively) 500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.