Annotation of loncom/loncapa_apache.conf, revision 1.181.2.2

1.1       harris41    1: ##
                      2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
                      3: ##
1.181.2.2! raeburn     4: ## $Id: loncapa_apache.conf,v 1.181.2.1 2008/12/10 16:05:39 raeburn Exp $
1.1       harris41    5: ##
                      6: 
                      7: #
                      8: # LON-CAPA Section (extensions to httpd.conf daemon configuration)
                      9: #
1.8       harris41   10: # ================================================================ DocumentRoot
1.1       harris41   11: 
                     12: DocumentRoot "/home/httpd/html"
                     13: 
                     14: # ======================================================================== User
                     15: 
                     16: User www
                     17: Group www
                     18: 
                     19: # ======================================================= Shared Object Modules
                     20: 
1.52      albertel   21: LoadModule perl_module       modules/libperl.so
1.47      albertel   22: <IfDefine !MODPERL2>
1.1       harris41   23: AddModule mod_perl.c
1.47      albertel   24: </IfDefine>
1.1       harris41   25: 
1.63      albertel   26: <IfDefine MODPERL2>
                     27: PerlSetVar	MODPERL2	1
                     28: </IfDefine>
1.1       harris41   29: # =============================================================== Miscellaneous
                     30: 
                     31: ServerAdmin korte@lite.msu.edu
                     32: ExtendedStatus On
                     33: #
                     34: # LON-CAPA Section (extensions to srm.conf name space servicing)
                     35: #
                     36: # ===================================================================== Aliases
                     37: 
1.167     banghart   38: Alias /zipspool/ /home/httpd/zipspool/
1.1       harris41   39: Alias /prtspool/ /home/httpd/prtspool/
1.177     raeburn    40: Alias /captchaspool/ /home/httpd/captchaspool/
1.8       harris41   41: ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
1.1       harris41   42: 
                     43: # ================================================================= Directories
                     44: 
                     45: # ------------------------------------------------------------- Access Handlers
                     46: 
1.12      www        47: PerlTransHandler	Apache::lontrans
1.129     albertel   48: PerlCleanupHandler	Apache::lonacc::cleanup
1.12      www        49: 
1.125     albertel   50: PerlAuthenHandler Apache::checkauthen
                     51: PerlSetVar lonOtherAuthen no
                     52: 
1.45      albertel   53: #PerlWarn On
1.21      www        54: <LocationMatch "^/+res.*">
1.125     albertel   55: 
1.139     albertel   56: AuthType LONCAPA
1.125     albertel   57: Require valid-user
                     58: 
                     59: PerlAccessHandler      Apache::publiccheck
                     60: PerlAuthzHandler       Apache::lonacc
1.1       harris41   61: PerlHeaderParserHandler Apache::lonrep
                     62: ErrorDocument     403 /adm/login
                     63: ErrorDocument     404 /adm/notfound.html
                     64: ErrorDocument     406 /adm/roles
1.74      www        65: ErrorDocument	  500 /adm/errorhandler
                     66: </LocationMatch>
                     67: 
1.125     albertel   68: 
                     69: <LocationMatch "/.*">
                     70: </LocationMatch>
                     71: 
                     72: 
1.74      www        73: <LocationMatch "^/+enc.*">
1.115     raeburn    74: SetHandler perl-script
1.127     albertel   75: PerlHandler       Apache::lonencurl
1.74      www        76: ErrorDocument     403 /adm/login
1.80      albertel   77: ErrorDocument     404 /adm/notfound.html
                     78: ErrorDocument     406 /adm/roles
1.11      www        79: ErrorDocument	  500 /adm/errorhandler
                     80: </LocationMatch>
                     81: 
1.84      banghart   82: <Location /adm/portfolio>
1.139     albertel   83: AuthType LONCAPA
1.125     albertel   84: Require valid-user
                     85: PerlAuthzHandler Apache::lonacc
1.123     raeburn    86: SetHandler perl-script
1.126     albertel   87: PerlHandler Apache::portfolio
1.123     raeburn    88: </Location>
                     89: 
1.136     raeburn    90: <Location /adm/coursegrp_portfolio>
1.139     albertel   91: AuthType LONCAPA
1.136     raeburn    92: Require valid-user
                     93: PerlAuthzHandler Apache::lonacc
                     94: SetHandler perl-script
                     95: PerlHandler Apache::portfolio
                     96: </Location>
                     97: 
1.21      www        98: <LocationMatch "^/+userfiles.*">
1.11      www        99: PerlAccessHandler       Apache::lontokacc
1.58      www       100: PerlCleanupHandler	Apache::lontokacc::removefile
1.129     albertel  101: PerlCleanupHandler	Apache::lonacc::cleanup
1.12      www       102: </LocationMatch>
                    103: 
1.76      albertel  104: <LocationMatch "^/+uploaded.*">
1.139     albertel  105: AuthType LONCAPA
1.125     albertel  106: Require valid-user
                    107: PerlAuthzHandler	Apache::lonacc
1.178     raeburn   108: PerlHandler 		Apache::londatecheck
                    109: PerlHandler  		Apache::lonipcheck
1.75      raeburn   110: PerlHeaderParserHandler Apache::lonuploadrep
1.80      albertel  111: ErrorDocument     403 /adm/login
1.16      www       112: ErrorDocument     404 /adm/notfound.html
1.80      albertel  113: ErrorDocument     406 /adm/roles
1.16      www       114: ErrorDocument	  500 /adm/errorhandler
1.75      raeburn   115: </LocationMatch>
                    116: 
1.106     albertel  117: <LocationMatch "^/+editupload.*">
1.139     albertel  118: AuthType LONCAPA
1.125     albertel  119: Require valid-user
                    120: PerlAuthzHandler	Apache::lonacc
1.106     albertel  121: ErrorDocument     403 /adm/login
                    122: ErrorDocument     406 /adm/roles
                    123: ErrorDocument	  500 /adm/errorhandler
                    124: </LocationMatch>
                    125: 
1.98      albertel  126: <LocationMatch "^/+uploaded/.*/.*/internal/.*">
1.150     albertel  127: PerlAuthenHandler	Apache::lonuploadedacc
                    128: PerlAuthzHandler	Apache::lonuploadedacc::skip_phase
1.151     albertel  129: PerlAccessHandler	Apache::lonuploadedacc::skip_phase
1.98      albertel  130: </LocationMatch>
                    131: 
1.140     raeburn   132: <LocationMatch "^/+uploaded/.*/.*/portfolio/.*">
                    133: PerlAccessHandler      Apache::publiccheck
1.141     albertel  134: AuthType LONCAPA
1.140     raeburn   135: Require valid-user
                    136: PerlAuthzHandler       Apache::lonacc
                    137: </LocationMatch>
                    138: 
                    139: <LocationMatch "^/+uploaded/.*/.*/groups/.*/portfolio/.*">
                    140: PerlAccessHandler      Apache::publiccheck
1.141     albertel  141: AuthType LONCAPA
1.140     raeburn   142: Require valid-user
                    143: PerlAuthzHandler       Apache::lonacc
                    144: </LocationMatch>
1.98      albertel  145: 
1.76      albertel  146: <LocationMatch "^/+uploaded/.*\.page$">
1.75      raeburn   147: SetHandler perl-script
1.126     albertel  148: PerlHandler Apache::lonpage
1.75      raeburn   149: </LocationMatch>
                    150: 
1.76      albertel  151: <LocationMatch "^/+uploaded/.*\.sequence$">
1.75      raeburn   152: SetHandler perl-script
1.126     albertel  153: PerlHandler Apache::lonsequence
1.16      www       154: </LocationMatch>
                    155: 
1.44      www       156: <LocationMatch "^/+public/.*/syllabus$">
1.132     albertel  157: PerlAccessHandler      Apache::publiccheck
1.139     albertel  158: AuthType LONCAPA
1.125     albertel  159: Require valid-user
                    160: PerlAuthzHandler	Apache::lonacc
1.16      www       161: SetHandler              perl-script
1.126     albertel  162: PerlHandler             Apache::lonsyllabus
1.16      www       163: ErrorDocument     404 /adm/notfound.html
                    164: ErrorDocument	  500 /adm/errorhandler
                    165: </LocationMatch>
                    166: 
1.122     www       167: <LocationMatch "^/+(public|adm)/.*(\.rss|_rss\.html)$">
1.132     albertel  168: PerlAccessHandler      Apache::publiccheck
1.139     albertel  169: AuthType LONCAPA
1.125     albertel  170: Require valid-user
                    171: PerlAuthzHandler	Apache::lonacc
1.121     www       172: SetHandler              perl-script
1.126     albertel  173: PerlHandler             Apache::lonrss
1.121     www       174: ErrorDocument     404 /adm/notfound.html
                    175: ErrorDocument	  500 /adm/errorhandler
                    176: </LocationMatch>
                    177: 
1.44      www       178: <LocationMatch "^/adm/.*/aboutme$">
1.139     albertel  179: AuthType LONCAPA
1.125     albertel  180: Require valid-user
                    181: PerlAuthzHandler	Apache::lonacc
