--- loncom/loncapa_apache.conf 2006/12/11 14:06:06 1.162 +++ loncom/loncapa_apache.conf 2007/04/26 00:59:32 1.167 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.162 2006/12/11 14:06:06 raeburn Exp $ +## $Id: loncapa_apache.conf,v 1.167 2007/04/26 00:59:32 banghart 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/" @@ -276,6 +277,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 @@ -697,6 +709,17 @@ ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::domainprefs +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler + + AuthType LONCAPA Require valid-user @@ -1179,6 +1202,12 @@ PerlHandler Apache::resetpw ErrorDocument 500 /adm/errorhandler + +SetHandler perl-script +PerlHandler Apache::londns +ErrorDocument 500 /adm/errorhandler + + # ------------------------------------------------- Backdoor Adm Tests/Programs @@ -1310,6 +1339,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 @@ -1350,10 +1388,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 + +# & 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)