1.16      www       182: SetHandler              perl-script
1.126     albertel  183: PerlHandler             Apache::lonaboutme
1.19      www       184: ErrorDocument     404 /adm/notfound.html
1.54      www       185: ErrorDocument     406 /adm/notinit.html
1.19      www       186: ErrorDocument	  500 /adm/errorhandler
                    187: </LocationMatch>
                    188: 
1.153     albertel  189: <LocationMatch "^/adm/.*/aboutme/portfolio$">
                    190: PerlAccessHandler       Apache::publiccheck
                    191: AuthType LONCAPA
                    192: Require valid-user
                    193: PerlAuthzHandler	Apache::lonacc
                    194: SetHandler              perl-script
                    195: PerlHandler             Apache::lonaboutme
                    196: ErrorDocument     404 /adm/notfound.html
                    197: ErrorDocument     406 /adm/notinit.html
                    198: ErrorDocument	  500 /adm/errorhandler
                    199: </LocationMatch>
                    200: 
1.44      www       201: <LocationMatch "^/adm/.*/smppg$">
1.139     albertel  202: AuthType LONCAPA
1.125     albertel  203: Require valid-user
                    204: PerlAuthzHandler	Apache::lonacc
1.19      www       205: SetHandler              perl-script
1.172     www       206: PerlHandler             Apache::londatecheck
1.178     raeburn   207: PerlHandler		Apache::lonipcheck
1.126     albertel  208: PerlHandler             Apache::lonsimplepage
1.19      www       209: ErrorDocument     404 /adm/notfound.html
1.54      www       210: ErrorDocument     406 /adm/notinit.html
1.19      www       211: ErrorDocument	  500 /adm/errorhandler
                    212: </LocationMatch>
                    213: 
1.44      www       214: <LocationMatch "^/adm/.*/bulletinboard$">
1.139     albertel  215: AuthType LONCAPA
1.125     albertel  216: Require valid-user
                    217: PerlAuthzHandler	Apache::lonacc
1.19      www       218: SetHandler              perl-script
1.126     albertel  219: PerlHandler             Apache::londatecheck
1.178     raeburn   220: PerlHandler		Apache::lonipcheck
1.126     albertel  221: PerlHandler             Apache::lonbulletin
1.55      www       222: ErrorDocument     404 /adm/notfound.html
                    223: ErrorDocument     406 /adm/notinit.html
                    224: ErrorDocument	  500 /adm/errorhandler
                    225: </LocationMatch>
                    226: 
                    227: <LocationMatch "\.problem/smpedit$">
1.139     albertel  228: AuthType LONCAPA
1.125     albertel  229: Require valid-user
                    230: PerlAuthzHandler	Apache::lonacc
1.55      www       231: SetHandler              perl-script
1.126     albertel  232: PerlHandler             Apache::lonsimpleproblemedit
1.11      www       233: ErrorDocument     404 /adm/notfound.html
1.54      www       234: ErrorDocument     406 /adm/notinit.html
1.1       harris41  235: ErrorDocument	  500 /adm/errorhandler
                    236: </LocationMatch>
                    237: 
1.21      www       238: <LocationMatch "^/+priv.*">
1.139     albertel  239: AuthType LONCAPA
1.131     albertel  240: Require valid-user
1.125     albertel  241: PerlAuthzHandler Apache::loncacc
1.1       harris41  242: SetHandler        perl-script
1.126     albertel  243: PerlHandler       Apache::lonconstruct
1.1       harris41  244: ErrorDocument     403 /adm/login
                    245: ErrorDocument     404 /adm/notfound.html
1.18      www       246: ErrorDocument     406 /adm/unauthorized
1.1       harris41  247: ErrorDocument	  500 /adm/errorhandler
                    248: </LocationMatch>
                    249: 
1.21      www       250: <LocationMatch "^/+raw.*">
1.1       harris41  251: PerlAccessHandler Apache::lonracc
                    252: </LocationMatch>
                    253: 
1.21      www       254: <LocationMatch "^/+\~.*">
1.139     albertel  255: AuthType LONCAPA
1.131     albertel  256: Require valid-user
1.125     albertel  257: PerlAuthzHandler Apache::loncacc
1.1       harris41  258: ErrorDocument     403 /adm/login
                    259: ErrorDocument     404 /adm/notfound.html
1.18      www       260: ErrorDocument     406 /adm/unauthorized
1.1       harris41  261: ErrorDocument	  500 /adm/errorhandler
                    262: </LocationMatch>
                    263: 
1.41      bowersj2  264: <LocationMatch "^/adm/helper/.*\.helper$">
1.139     albertel  265: AuthType LONCAPA
1.125     albertel  266: Require valid-user
1.142     albertel  267: PerlAuthzHandler  Apache::lonacc
1.41      bowersj2  268: SetHandler        perl-script
1.126     albertel  269: PerlHandler       Apache::lonhelper
1.41      bowersj2  270: ErrorDocument     403 /adm/login
                    271: ErrorDocument     404 /adm/notfound.html
                    272: ErrorDocument     406 /adm/unauthorized
                    273: ErrorDocument     500 /adm/errorhandler
                    274: </LocationMatch>
                    275: 
1.23      albertel  276: <LocationMatch "/prtspool">
1.139     albertel  277: AuthType LONCAPA
1.125     albertel  278: Require valid-user
                    279: PerlAuthzHandler Apache::lonacc
1.23      albertel  280: ErrorDocument     403 /adm/login
                    281: ErrorDocument     404 /adm/notfound.html
                    282: ErrorDocument     406 /adm/roles
1.99      www       283: ErrorDocument     413 /adm/overloaded.txt
1.23      albertel  284: ErrorDocument	  500 /adm/errorhandler
                    285: </LocationMatch>
1.167     banghart  286: 
                    287: <LocationMatch "/zipspool">
                    288: AuthType LONCAPA
                    289: Require valid-user
                    290: PerlAuthzHandler Apache::lonacc
                    291: ErrorDocument     403 /adm/login
                    292: ErrorDocument     404 /adm/notfound.html
                    293: ErrorDocument     406 /adm/roles
                    294: ErrorDocument     413 /adm/overloaded.txt
                    295: ErrorDocument	  500 /adm/errorhandler
                    296: </LocationMatch>
1.1       harris41  297: # ------------------------------------------------------------------------- RAT
                    298: 
                    299: <LocationMatch "^/\~.*\.sequence$">
                    300: SetHandler perl-script
1.126     albertel  301: PerlHandler Apache::lonratedt
1.1       harris41  302: </LocationMatch>
                    303: 
                    304: <LocationMatch "^/\~.*\.page$">
                    305: SetHandler perl-script
1.126     albertel  306: PerlHandler Apache::lonratedt
1.1       harris41  307: </LocationMatch>
                    308: 
                    309: <LocationMatch "^/\~.*\/ratserver$">
                    310: SetHandler perl-script
1.126     albertel  311: PerlHandler Apache::lonratsrv
1.1       harris41  312: </LocationMatch>
                    313: 
1.100     raeburn   314: <LocationMatch "^/\~.*\/adveditmenu$">
                    315: SetHandler perl-script
1.126     albertel  316: PerlHandler Apache::lonratmenu
1.100     raeburn   317: </LocationMatch>
                    318: 
1.1       harris41  319: <Location /adm/ratparms>
1.139     albertel  320: AuthType LONCAPA
1.125     albertel  321: Require valid-user
                    322: PerlAuthzHandler       Apache::lonacc
1.1       harris41  323: SetHandler perl-script
1.126     albertel  324: PerlHandler Apache::lonratparms
1.1       harris41  325: ErrorDocument     403 /adm/login
                    326: ErrorDocument	  500 /adm/errorhandler
                    327: </Location>
                    328: 
                    329: # --------------------------------------------- Resource Space Content Handlers
                    330: 
1.64      albertel  331: <LocationMatch "^/+res.*/$">
1.1       harris41  332: SetHandler perl-script
1.126     albertel  333: PerlHandler Apache::lonindexer
1.29      www       334: PerlCleanupHandler Apache::lonindexer::cleanup
1.129     albertel  335: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  336: </LocationMatch>
                    337: 
1.64      albertel  338: <LocationMatch "^/+(res|\~).*\.tex$">
1.1       harris41  339: SetHandler perl-script
1.126     albertel  340: PerlHandler Apache::lontex
1.1       harris41  341: </LocationMatch>
                    342: 
1.71      www       343: <LocationMatch "^/+res/.*\.page$">
1.1       harris41  344: SetHandler perl-script
1.126     albertel  345: PerlHandler Apache::lonpage
1.1       harris41  346: </LocationMatch>
                    347: 
1.71      www       348: <LocationMatch "^/+res/.*\.sequence$">
1.1       harris41  349: SetHandler perl-script
1.126     albertel  350: PerlHandler Apache::lonsequence
1.1       harris41  351: </LocationMatch>
                    352: 
1.106     albertel  353: <LocationMatch "^/+(res|\~|public|uploaded|editupload|adm).*\.meta$">
1.132     albertel  354: PerlAccessHandler      Apache::publiccheck
1.1       harris41  355: SetHandler perl-script
1.126     albertel  356: PerlHandler Apache::lonmeta
1.99      www       357: ErrorDocument     413 /adm/overloaded.txt
1.39      www       358: </LocationMatch>
                    359: 
1.71      www       360: <LocationMatch "^/adm/bombs/">
1.139     albertel  361: AuthType LONCAPA
1.125     albertel  362: Require valid-user
1.71      www       363: SetHandler perl-script
1.125     albertel  364: PerlAuthzHandler Apache::lonacc
1.126     albertel  365: PerlHandler Apache::lonmeta
1.71      www       366: </LocationMatch>
                    367: 
                    368: 
                    369: 
                    370: <LocationMatch "^/+(res|\~).*\.rights$">
1.39      www       371: SetHandler perl-script
1.126     albertel  372: PerlHandler Apache::lonrights
1.1       harris41  373: </LocationMatch>
                    374: 
1.78      albertel  375: <LocationMatch "^/+(uploaded|res|\~).*\.(xml|html|htm|xhtml|xhtm|sty)$">
1.1       harris41  376: SetHandler perl-script
1.126     albertel  377: PerlHandler Apache::londatecheck
1.178     raeburn   378: PerlHandler Apache::lonipcheck
1.126     albertel  379: PerlHandler Apache::lonxml
1.1       harris41  380: </LocationMatch>
                    381: 
1.107     albertel  382: <LocationMatch "^/+(res|\~).*\.(task|problem|exam|quiz|assess|survey|form|library)$">
1.1       harris41  383: SetHandler perl-script
1.126     albertel  384: PerlHandler Apache::lonhomework
1.1       harris41  385: </LocationMatch>
                    386: 
                    387: <LocationMatch "^/adm/wrapper/">
1.139     albertel  388: AuthType LONCAPA
1.125     albertel  389: Require valid-user
                    390: PerlAuthzHandler       Apache::lonacc
1.172     www       391: PerlHandler Apache::londatecheck
1.178     raeburn   392: PerlHandler Apache::lonipcheck
1.1       harris41  393: SetHandler perl-script
1.126     albertel  394: PerlHandler Apache::lonwrapper
1.66      www       395: ErrorDocument     403 /adm/login
                    396: ErrorDocument	  500 /adm/errorhandler
                    397: </LocationMatch>
                    398: 
1.113     www       399: <LocationMatch "^/adm/source">
1.139     albertel  400: AuthType LONCAPA
1.125     albertel  401: Require valid-user
                    402: PerlAuthzHandler       Apache::lonacc
1.83      taceyjo1  403: SetHandler perl-script
1.126     albertel  404: PerlHandler Apache::lonsource
1.83      taceyjo1  405: ErrorDocument     403 /adm/login
1.85      www       406: ErrorDocument     406 /adm/roles
1.83      taceyjo1  407: ErrorDocument	  500 /adm/errorhandler
                    408: </LocationMatch>
                    409: 
                    410: 
1.66      www       411: <LocationMatch "^/adm/localize/">
1.139     albertel  412: AuthType LONCAPA
1.125     albertel  413: Require valid-user
                    414: PerlAuthzHandler       Apache::lonacc
1.66      www       415: SetHandler perl-script
1.126     albertel  416: PerlHandler Apache::lonlocalize
1.1       harris41  417: ErrorDocument     403 /adm/login
                    418: ErrorDocument	  500 /adm/errorhandler
                    419: </LocationMatch>
                    420: 
                    421: # -------------------------------------------------------------- Admin Programs
1.24      albertel  422: 
                    423: <Location /adm/randomlabel.png>
1.139     albertel  424: AuthType LONCAPA
1.125     albertel  425: Require valid-user
                    426: PerlAuthzHandler       Apache::lonacc
1.24      albertel  427: SetHandler perl-script
1.126     albertel  428: PerlHandler Apache::randomlylabel
1.69      albertel  429: ErrorDocument     403 /adm/login
                    430: ErrorDocument	  500 /adm/errorhandler
                    431: </Location>
                    432: 
                    433: <Location /adm/imagechoice>
1.139     albertel  434: AuthType LONCAPA
1.125     albertel  435: Require valid-user
                    436: PerlAuthzHandler       Apache::lonacc
1.69      albertel  437: SetHandler perl-script
1.126     albertel  438: PerlHandler Apache::imagechoice
1.24      albertel  439: ErrorDocument     403 /adm/login
                    440: ErrorDocument	  500 /adm/errorhandler
                    441: </Location>
1.1       harris41  442: 
                    443: <Location /adm/statistics>
1.139     albertel  444: AuthType LONCAPA
1.125     albertel  445: Require valid-user
                    446: PerlAuthzHandler       Apache::lonacc
1.1       harris41  447: SetHandler perl-script
1.126     albertel  448: PerlHandler Apache::lonstatistics
1.1       harris41  449: ErrorDocument     403 /adm/login
1.20      www       450: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  451: ErrorDocument	  500 /adm/errorhandler
                    452: </Location>
                    453: 
1.92      matthew   454: <Location /adm/trackstudent>
1.139     albertel  455: AuthType LONCAPA
1.125     albertel  456: Require valid-user
                    457: PerlAuthzHandler       Apache::lonacc
1.92      matthew   458: SetHandler perl-script
1.126     albertel  459: PerlHandler Apache::lontrackstudent
1.92      matthew   460: ErrorDocument     403 /adm/login
                    461: ErrorDocument     413 /adm/overloaded.txt
                    462: ErrorDocument	  500 /adm/errorhandler
                    463: </Location>
                    464: 
1.1       harris41  465: <Location /adm/roles>
1.139     albertel  466: AuthType LONCAPA
1.125     albertel  467: Require valid-user
                    468: PerlAuthzHandler       Apache::lonacc
1.1       harris41  469: SetHandler perl-script
1.126     albertel  470: PerlHandler Apache::lonroles
1.33      www       471: ErrorDocument     403 /adm/login
1.174     www       472: ErrorDocument     409 /adm/preferences?action=lockwarning
1.33      www       473: ErrorDocument	  500 /adm/errorhandler
                    474: </Location>
                    475: 
                    476: <Location /adm/menu>
1.139     albertel  477: AuthType LONCAPA
1.125     albertel  478: Require valid-user
                    479: PerlAuthzHandler       Apache::lonacc
1.33      www       480: SetHandler perl-script
1.128     albertel  481: PerlHandler Apache::lonmainmenu
1.42      www       482: ErrorDocument     403 /adm/login
                    483: ErrorDocument	  500 /adm/errorhandler
                    484: </Location>
                    485: 
                    486: <Location /adm/remote>
1.139     albertel  487: AuthType LONCAPA
1.125     albertel  488: Require valid-user
                    489: PerlAuthzHandler       Apache::lonacc
1.42      www       490: SetHandler perl-script
1.126     albertel  491: PerlHandler Apache::lonremote
1.27      www       492: ErrorDocument     403 /adm/login
                    493: ErrorDocument	  500 /adm/errorhandler
                    494: </Location>
                    495: 
1.176     raeburn   496: <Location /adm/pickauthor>
                    497: AuthType LONCAPA
                    498: Require valid-user
                    499: PerlAuthzHandler       Apache::lonacc
                    500: SetHandler perl-script
                    501: PerlHandler Apache::lonpickauthor
                    502: ErrorDocument     403 /adm/login
                    503: ErrorDocument     500 /adm/errorhandler
                    504: </Location>
                    505: 
1.27      www       506: <Location /adm/pickstudent>
1.139     albertel  507: AuthType LONCAPA
1.125     albertel  508: Require valid-user
                    509: PerlAuthzHandler       Apache::lonacc
1.27      www       510: SetHandler perl-script
1.126     albertel  511: PerlHandler Apache::lonpickstudent
1.40      www       512: ErrorDocument     403 /adm/login
                    513: ErrorDocument	  500 /adm/errorhandler
                    514: </Location>
                    515: 
                    516: <Location /adm/pickcourse>
1.139     albertel  517: AuthType LONCAPA
1.125     albertel  518: Require valid-user
                    519: PerlAuthzHandler       Apache::lonacc
1.40      www       520: SetHandler perl-script
1.126     albertel  521: PerlHandler Apache::lonpickcourse
1.77      albertel  522: ErrorDocument     403 /adm/login
                    523: ErrorDocument	  500 /adm/errorhandler
                    524: </Location>
                    525: 
                    526: <Location /adm/pickcode>
1.139     albertel  527: AuthType LONCAPA
1.125     albertel  528: Require valid-user
                    529: PerlAuthzHandler       Apache::lonacc
1.77      albertel  530: SetHandler perl-script
1.126     albertel  531: PerlHandler Apache::lonpickcode
1.1       harris41  532: ErrorDocument     403 /adm/login
                    533: ErrorDocument	  500 /adm/errorhandler
                    534: </Location>
                    535: 
                    536: <Location /adm/login>
                    537: SetHandler perl-script
1.126     albertel  538: PerlHandler Apache::lonlogin
1.1       harris41  539: </Location>
                    540: 
1.148     raeburn   541: <Location /adm/restrictedaccess>
                    542: PerlAccessHandler      Apache::publiccheck
                    543: AuthType LONCAPA
1.152     albertel  544: Require valid-user
1.148     raeburn   545: SetHandler perl-script
1.149     albertel  546: PerlAuthzHandler       Apache::lonacc
1.148     raeburn   547: PerlHandler Apache::restrictedaccess
1.154     albertel  548: ErrorDocument	  500 /adm/errorhandler
1.148     raeburn   549: </Location>
                    550: 
1.162     raeburn   551: <Location /adm/blockedaccess>
                    552: PerlAccessHandler      Apache::publiccheck
                    553: AuthType LONCAPA
                    554: Require valid-user
                    555: SetHandler perl-script
                    556: PerlAuthzHandler       Apache::lonacc
                    557: PerlHandler Apache::blockedaccess
                    558: ErrorDocument     500 /adm/errorhandler
                    559: </Location>
                    560: 
1.1       harris41  561: <Location /adm/logout>
1.139     albertel  562: AuthType LONCAPA
1.125     albertel  563: Require valid-user
                    564: PerlAuthzHandler       Apache::lonacc
1.1       harris41  565: SetHandler perl-script
1.126     albertel  566: PerlHandler Apache::lonlogout
1.1       harris41  567: ErrorDocument     403 /adm/login
1.175     www       568: ErrorDocument     409 /adm/preferences?action=lockwarning
1.154     albertel  569: ErrorDocument	  500 /adm/errorhandler
1.1       harris41  570: </Location>
                    571: 
1.117     albertel  572: <Location /adm/switchserver>
1.139     albertel  573: AuthType LONCAPA
1.125     albertel  574: Require valid-user
                    575: PerlAuthzHandler       Apache::lonacc
1.117     albertel  576: SetHandler perl-script
1.126     albertel  577: PerlHandler Apache::switchserver
1.117     albertel  578: ErrorDocument     403 /adm/login
1.154     albertel  579: ErrorDocument	  500 /adm/errorhandler
1.117     albertel  580: </Location>
                    581: 
1.1       harris41  582: <Location /adm/authenticate>
                    583: SetHandler perl-script
1.126     albertel  584: PerlHandler Apache::lonauth
1.1       harris41  585: </Location>
                    586: 
1.117     albertel  587: <Location /adm/migrateuser>
                    588: SetHandler perl-script
1.126     albertel  589: PerlHandler Apache::migrateuser
1.117     albertel  590: </Location>
                    591: 
1.1       harris41  592: <Location /adm/annotations>
1.139     albertel  593: AuthType LONCAPA
1.125     albertel  594: Require valid-user
                    595: PerlAuthzHandler       Apache::lonacc
1.1       harris41  596: SetHandler perl-script
1.126     albertel  597: PerlHandler Apache::admannotations
1.1       harris41  598: ErrorDocument     403 /adm/login
                    599: ErrorDocument	  500 /adm/errorhandler
                    600: </Location>
                    601: 
1.91      www       602: <Location /adm/spellcheck>
1.139     albertel  603: AuthType LONCAPA
1.125     albertel  604: Require valid-user
                    605: PerlAuthzHandler       Apache::lonacc
1.91      www       606: SetHandler perl-script
1.126     albertel  607: PerlHandler Apache::lonspeller
1.91      www       608: ErrorDocument     403 /adm/login
                    609: ErrorDocument	  500 /adm/errorhandler
                    610: </Location>
                    611: 
1.1       harris41  612: <Location /adm/bookmarks>
1.139     albertel  613: AuthType LONCAPA
1.125     albertel  614: Require valid-user
                    615: PerlAuthzHandler       Apache::lonacc
1.1       harris41  616: SetHandler perl-script
1.126     albertel  617: PerlHandler Apache::admbookmarks
1.1       harris41  618: ErrorDocument     403 /adm/login
                    619: ErrorDocument	  500 /adm/errorhandler
                    620: </Location>
                    621: 
                    622: <Location /adm/flip>
1.139     albertel  623: AuthType LONCAPA
1.125     albertel  624: Require valid-user
                    625: PerlAuthzHandler       Apache::lonacc
1.1       harris41  626: SetHandler perl-script
1.126     albertel  627: PerlHandler Apache::lonpageflip
1.30      www       628: PerlCleanupHandler Apache::lonpageflip::cleanup
1.129     albertel  629: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  630: ErrorDocument     406 /adm/roles
                    631: ErrorDocument     403 /adm/login
                    632: ErrorDocument	  500 /adm/errorhandler
                    633: </Location>
                    634: 
                    635: <Location /adm/ambiguous>
1.139     albertel  636: AuthType LONCAPA
1.125     albertel  637: Require valid-user
                    638: PerlAuthzHandler       Apache::lonacc
1.1       harris41  639: SetHandler perl-script
1.126     albertel  640: PerlHandler Apache::lonambiguous
1.30      www       641: PerlCleanupHandler Apache::lonambiguous::cleanup
1.129     albertel  642: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  643: ErrorDocument     403 /adm/login
                    644: ErrorDocument	  500 /adm/errorhandler
                    645: </Location>
                    646: 
                    647: <Location /adm/email>
1.139     albertel  648: AuthType LONCAPA
1.125     albertel  649: Require valid-user
                    650: PerlAuthzHandler       Apache::lonacc
1.1       harris41  651: SetHandler perl-script
1.130     albertel  652: PerlHandler Apache::lonmsgdisplay
1.1       harris41  653: ErrorDocument     403 /adm/login
                    654: ErrorDocument	  500 /adm/errorhandler
                    655: </Location>
                    656: 
1.116     raeburn   657: <Location /adm/notify>
1.139     albertel  658: AuthType LONCAPA
1.125     albertel  659: Require valid-user
                    660: PerlAuthzHandler       Apache::lonacc
1.116     raeburn   661: SetHandler perl-script
1.126     albertel  662: PerlHandler Apache::lonnotify
1.116     raeburn   663: ErrorDocument     403 /adm/login
                    664: ErrorDocument     500 /adm/errorhandler
                    665: </Location>
                    666: 
1.1       harris41  667: <Location /adm/parmset>
1.139     albertel  668: AuthType LONCAPA
1.125     albertel  669: Require valid-user
                    670: PerlAuthzHandler       Apache::lonacc
1.1       harris41  671: SetHandler perl-script
1.126     albertel  672: PerlHandler Apache::lonparmset
1.31      bowersj2  673: ErrorDocument     403 /adm/login
                    674: ErrorDocument     406 /adm/roles
                    675: ErrorDocument	  500 /adm/errorhandler
                    676: </Location>
                    677: 
1.110     albertel  678: <Location /adm/slotrequest>
1.139     albertel  679: AuthType LONCAPA
1.125     albertel  680: Require valid-user
                    681: PerlAuthzHandler       Apache::lonacc
1.110     albertel  682: SetHandler perl-script
1.126     albertel  683: PerlHandler Apache::slotrequest
1.110     albertel  684: ErrorDocument     403 /adm/login
                    685: ErrorDocument     406 /adm/roles
                    686: ErrorDocument	  500 /adm/errorhandler
                    687: </Location>
                    688: 
1.31      bowersj2  689: <Location /adm/wizard>
1.139     albertel  690: AuthType LONCAPA
1.125     albertel  691: Require valid-user
                    692: PerlAuthzHandler       Apache::lonacc
1.31      bowersj2  693: SetHandler perl-script
1.126     albertel  694: PerlHandler Apache::lonwizard
1.1       harris41  695: ErrorDocument     403 /adm/login
                    696: ErrorDocument     406 /adm/roles
                    697: ErrorDocument	  500 /adm/errorhandler
                    698: </Location>
                    699: 
                    700: <Location /adm/grades>
1.139     albertel  701: AuthType LONCAPA
1.125     albertel  702: Require valid-user
                    703: PerlAuthzHandler       Apache::lonacc
1.1       harris41  704: SetHandler perl-script
1.126     albertel  705: PerlHandler Apache::grades
1.1       harris41  706: ErrorDocument     403 /adm/login
                    707: ErrorDocument     406 /adm/roles
                    708: ErrorDocument	  500 /adm/errorhandler
                    709: </Location>
                    710: 
                    711: <Location /adm/createcourse>
1.139     albertel  712: AuthType LONCAPA
1.125     albertel  713: Require valid-user
                    714: PerlAuthzHandler       Apache::lonacc
1.1       harris41  715: SetHandler perl-script
1.126     albertel  716: PerlHandler Apache::loncreatecourse
1.1       harris41  717: ErrorDocument     403 /adm/login
                    718: ErrorDocument     406 /adm/roles
                    719: ErrorDocument	  500 /adm/errorhandler
1.67      raeburn   720: </Location>
                    721: 
                    722: <Location /adm/modifycourse>
1.139     albertel  723: AuthType LONCAPA
1.125     albertel  724: Require valid-user
                    725: PerlAuthzHandler       Apache::lonacc
1.67      raeburn   726: SetHandler perl-script
1.126     albertel  727: PerlHandler Apache::lonmodifycourse
1.67      raeburn   728: ErrorDocument     403 /adm/login
                    729: ErrorDocument     406 /adm/roles
                    730: ErrorDocument     500 /adm/errorhandler
1.1       harris41  731: </Location>
                    732: 
1.163     raeburn   733: <Location /adm/domainprefs>
                    734: AuthType LONCAPA
                    735: Require valid-user
                    736: PerlAuthzHandler       Apache::lonacc
                    737: SetHandler perl-script
                    738: PerlHandler Apache::domainprefs
                    739: ErrorDocument     403 /adm/login
                    740: ErrorDocument     406 /adm/roles
                    741: ErrorDocument     500 /adm/errorhandler
                    742: </Location>
                    743: 
1.181.2.2! raeburn   744: <Location /adm/domainstatus>
        !           745: PerlAccessHandler       Apache::lonstatusacc
        !           746: SetHandler perl-script
        !           747: PerlHandler Apache::domainstatus
        !           748: ErrorDocument     403 /adm/login
        !           749: ErrorDocument     406 /adm/roles
        !           750: ErrorDocument     500 /adm/errorhandler
        !           751: </Location>
        !           752: 
1.1       harris41  753: <Location /adm/createuser>
1.139     albertel  754: AuthType LONCAPA
1.125     albertel  755: Require valid-user
                    756: PerlAuthzHandler       Apache::lonacc
1.1       harris41  757: SetHandler perl-script
1.126     albertel  758: PerlHandler Apache::loncreateuser
1.1       harris41  759: ErrorDocument     403 /adm/login
                    760: ErrorDocument     406 /adm/roles
                    761: ErrorDocument	  500 /adm/errorhandler
                    762: </Location>
                    763: 
                    764: <Location /adm/publish>
1.139     albertel  765: AuthType LONCAPA
1.125     albertel  766: Require valid-user
                    767: PerlAuthzHandler       Apache::lonacc
1.1       harris41  768: SetHandler perl-script
1.126     albertel  769: PerlHandler Apache::lonpublisher
1.1       harris41  770: ErrorDocument     403 /adm/login
                    771: ErrorDocument     404 /adm/notfound.html
1.18      www       772: ErrorDocument     406 /adm/unauthorized
1.1       harris41  773: ErrorDocument	  500 /adm/errorhandler
                    774: </Location>
                    775: 
1.64      albertel  776: <LocationMatch "^/+\~.*/$">
1.139     albertel  777: AuthType LONCAPA
1.131     albertel  778: Require valid-user
1.125     albertel  779: PerlAuthzHandler       Apache::loncacc
1.1       harris41  780: SetHandler perl-script
1.126     albertel  781: PerlHandler Apache::lonpubdir
1.1       harris41  782: ErrorDocument     403 /adm/login
                    783: ErrorDocument     404 /adm/notfound.html
1.18      www       784: ErrorDocument     406 /adm/unauthorized
1.1       harris41  785: ErrorDocument	  500 /adm/errorhandler
                    786: </LocationMatch>
                    787: 
                    788: <Location /adm/pubdir>
1.139     albertel  789: AuthType LONCAPA
1.125     albertel  790: Require valid-user
                    791: PerlAuthzHandler       Apache::lonacc
1.1       harris41  792: SetHandler perl-script
1.126     albertel  793: PerlHandler Apache::lonpubdir
1.1       harris41  794: ErrorDocument     403 /adm/login
                    795: ErrorDocument     404 /adm/notfound.html
1.18      www       796: ErrorDocument     406 /adm/unauthorized
                    797: ErrorDocument	  500 /adm/errorhandler
                    798: </Location>
                    799: 
                    800: <Location /adm/unauthorized>
1.139     albertel  801: AuthType LONCAPA
1.125     albertel  802: Require valid-user
                    803: PerlAuthzHandler       Apache::lonacc
1.18      www       804: SetHandler perl-script
1.126     albertel  805: PerlHandler Apache::lonunauthorized
1.18      www       806: ErrorDocument     403 /adm/login
                    807: ErrorDocument     404 /adm/notfound.html
1.1       harris41  808: ErrorDocument	  500 /adm/errorhandler
                    809: </Location>
                    810: 
                    811: <Location /adm/retrieve>
1.139     albertel  812: AuthType LONCAPA
1.125     albertel  813: Require valid-user
                    814: PerlAuthzHandler       Apache::lonacc
1.1       harris41  815: SetHandler perl-script
1.126     albertel  816: PerlHandler Apache::lonretrieve
1.1       harris41  817: ErrorDocument     403 /adm/login
                    818: ErrorDocument     404 /adm/notfound.html
1.18      www       819: ErrorDocument     406 /adm/unauthorized
1.1       harris41  820: ErrorDocument	  500 /adm/errorhandler
                    821: </Location>
                    822: 
1.109     www       823: <Location /adm/cleanup>
1.139     albertel  824: AuthType LONCAPA
1.125     albertel  825: Require valid-user
                    826: PerlAuthzHandler       Apache::lonacc
1.109     www       827: SetHandler perl-script
1.126     albertel  828: PerlHandler Apache::loncleanup
1.109     www       829: ErrorDocument     403 /adm/login
                    830: ErrorDocument     404 /adm/notfound.html
                    831: ErrorDocument     406 /adm/unauthorized
                    832: ErrorDocument	  500 /adm/errorhandler
                    833: </Location>
                    834: 
1.1       harris41  835: <Location /adm/cfile>
1.139     albertel  836: AuthType LONCAPA
1.125     albertel  837: Require valid-user
                    838: PerlAuthzHandler       Apache::lonacc
1.1       harris41  839: SetHandler perl-script
1.126     albertel  840: PerlHandler Apache::loncfile
1.1       harris41  841: ErrorDocument     403 /adm/login
                    842: ErrorDocument     404 /adm/notfound.html
1.18      www       843: ErrorDocument     406 /adm/unauthorized
1.1       harris41  844: ErrorDocument	  500 /adm/errorhandler
                    845: </Location>
                    846: 
                    847: <Location /adm/diff>
1.139     albertel  848: AuthType LONCAPA
1.125     albertel  849: Require valid-user
                    850: PerlAuthzHandler       Apache::lonacc
1.1       harris41  851: SetHandler perl-script
1.126     albertel  852: PerlHandler Apache::londiff
1.1       harris41  853: ErrorDocument     403 /adm/login
                    854: ErrorDocument     404 /adm/notfound.html
1.18      www       855: ErrorDocument     406 /adm/unauthorized
1.1       harris41  856: ErrorDocument	  500 /adm/errorhandler
                    857: </Location>
                    858: 
                    859: <Location /adm/upload>
1.139     albertel  860: AuthType LONCAPA
1.125     albertel  861: Require valid-user
                    862: PerlAuthzHandler       Apache::lonacc
1.1       harris41  863: SetHandler perl-script
1.126     albertel  864: PerlHandler Apache::lonupload
1.1       harris41  865: ErrorDocument     403 /adm/login
                    866: ErrorDocument     404 /adm/notfound.html
1.18      www       867: ErrorDocument     406 /adm/unauthorized
1.1       harris41  868: ErrorDocument	  500 /adm/errorhandler
1.72      raeburn   869: </Location>
                    870: 
1.73      raeburn   871: <Location /adm/imsimport>
1.139     albertel  872: AuthType LONCAPA
1.125     albertel  873: Require valid-user
                    874: PerlAuthzHandler       Apache::lonacc
1.73      raeburn   875: SetHandler perl-script
1.126     albertel  876: PerlHandler Apache::imsimport
1.73      raeburn   877: ErrorDocument     403 /adm/login
                    878: ErrorDocument     404 /adm/notfound.html
                    879: ErrorDocument     406 /adm/unauthorized
                    880: ErrorDocument     500 /adm/errorhandler
                    881: </Location>
                    882: 
1.72      raeburn   883: <Location /adm/testbank>
1.139     albertel  884: AuthType LONCAPA
1.125     albertel  885: Require valid-user
                    886: PerlAuthzHandler       Apache::lonacc
1.72      raeburn   887: SetHandler perl-script
1.126     albertel  888: PerlHandler Apache::testbankimport
1.72      raeburn   889: ErrorDocument     403 /adm/login
                    890: ErrorDocument     404 /adm/notfound.html
                    891: ErrorDocument     406 /adm/unauthorized
                    892: ErrorDocument     500 /adm/errorhandler
1.1       harris41  893: </Location>
                    894: 
                    895: <Location /adm/assesscalc>
1.139     albertel  896: AuthType LONCAPA
1.125     albertel  897: Require valid-user
                    898: PerlAuthzHandler       Apache::lonacc
1.1       harris41  899: SetHandler perl-script
1.126     albertel  900: PerlHandler Apache::lonspreadsheet
1.1       harris41  901: ErrorDocument     403 /adm/login
                    902: ErrorDocument     406 /adm/roles
1.20      www       903: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  904: ErrorDocument	  500 /adm/errorhandler
                    905: </Location>
                    906: 
                    907: <Location /adm/studentcalc>
1.139     albertel  908: AuthType LONCAPA
1.125     albertel  909: Require valid-user
                    910: PerlAuthzHandler       Apache::lonacc
1.1       harris41  911: SetHandler perl-script
1.126     albertel  912: PerlHandler Apache::lonspreadsheet
1.1       harris41  913: ErrorDocument     403 /adm/login
                    914: ErrorDocument     406 /adm/roles
1.20      www       915: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  916: ErrorDocument	  500 /adm/errorhandler
                    917: </Location>
                    918: 
                    919: <Location /adm/classcalc>
1.139     albertel  920: AuthType LONCAPA
1.125     albertel  921: Require valid-user
                    922: PerlAuthzHandler       Apache::lonacc
1.1       harris41  923: SetHandler perl-script
1.126     albertel  924: PerlHandler Apache::lonspreadsheet
1.1       harris41  925: ErrorDocument     403 /adm/login
                    926: ErrorDocument     406 /adm/roles
1.20      www       927: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  928: ErrorDocument	  500 /adm/errorhandler
                    929: </Location>
                    930: 
                    931: <Location /adm/dropadd>
1.139     albertel  932: AuthType LONCAPA
1.125     albertel  933: Require valid-user
                    934: PerlAuthzHandler       Apache::lonacc
1.1       harris41  935: SetHandler perl-script
1.126     albertel  936: PerlHandler Apache::londropadd
1.44      www       937: ErrorDocument     403 /adm/login
                    938: ErrorDocument     406 /adm/roles
                    939: ErrorDocument	  500 /adm/errorhandler
1.65      raeburn   940: </Location>
                    941: 
1.92      matthew   942: <Location /adm/viewclasslist>
1.139     albertel  943: AuthType LONCAPA
1.125     albertel  944: Require valid-user
                    945: PerlAuthzHandler       Apache::lonacc
1.92      matthew   946: SetHandler perl-script
1.126     albertel  947: PerlHandler Apache::lonviewclasslist
1.92      matthew   948: ErrorDocument     403 /adm/login
                    949: ErrorDocument     406 /adm/roles
                    950: ErrorDocument	  500 /adm/errorhandler
                    951: </Location>
                    952: 
1.118     raeburn   953: <Location /adm/coursegroups>
1.139     albertel  954: AuthType LONCAPA
1.125     albertel  955: Require valid-user
                    956: PerlAuthzHandler       Apache::lonacc
1.118     raeburn   957: SetHandler perl-script
1.126     albertel  958: PerlHandler Apache::loncoursegroups
1.118     raeburn   959: ErrorDocument     403 /adm/login
                    960: ErrorDocument     406 /adm/roles
                    961: ErrorDocument     500 /adm/errorhandler
                    962: </Location>
                    963: 
1.143     raeburn   964: <Location /adm/groupboards>
                    965: AuthType LONCAPA
                    966: Require valid-user
                    967: PerlAuthzHandler       Apache::lonacc
                    968: SetHandler perl-script
                    969: PerlHandler Apache::groupboards
                    970: ErrorDocument     403 /adm/login
                    971: ErrorDocument     406 /adm/roles
                    972: ErrorDocument     500 /adm/errorhandler
                    973: </Location>
                    974: 
1.144     raeburn   975: <Location /adm/grouproster>
                    976: AuthType LONCAPA
                    977: Require valid-user
                    978: PerlAuthzHandler       Apache::lonacc
                    979: SetHandler perl-script
                    980: PerlHandler Apache::grouproster
                    981: ErrorDocument     403 /adm/login
                    982: ErrorDocument     406 /adm/roles
                    983: ErrorDocument     500 /adm/errorhandler
                    984: </Location>
                    985: 
1.112     raeburn   986: <Location /adm/whatsnew>
1.139     albertel  987: AuthType LONCAPA
1.125     albertel  988: Require valid-user
                    989: PerlAuthzHandler       Apache::lonacc
1.112     raeburn   990: SetHandler perl-script
1.126     albertel  991: PerlHandler Apache::lonwhatsnew
1.112     raeburn   992: ErrorDocument     403 /adm/login
                    993: ErrorDocument     406 /adm/roles
                    994: ErrorDocument     500 /adm/errorhandler
                    995: </Location>
                    996: 
1.65      raeburn   997: <Location /adm/populate>
1.139     albertel  998: AuthType LONCAPA
1.125     albertel  999: Require valid-user
                   1000: PerlAuthzHandler       Apache::lonacc
1.65      raeburn  1001: SetHandler perl-script
1.126     albertel 1002: PerlHandler Apache::lonpopulate
1.65      raeburn  1003: ErrorDocument     403 /adm/login
                   1004: ErrorDocument     406 /adm/roles
                   1005: ErrorDocument     500 /adm/errorhandler
1.44      www      1006: </Location>
                   1007: 
                   1008: <Location /adm/managekeys>
1.139     albertel 1009: AuthType LONCAPA
1.125     albertel 1010: Require valid-user
                   1011: PerlAuthzHandler       Apache::lonacc
1.44      www      1012: SetHandler perl-script
1.126     albertel 1013: PerlHandler Apache::lonmanagekeys
1.1       harris41 1014: ErrorDocument     403 /adm/login
                   1015: ErrorDocument     406 /adm/roles
                   1016: ErrorDocument	  500 /adm/errorhandler
                   1017: </Location>
                   1018: 
                   1019: <Location /adm/printout>
1.139     albertel 1020: AuthType LONCAPA
1.125     albertel 1021: Require valid-user
                   1022: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1023: SetHandler perl-script
1.126     albertel 1024: PerlHandler Apache::lonprintout
1.1       harris41 1025: ErrorDocument     403 /adm/login
1.20      www      1026: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1027: ErrorDocument	  500 /adm/errorhandler
                   1028: </Location>
                   1029: 
                   1030: <Location /adm/feedback>
1.139     albertel 1031: AuthType LONCAPA
1.125     albertel 1032: Require valid-user
                   1033: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1034: SetHandler perl-script
1.126     albertel 1035: PerlHandler Apache::lonfeedback
1.10      www      1036: ErrorDocument     403 /adm/login
                   1037: ErrorDocument	  500 /adm/errorhandler
                   1038: </Location>
                   1039: 
                   1040: <Location /adm/coursedocs>
1.139     albertel 1041: AuthType LONCAPA
1.125     albertel 1042: Require valid-user
                   1043: PerlAuthzHandler       Apache::lonacc
1.10      www      1044: SetHandler perl-script
1.126     albertel 1045: PerlHandler Apache::londocs
1.108     albertel 1046: PerlCleanupHandler Apache::londocs::untiehash
1.129     albertel 1047: PerlCleanupHandler	Apache::lonacc::cleanup
1.10      www      1048: ErrorDocument     403 /adm/login
                   1049: ErrorDocument	  500 /adm/errorhandler
1.73      raeburn  1050: </Location>
                   1051: 
                   1052: <Location /adm/imsimportdocs>
1.139     albertel 1053: AuthType LONCAPA
1.125     albertel 1054: Require valid-user
                   1055: PerlAuthzHandler       Apache::lonacc
1.73      raeburn  1056: SetHandler perl-script
1.126     albertel 1057: PerlHandler Apache::imsimportdocs
1.73      raeburn  1058: ErrorDocument     403 /adm/login
                   1059: ErrorDocument     500 /adm/errorhandler
1.10      www      1060: </Location>
                   1061: 
1.135     www      1062: <LocationMatch "^/adm/announcements">
1.139     albertel 1063: AuthType LONCAPA
1.125     albertel 1064: Require valid-user
                   1065: PerlAuthzHandler       Apache::lonacc
1.10      www      1066: SetHandler perl-script
1.126     albertel 1067: PerlHandler Apache::lonannounce
1.10      www      1068: ErrorDocument     403 /adm/login
                   1069: ErrorDocument	  500 /adm/errorhandler
1.135     www      1070: </LocationMatch>
1.10      www      1071: 
                   1072: <Location /adm/chat>
1.139     albertel 1073: AuthType LONCAPA
1.125     albertel 1074: Require valid-user
                   1075: PerlAuthzHandler       Apache::lonacc
1.10      www      1076: SetHandler perl-script
1.126     albertel 1077: PerlHandler Apache::lonchat
1.13      www      1078: ErrorDocument	  500 /adm/errorhandler
                   1079: </Location>
                   1080: 
                   1081: <Location /adm/chatfetch>
1.139     albertel 1082: AuthType LONCAPA
1.125     albertel 1083: Require valid-user
                   1084: PerlAuthzHandler       Apache::lonacc
1.13      www      1085: SetHandler perl-script
1.126     albertel 1086: PerlHandler Apache::lonchatfetch
1.20      www      1087: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1088: ErrorDocument	  500 /adm/errorhandler
                   1089: </Location>
                   1090: 
1.137     albertel 1091: <Location /adm/groupchat>
1.139     albertel 1092: AuthType LONCAPA
1.137     albertel 1093: Require valid-user
                   1094: PerlAuthzHandler       Apache::lonacc
                   1095: SetHandler perl-script
                   1096: PerlHandler Apache::longroupchat
                   1097: ErrorDocument     403 /adm/login
                   1098: ErrorDocument     500 /adm/errorhandler
                   1099: </Location>
                   1100: 
1.1       harris41 1101: <Location /adm/evaluate>
1.139     albertel 1102: AuthType LONCAPA
1.125     albertel 1103: Require valid-user
                   1104: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1105: SetHandler perl-script
1.126     albertel 1106: PerlHandler Apache::lonevaluate
1.1       harris41 1107: ErrorDocument     403 /adm/login
                   1108: ErrorDocument	  500 /adm/errorhandler
                   1109: </Location>
                   1110: 
                   1111: <Location /adm/preferences>
1.139     albertel 1112: AuthType LONCAPA
1.125     albertel 1113: Require valid-user
                   1114: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1115: SetHandler perl-script
1.126     albertel 1116: PerlHandler Apache::lonpreferences
1.1       harris41 1117: ErrorDocument     403 /adm/login
                   1118: ErrorDocument	  500 /adm/errorhandler
                   1119: </Location>
                   1120: 
                   1121: <Location /adm/communicate>
1.139     albertel 1122: AuthType LONCAPA
1.125     albertel 1123: Require valid-user
                   1124: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1125: SetHandler perl-script
1.126     albertel 1126: PerlHandler Apache::loncommunicate
1.1       harris41 1127: ErrorDocument     403 /adm/login
                   1128: ErrorDocument	  500 /adm/errorhandler
                   1129: </Location>
                   1130: 
                   1131: <Location /adm/searchcat>
1.139     albertel 1132: AuthType LONCAPA
1.125     albertel 1133: Require valid-user
                   1134: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1135: SetHandler perl-script
1.126     albertel 1136: PerlHandler Apache::lonsearchcat
1.28      www      1137: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.129     albertel 1138: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1139: ErrorDocument     403 /adm/login
1.20      www      1140: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1141: ErrorDocument	  500 /adm/errorhandler
                   1142: </Location>
                   1143: 
                   1144: <Location /adm/navmaps>
1.139     albertel 1145: AuthType LONCAPA
1.125     albertel 1146: Require valid-user
                   1147: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1148: SetHandler perl-script
1.160     albertel 1149: PerlHandler Apache::lonnavdisplay
1.1       harris41 1150: ErrorDocument     403 /adm/login
                   1151: ErrorDocument     406 /adm/roles
                   1152: ErrorDocument	  500 /adm/errorhandler
1.26      bowersj2 1153: </Location>
                   1154: 
                   1155: <Location /adm/quickgrades>
1.139     albertel 1156: AuthType LONCAPA
1.125     albertel 1157: Require valid-user
                   1158: PerlAuthzHandler       Apache::lonacc
1.26      bowersj2 1159: SetHandler perl-script
1.126     albertel 1160: PerlHandler Apache::lonquickgrades
1.26      bowersj2 1161: ErrorDocument     403 /adm/login
                   1162: ErrorDocument     406 /adm/roles
                   1163: ErrorDocument     500 /adm/errorhandler
1.1       harris41 1164: </Location>
                   1165: 
                   1166: <Location /adm/groupsort>
1.139     albertel 1167: AuthType LONCAPA
1.125     albertel 1168: Require valid-user
                   1169: PerlAuthzHandler	Apache::lonacc
1.1       harris41 1170: SetHandler perl-script
1.126     albertel 1171: PerlHandler Apache::groupsort
1.29      www      1172: PerlCleanupHandler Apache::groupsort::cleanup
1.129     albertel 1173: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1174: ErrorDocument     403 /adm/login
                   1175: ErrorDocument	  500 /adm/errorhandler
                   1176: </Location>
                   1177: 
                   1178: <Location /adm/errorhandler>
                   1179: SetHandler perl-script
1.126     albertel 1180: PerlHandler Apache::lonerrorhandler
1.1       harris41 1181: </Location>
                   1182: 
1.7       bowersj2 1183: <LocationMatch "^/adm/help/.*\.hlp$">
1.139     albertel 1184: AuthType LONCAPA
1.125     albertel 1185: Require valid-user
1.147     albertel 1186: PerlAccessHandler      Apache::publiccheck
1.125     albertel 1187: PerlAuthzHandler	Apache::lonacc
1.7       bowersj2 1188: SetHandler perl-script
1.126     albertel 1189: PerlHandler Apache::lonhelp
1.154     albertel 1190: ErrorDocument	  500 /adm/errorhandler
1.7       bowersj2 1191: </LocationMatch>
                   1192: 
1.90      raeburn  1193: <LocationMatch "^/adm/helpmenu">
1.139     albertel 1194: AuthType LONCAPA
1.125     albertel 1195: Require valid-user
                   1196: PerlAuthzHandler       Apache::lonacc
1.90      raeburn  1197: SetHandler perl-script
1.126     albertel 1198: PerlHandler Apache::lonhelpmenu
1.154     albertel 1199: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1200: </LocationMatch>
                   1201: 
                   1202: <LocationMatch "^/adm/support">
1.139     albertel 1203: AuthType LONCAPA
1.125     albertel 1204: Require valid-user
                   1205: PerlAuthzHandler       Apache::lonacc
1.90      raeburn  1206: SetHandler perl-script
1.126     albertel 1207: PerlHandler Apache::lonsupportreq
1.154     albertel 1208: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1209: </LocationMatch>
                   1210: 
1.100     raeburn  1211: <LocationMatch "^/adm/helpdesk">
                   1212: SetHandler perl-script
1.126     albertel 1213: PerlHandler Apache::lonsupportreq
1.154     albertel 1214: ErrorDocument	  500 /adm/errorhandler
1.100     raeburn  1215: </LocationMatch>
                   1216: 
1.133     albertel 1217: <LocationMatch "^/adm/css">
                   1218: SetHandler perl-script
                   1219: PerlHandler Apache::loncss
1.154     albertel 1220: ErrorDocument	  500 /adm/errorhandler
1.133     albertel 1221: </LocationMatch>
                   1222: 
1.155     raeburn  1223: <LocationMatch "^/adm/coursecatalog">
                   1224: SetHandler perl-script
                   1225: PerlHandler Apache::coursecatalog
1.156     albertel 1226: ErrorDocument	  500 /adm/errorhandler
1.155     raeburn  1227: </LocationMatch>
                   1228: 
1.161     raeburn  1229: <LocationMatch "^/adm/resetpw">
                   1230: SetHandler perl-script
                   1231: PerlHandler Apache::resetpw
                   1232: ErrorDocument     500 /adm/errorhandler
                   1233: </LocationMatch>
1.155     raeburn  1234: 
1.173     raeburn  1235: <LocationMatch "^/adm/selfenroll">
                   1236: SetHandler perl-script
                   1237: PerlHandler Apache::selfenroll
                   1238: ErrorDocument     500 /adm/errorhandler
                   1239: </LocationMatch>
                   1240: 
1.171     raeburn  1241: <LocationMatch "^/adm/createaccount">
                   1242: SetHandler perl-script
                   1243: PerlHandler Apache::createaccount
                   1244: ErrorDocument     500 /adm/errorhandler
                   1245: </LocationMatch>
                   1246: 
1.165     albertel 1247: <LocationMatch "^/adm/dns">
                   1248: SetHandler perl-script
                   1249: PerlHandler Apache::londns
                   1250: ErrorDocument     500 /adm/errorhandler
                   1251: </LocationMatch>
1.164     albertel 1252: 
1.1       harris41 1253: # ------------------------------------------------- Backdoor Adm Tests/Programs
                   1254: 
                   1255: <Location /adm/test>
1.181     raeburn  1256: PerlAccessHandler Apache::lonstatusacc
1.1       harris41 1257: SetHandler perl-script
1.126     albertel 1258: PerlHandler Apache::lontest
1.1       harris41 1259: </Location>
                   1260: 
                   1261: # ------------------------------------------------------- Shutting down a child
                   1262: 
1.129     albertel 1263: PerlChildExitHandler Apache::lonacc::goodbye
1.1       harris41 1264: 
                   1265: #
                   1266: # LON-CAPA Section (extensions to access.conf permission configuration)
                   1267: #
                   1268: # =========================================================== Directory Options
                   1269: 
                   1270: # Start out with "no"
                   1271: 
                   1272: <Directory />
                   1273: Options None
                   1274: AllowOverride None
1.158     raeburn  1275: order deny,allow
                   1276: deny from all
                   1277: </Directory>
                   1278: 
                   1279: # Allow uploaded files to be served
                   1280: 
                   1281: <Directory "/home/httpd/lonUsers">
                   1282: Options Includes FollowSymLinks
                   1283: AllowOverride None
                   1284: order allow,deny
                   1285: allow from all
                   1286: </Directory>
                   1287:  
                   1288: # Allow construction space files to be served
                   1289: 
                   1290: <Directory "/home/*/public_html/" >
                   1291: Options Includes FollowSymLinks
                   1292: AllowOverride
                   1293: order allow,deny
                   1294: allow from all
1.1       harris41 1295: </Directory>
                   1296: 
                   1297: # Yes to symbolic links and server-side includes
                   1298: 
                   1299: <Directory /home/httpd/html>
                   1300: Options Includes FollowSymLinks
                   1301: AllowOverride None
                   1302: order allow,deny
                   1303: allow from all
                   1304: </Directory>
                   1305: 
                   1306: # If it is in cgi-bin, then it can be executed as a CGI script.
                   1307: 
                   1308: <Directory /home/httpd/cgi-bin>
                   1309: AllowOverride None
1.157     albertel 1310: Options ExecCGI FollowSymLinks
1.159     raeburn  1311: order allow,deny
                   1312: allow from all
                   1313: </Directory>
                   1314: 
                   1315: # Allow serving of files in prtspool
                   1316: 
                   1317: <Directory "/home/httpd/prtspool/">
                   1318: Options Includes FollowSymLinks
                   1319: AllowOverride None
                   1320: order allow,deny
                   1321: allow from all
1.1       harris41 1322: </Directory>
                   1323: 
1.167     banghart 1324: # Allow serving of files in zipspool
                   1325: 
                   1326: <Directory "/home/httpd/zipspool/">
                   1327: Options Includes FollowSymLinks
                   1328: AllowOverride None
                   1329: order allow,deny
                   1330: allow from all
                   1331: </Directory>
                   1332: 
1.177     raeburn  1333: # Allow serving of files in captchaspool
                   1334: 
                   1335: <Directory "/home/httpd/captchaspool/">
                   1336: Options Includes FollowSymLinks
                   1337: AllowOverride None
                   1338: order allow,deny
                   1339: allow from all
                   1340: </Directory>
                   1341: 
1.1       harris41 1342: # ============================================================= Access Handlers
                   1343: 
                   1344: # ------------------------------------------------- Allow server-status reports
                   1345: <Location /server-status>
1.181     raeburn  1346: PerlAccessHandler Apache::lonstatusacc
1.1       harris41 1347: SetHandler server-status
                   1348: </Location>
                   1349: 
                   1350: # ------------------------ Allow LON-CAPA "low-level" connection status reports
1.181     raeburn  1351: <LocationMatch "^/+lon-status/.*">
                   1352: PerlAccessHandler Apache::lonstatusacc
                   1353: ErrorDocument     406 /adm/roles
                   1354: ErrorDocument     500 /adm/errorhandler
                   1355: </LocationMatch>
1.1       harris41 1356: 
                   1357: # ------------------- Allow access to local system documentation from localhost
                   1358: Alias /doc /usr/doc
                   1359: <Directory /usr/doc>
                   1360: order deny,allow
                   1361: deny from all
                   1362: allow from localhost
                   1363: Options Indexes FollowSymLinks
                   1364: </Directory>
                   1365: 
                   1366: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
                   1367: # ====================================== Internal Settings / Perl Configuration
                   1368: 
1.59      www      1369: PerlSetVar	 lonVersion   '<!-- VERSION -->'
1.1       harris41 1370: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
                   1371: PerlSetVar       lonTabDir    /home/httpd/lonTabs
                   1372: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
                   1373: PerlSetVar       lonIconsURL  /adm/lonIcons
                   1374: PerlSetVar       londPort     5663
                   1375: PerlSetVar       lonSysEMail  korte@lite.msu.edu
                   1376: PerlSetVar       lonDaemons   /home/httpd/perl
                   1377: PerlSetVar       lonSockDir   /home/httpd/sockets
1.164     albertel 1378: PerlSetVar       lonSockCreate   /home/httpd/sockets/common
1.1       harris41 1379: PerlSetVar       lonDocRoot   /home/httpd/html
1.98      albertel 1380: PerlSetVar       lonPrtDir    /home/httpd/prtspool
1.1       harris41 1381: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
1.166     banghart 1382: PerlSetVar       lonZipDir    /home/httpd/zipspool
1.177     raeburn  1383: PerlSetVar       lonCaptchaDir     /home/httpd/captchaspool
                   1384: PerlSetVar       lonCaptchaDb     /home/httpd/captchadb 
1.168     albertel 1385: PerlSetVar       lonFontsDir     /home/httpd/html/adm/fonts
1.166     banghart 1386: # & separated list of : separated fields in order of
1.119     albertel 1387: # - internal name to call it, 
                   1388: # - regexp that it should match (done case-insensitively)
                   1389: # - regexp that is should not match (done case-insensitively)
                   1390: # - regexp that will pull out the version number into $1
                   1391: # - a number that describes the minimum version that has mathml support
                   1392: # - a number that describes the minimum number version that has unicode support
                   1393: 
1.169     albertel 1394: PerlSetVar       lonBrowsDet  explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999:1&netscape:netscape:msie:netscape\/(\d+\.\d+):9999:7&netscape:netscape\/[7-9]:shouldnotmatch:netscape\/(\d+\.\d+):9999:7&amaya:amaya:mozilla:V(\d+\.\d+)\s:1:1&safari:safari:msie:safari\/([\d\.]+):9999:84
1.119     albertel 1395: 
1.105     albertel 1396: PerlSetVar       lonTextBrowsers windows\s+ce:lynx
1.43      albertel 1397: PerlSetVar       lonScansDir  /home/httpd/scantron
                   1398: PerlSetVar       lonScriptTimeout 10
1.70      www      1399: PerlSetVar	 BugzillaHost	http://bugs.lon-capa.org/
                   1400: PerlSetVar	 FAQHost	http://help.lon-capa.org/
1.2       harris41 1401: # -----------------------------------------------------------------------------
                   1402: # NOTE: lonSqlAccess key is the password for the MySQL user
                   1403: # www@localhost.  This value must always be "localhostkey".
                   1404: # The only security risk occurs when somebody logs in as 'www' on your system
                   1405: # (in which case you have much bigger problems than whether or not they
                   1406: # can access the non-authoritative loncapa database on your machine).
                   1407: 
                   1408: PerlSetVar       lonSqlAccess   localhostkey
                   1409: 
1.86      foxr     1410: #----------------------------------------------------------------------------
                   1411: #
1.79      foxr     1412: #   Parameters used by secure lond/lonc
                   1413: 
                   1414: #
                   1415: #   Secure lond/lonc require ssl certificate and private
                   1416: #   key files to function correctly.  The certificate
                   1417: #   files need not be terribly secure, but the private key files
                   1418: #   should be set up so that only www (the lonc/lond effective user)
                   1419: #   can read them.
                   1420: # 
                   1421: #   The definition below is the full path to the directory that
                   1422: #   contains the certificate and key files:
1.82      foxr     1423: 
1.79      foxr     1424: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
                   1425: 
                   1426: #
                   1427: #  Secure lond/lonc require two certificates and a private host key.
                   1428: #  The certificates required are that of the lonCAPA certificate authority
                   1429: #  and the certificate that authority issued to this host.
                   1430: #  lonnetCertificateAuthority is the name of the file that contains the
                   1431: #                            lonCAPA certificate authority's certificate.
                   1432: #  lonnetCertificate is the name of the file that contains the certificate
                   1433: #                    issued to the host by the certificate authority.
                   1434: #  Both of these variables are names of files assumed to be in 
                   1435: #  lonCertificateDirectory:
                   1436: 
                   1437: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
                   1438: PerlSetVar lonnetCertificate          lonhostcert.pem
                   1439: 
                   1440: #
                   1441: #  To generate the request for a certificate, and to negotiate the
                   1442: #  initial ssl connection, the host requires a private key.  This key
                   1443: #  is created at lonCAPA install time.  Did we mention above that it
                   1444: #  should be set so that only www can read it?  The variale below
                   1445: #  is the name of the file relative to lonnetCertificateDirectory
                   1446: #  that has the host's private key.  Did we remember to tell you to
                   1447: #  keep the permissions on that file set to rw-------  (0600)?
                   1448: #  
                   1449: 
                   1450: PerlSetVar lonnetPrivateKey         lonKey.pem
                   1451: 
                   1452: # Did we mention that the file described above must have
                   1453: # permissions really locked down so that it can't be stolen?
                   1454: 
1.86      foxr     1455: #-------------------------------------------------------------------------
                   1456: 
                   1457: #   Parameters that define where all the ssl stuff is that's needed
                   1458: #   to generate certificate requests and, on a system that's a CA
                   1459: #   the certificate authority.
                   1460: #    
                   1461: #    SSLProgram    -> Path to the openssl command
                   1462: #    SSLDirectory  -> Directory containing ssl configuration files etc.
                   1463: #    SSLCAConfig   -> Name of the SSL config file for the certificate 
                   1464: #                     Authority.
1.87      foxr     1465: #    SSLCAFile     -> Full path to the Certificate authority file 
                   1466: #                    (on the cert manager system).
                   1467: #    SSLEmail      -> E-mail address of loncapa certificate manager.
1.86      foxr     1468: #    The following are good for the loncapa redhat installs and
                   1469: #    the loncapa certificate authority system:
                   1470: #
                   1471: PerlSetVar SSLProgram	/usr/bin/openssl
                   1472: PerlSetVar SSLDirectory /usr/share/ssl
                   1473: PerlSetVar SSLCAConfig  loncapaca
1.87      foxr     1474: PerlSetVar SSLCAFile    /usr/share/ssl/loncapaca/cacert.pem
1.93      albertel 1475: PerlSetVar SSLEmail     certificate@lon-capa.org
1.86      foxr     1476: 
                   1477: #-------------------------------------------------------------------------
                   1478: 
1.79      foxr     1479: 
                   1480: 
1.2       harris41 1481: 
1.8       harris41 1482: # ====================================== Include machine-specific configuration
1.2       harris41 1483: 
                   1484: Include conf/loncapa.conf
1.61      albertel 1485: 
                   1486: # ================================================= Include local configuration
                   1487: 
                   1488: Include conf/loncapa_apache_local*.conf
1.1       harris41 1489: 
                   1490: # ================================================== Initiate mod_perl starting
                   1491: 
                   1492: PerlRequire      conf/startup.pl
1.47      albertel 1493: <IfDefine !MODPERL2>
1.1       harris41 1494: PerlFreshRestart On
1.47      albertel 1495: </IfDefine>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>