Annotation of loncom/loncapa_apache.conf, revision 1.181.2.1

1.1       harris41    1: ##
                      2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
                      3: ##
1.181.2.1! raeburn     4: ## $Id: loncapa_apache.conf,v 1.181 2008/11/28 19:38:05 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.1       harris41  744: <Location /adm/createuser>
1.139     albertel  745: AuthType LONCAPA
1.125     albertel  746: Require valid-user
                    747: PerlAuthzHandler       Apache::lonacc
1.1       harris41  748: SetHandler perl-script
1.126     albertel  749: PerlHandler Apache::loncreateuser
1.1       harris41  750: ErrorDocument     403 /adm/login
                    751: ErrorDocument     406 /adm/roles
                    752: ErrorDocument	  500 /adm/errorhandler
                    753: </Location>
                    754: 
                    755: <Location /adm/publish>
1.139     albertel  756: AuthType LONCAPA
1.125     albertel  757: Require valid-user
                    758: PerlAuthzHandler       Apache::lonacc
1.1       harris41  759: SetHandler perl-script
1.126     albertel  760: PerlHandler Apache::lonpublisher
1.1       harris41  761: ErrorDocument     403 /adm/login
                    762: ErrorDocument     404 /adm/notfound.html
1.18      www       763: ErrorDocument     406 /adm/unauthorized
1.1       harris41  764: ErrorDocument	  500 /adm/errorhandler
                    765: </Location>
                    766: 
1.64      albertel  767: <LocationMatch "^/+\~.*/$">
1.139     albertel  768: AuthType LONCAPA
1.131     albertel  769: Require valid-user
1.125     albertel  770: PerlAuthzHandler       Apache::loncacc
1.1       harris41  771: SetHandler perl-script
1.126     albertel  772: PerlHandler Apache::lonpubdir
1.1       harris41  773: ErrorDocument     403 /adm/login
                    774: ErrorDocument     404 /adm/notfound.html
1.18      www       775: ErrorDocument     406 /adm/unauthorized
1.1       harris41  776: ErrorDocument	  500 /adm/errorhandler
                    777: </LocationMatch>
                    778: 
                    779: <Location /adm/pubdir>
1.139     albertel  780: AuthType LONCAPA
1.125     albertel  781: Require valid-user
                    782: PerlAuthzHandler       Apache::lonacc
1.1       harris41  783: SetHandler perl-script
1.126     albertel  784: PerlHandler Apache::lonpubdir
1.1       harris41  785: ErrorDocument     403 /adm/login
                    786: ErrorDocument     404 /adm/notfound.html
1.18      www       787: ErrorDocument     406 /adm/unauthorized
                    788: ErrorDocument	  500 /adm/errorhandler
                    789: </Location>
                    790: 
                    791: <Location /adm/unauthorized>
1.139     albertel  792: AuthType LONCAPA
1.125     albertel  793: Require valid-user
                    794: PerlAuthzHandler       Apache::lonacc
1.18      www       795: SetHandler perl-script
1.126     albertel  796: PerlHandler Apache::lonunauthorized
1.18      www       797: ErrorDocument     403 /adm/login
                    798: ErrorDocument     404 /adm/notfound.html
1.1       harris41  799: ErrorDocument	  500 /adm/errorhandler
                    800: </Location>
                    801: 
                    802: <Location /adm/retrieve>
1.139     albertel  803: AuthType LONCAPA
1.125     albertel  804: Require valid-user
                    805: PerlAuthzHandler       Apache::lonacc
1.1       harris41  806: SetHandler perl-script
1.126     albertel  807: PerlHandler Apache::lonretrieve
1.1       harris41  808: ErrorDocument     403 /adm/login
                    809: ErrorDocument     404 /adm/notfound.html
1.18      www       810: ErrorDocument     406 /adm/unauthorized
1.1       harris41  811: ErrorDocument	  500 /adm/errorhandler
                    812: </Location>
                    813: 
1.109     www       814: <Location /adm/cleanup>
1.139     albertel  815: AuthType LONCAPA
1.125     albertel  816: Require valid-user
                    817: PerlAuthzHandler       Apache::lonacc
1.109     www       818: SetHandler perl-script
1.126     albertel  819: PerlHandler Apache::loncleanup
1.109     www       820: ErrorDocument     403 /adm/login
                    821: ErrorDocument     404 /adm/notfound.html
                    822: ErrorDocument     406 /adm/unauthorized
                    823: ErrorDocument	  500 /adm/errorhandler
                    824: </Location>
                    825: 
1.1       harris41  826: <Location /adm/cfile>
1.139     albertel  827: AuthType LONCAPA
1.125     albertel  828: Require valid-user
                    829: PerlAuthzHandler       Apache::lonacc
1.1       harris41  830: SetHandler perl-script
1.126     albertel  831: PerlHandler Apache::loncfile
1.1       harris41  832: ErrorDocument     403 /adm/login
                    833: ErrorDocument     404 /adm/notfound.html
1.18      www       834: ErrorDocument     406 /adm/unauthorized
1.1       harris41  835: ErrorDocument	  500 /adm/errorhandler
                    836: </Location>
                    837: 
                    838: <Location /adm/diff>
1.139     albertel  839: AuthType LONCAPA
1.125     albertel  840: Require valid-user
                    841: PerlAuthzHandler       Apache::lonacc
1.1       harris41  842: SetHandler perl-script
1.126     albertel  843: PerlHandler Apache::londiff
1.1       harris41  844: ErrorDocument     403 /adm/login
                    845: ErrorDocument     404 /adm/notfound.html
1.18      www       846: ErrorDocument     406 /adm/unauthorized
1.1       harris41  847: ErrorDocument	  500 /adm/errorhandler
                    848: </Location>
                    849: 
                    850: <Location /adm/upload>
1.139     albertel  851: AuthType LONCAPA
1.125     albertel  852: Require valid-user
                    853: PerlAuthzHandler       Apache::lonacc
1.1       harris41  854: SetHandler perl-script
1.126     albertel  855: PerlHandler Apache::lonupload
1.1       harris41  856: ErrorDocument     403 /adm/login
                    857: ErrorDocument     404 /adm/notfound.html
1.18      www       858: ErrorDocument     406 /adm/unauthorized
1.1       harris41  859: ErrorDocument	  500 /adm/errorhandler
1.72      raeburn   860: </Location>
                    861: 
1.73      raeburn   862: <Location /adm/imsimport>
1.139     albertel  863: AuthType LONCAPA
1.125     albertel  864: Require valid-user
                    865: PerlAuthzHandler       Apache::lonacc
1.73      raeburn   866: SetHandler perl-script
1.126     albertel  867: PerlHandler Apache::imsimport
1.73      raeburn   868: ErrorDocument     403 /adm/login
                    869: ErrorDocument     404 /adm/notfound.html
                    870: ErrorDocument     406 /adm/unauthorized
                    871: ErrorDocument     500 /adm/errorhandler
                    872: </Location>
                    873: 
1.72      raeburn   874: <Location /adm/testbank>
1.139     albertel  875: AuthType LONCAPA
1.125     albertel  876: Require valid-user
                    877: PerlAuthzHandler       Apache::lonacc
1.72      raeburn   878: SetHandler perl-script
1.126     albertel  879: PerlHandler Apache::testbankimport
1.72      raeburn   880: ErrorDocument     403 /adm/login
                    881: ErrorDocument     404 /adm/notfound.html
                    882: ErrorDocument     406 /adm/unauthorized
                    883: ErrorDocument     500 /adm/errorhandler
1.1       harris41  884: </Location>
                    885: 
                    886: <Location /adm/assesscalc>
1.139     albertel  887: AuthType LONCAPA
1.125     albertel  888: Require valid-user
                    889: PerlAuthzHandler       Apache::lonacc
1.1       harris41  890: SetHandler perl-script
1.126     albertel  891: PerlHandler Apache::lonspreadsheet
1.1       harris41  892: ErrorDocument     403 /adm/login
                    893: ErrorDocument     406 /adm/roles
1.20      www       894: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  895: ErrorDocument	  500 /adm/errorhandler
                    896: </Location>
                    897: 
                    898: <Location /adm/studentcalc>
1.139     albertel  899: AuthType LONCAPA
1.125     albertel  900: Require valid-user
                    901: PerlAuthzHandler       Apache::lonacc
1.1       harris41  902: SetHandler perl-script
1.126     albertel  903: PerlHandler Apache::lonspreadsheet
1.1       harris41  904: ErrorDocument     403 /adm/login
                    905: ErrorDocument     406 /adm/roles
1.20      www       906: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  907: ErrorDocument	  500 /adm/errorhandler
                    908: </Location>
                    909: 
                    910: <Location /adm/classcalc>
1.139     albertel  911: AuthType LONCAPA
1.125     albertel  912: Require valid-user
                    913: PerlAuthzHandler       Apache::lonacc
1.1       harris41  914: SetHandler perl-script
1.126     albertel  915: PerlHandler Apache::lonspreadsheet
1.1       harris41  916: ErrorDocument     403 /adm/login
                    917: ErrorDocument     406 /adm/roles
1.20      www       918: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  919: ErrorDocument	  500 /adm/errorhandler
                    920: </Location>
                    921: 
                    922: <Location /adm/dropadd>
1.139     albertel  923: AuthType LONCAPA
1.125     albertel  924: Require valid-user
                    925: PerlAuthzHandler       Apache::lonacc
1.1       harris41  926: SetHandler perl-script
1.126     albertel  927: PerlHandler Apache::londropadd
1.44      www       928: ErrorDocument     403 /adm/login
                    929: ErrorDocument     406 /adm/roles
                    930: ErrorDocument	  500 /adm/errorhandler
1.65      raeburn   931: </Location>
                    932: 
1.92      matthew   933: <Location /adm/viewclasslist>
1.139     albertel  934: AuthType LONCAPA
1.125     albertel  935: Require valid-user
                    936: PerlAuthzHandler       Apache::lonacc
1.92      matthew   937: SetHandler perl-script
1.126     albertel  938: PerlHandler Apache::lonviewclasslist
1.92      matthew   939: ErrorDocument     403 /adm/login
                    940: ErrorDocument     406 /adm/roles
                    941: ErrorDocument	  500 /adm/errorhandler
                    942: </Location>
                    943: 
1.118     raeburn   944: <Location /adm/coursegroups>
1.139     albertel  945: AuthType LONCAPA
1.125     albertel  946: Require valid-user
                    947: PerlAuthzHandler       Apache::lonacc
1.118     raeburn   948: SetHandler perl-script
1.126     albertel  949: PerlHandler Apache::loncoursegroups
1.118     raeburn   950: ErrorDocument     403 /adm/login
                    951: ErrorDocument     406 /adm/roles
                    952: ErrorDocument     500 /adm/errorhandler
                    953: </Location>
                    954: 
1.143     raeburn   955: <Location /adm/groupboards>
                    956: AuthType LONCAPA
                    957: Require valid-user
                    958: PerlAuthzHandler       Apache::lonacc
                    959: SetHandler perl-script
                    960: PerlHandler Apache::groupboards
                    961: ErrorDocument     403 /adm/login
                    962: ErrorDocument     406 /adm/roles
                    963: ErrorDocument     500 /adm/errorhandler
                    964: </Location>
                    965: 
1.144     raeburn   966: <Location /adm/grouproster>
                    967: AuthType LONCAPA
                    968: Require valid-user
                    969: PerlAuthzHandler       Apache::lonacc
                    970: SetHandler perl-script
                    971: PerlHandler Apache::grouproster
                    972: ErrorDocument     403 /adm/login
                    973: ErrorDocument     406 /adm/roles
                    974: ErrorDocument     500 /adm/errorhandler
                    975: </Location>
                    976: 
1.112     raeburn   977: <Location /adm/whatsnew>
1.139     albertel  978: AuthType LONCAPA
1.125     albertel  979: Require valid-user
                    980: PerlAuthzHandler       Apache::lonacc
1.112     raeburn   981: SetHandler perl-script
1.126     albertel  982: PerlHandler Apache::lonwhatsnew
1.112     raeburn   983: ErrorDocument     403 /adm/login
                    984: ErrorDocument     406 /adm/roles
                    985: ErrorDocument     500 /adm/errorhandler
                    986: </Location>
                    987: 
1.65      raeburn   988: <Location /adm/populate>
1.139     albertel  989: AuthType LONCAPA
1.125     albertel  990: Require valid-user
                    991: PerlAuthzHandler       Apache::lonacc
1.65      raeburn   992: SetHandler perl-script
1.126     albertel  993: PerlHandler Apache::lonpopulate
1.65      raeburn   994: ErrorDocument     403 /adm/login
                    995: ErrorDocument     406 /adm/roles
                    996: ErrorDocument     500 /adm/errorhandler
1.44      www       997: </Location>
                    998: 
                    999: <Location /adm/managekeys>
1.139     albertel 1000: AuthType LONCAPA
1.125     albertel 1001: Require valid-user
                   1002: PerlAuthzHandler       Apache::lonacc
1.44      www      1003: SetHandler perl-script
1.126     albertel 1004: PerlHandler Apache::lonmanagekeys
1.1       harris41 1005: ErrorDocument     403 /adm/login
                   1006: ErrorDocument     406 /adm/roles
                   1007: ErrorDocument	  500 /adm/errorhandler
                   1008: </Location>
                   1009: 
                   1010: <Location /adm/printout>
1.139     albertel 1011: AuthType LONCAPA
1.125     albertel 1012: Require valid-user
                   1013: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1014: SetHandler perl-script
1.126     albertel 1015: PerlHandler Apache::lonprintout
1.1       harris41 1016: ErrorDocument     403 /adm/login
1.20      www      1017: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1018: ErrorDocument	  500 /adm/errorhandler
                   1019: </Location>
                   1020: 
                   1021: <Location /adm/feedback>
1.139     albertel 1022: AuthType LONCAPA
1.125     albertel 1023: Require valid-user
                   1024: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1025: SetHandler perl-script
1.126     albertel 1026: PerlHandler Apache::lonfeedback
1.10      www      1027: ErrorDocument     403 /adm/login
                   1028: ErrorDocument	  500 /adm/errorhandler
                   1029: </Location>
                   1030: 
                   1031: <Location /adm/coursedocs>
1.139     albertel 1032: AuthType LONCAPA
1.125     albertel 1033: Require valid-user
                   1034: PerlAuthzHandler       Apache::lonacc
1.10      www      1035: SetHandler perl-script
1.126     albertel 1036: PerlHandler Apache::londocs
1.108     albertel 1037: PerlCleanupHandler Apache::londocs::untiehash
1.129     albertel 1038: PerlCleanupHandler	Apache::lonacc::cleanup
1.10      www      1039: ErrorDocument     403 /adm/login
                   1040: ErrorDocument	  500 /adm/errorhandler
1.73      raeburn  1041: </Location>
                   1042: 
                   1043: <Location /adm/imsimportdocs>
1.139     albertel 1044: AuthType LONCAPA
1.125     albertel 1045: Require valid-user
                   1046: PerlAuthzHandler       Apache::lonacc
1.73      raeburn  1047: SetHandler perl-script
1.126     albertel 1048: PerlHandler Apache::imsimportdocs
1.73      raeburn  1049: ErrorDocument     403 /adm/login
                   1050: ErrorDocument     500 /adm/errorhandler
1.10      www      1051: </Location>
                   1052: 
1.135     www      1053: <LocationMatch "^/adm/announcements">
1.139     albertel 1054: AuthType LONCAPA
1.125     albertel 1055: Require valid-user
                   1056: PerlAuthzHandler       Apache::lonacc
1.10      www      1057: SetHandler perl-script
1.126     albertel 1058: PerlHandler Apache::lonannounce
1.10      www      1059: ErrorDocument     403 /adm/login
                   1060: ErrorDocument	  500 /adm/errorhandler
1.135     www      1061: </LocationMatch>
1.10      www      1062: 
                   1063: <Location /adm/chat>
1.139     albertel 1064: AuthType LONCAPA
1.125     albertel 1065: Require valid-user
                   1066: PerlAuthzHandler       Apache::lonacc
1.10      www      1067: SetHandler perl-script
1.126     albertel 1068: PerlHandler Apache::lonchat
1.13      www      1069: ErrorDocument	  500 /adm/errorhandler
                   1070: </Location>
                   1071: 
                   1072: <Location /adm/chatfetch>
1.139     albertel 1073: AuthType LONCAPA
1.125     albertel 1074: Require valid-user
                   1075: PerlAuthzHandler       Apache::lonacc
1.13      www      1076: SetHandler perl-script
1.126     albertel 1077: PerlHandler Apache::lonchatfetch
1.20      www      1078: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1079: ErrorDocument	  500 /adm/errorhandler
                   1080: </Location>
                   1081: 
1.137     albertel 1082: <Location /adm/groupchat>
1.139     albertel 1083: AuthType LONCAPA
1.137     albertel 1084: Require valid-user
                   1085: PerlAuthzHandler       Apache::lonacc
                   1086: SetHandler perl-script
                   1087: PerlHandler Apache::longroupchat
                   1088: ErrorDocument     403 /adm/login
                   1089: ErrorDocument     500 /adm/errorhandler
                   1090: </Location>
                   1091: 
1.1       harris41 1092: <Location /adm/evaluate>
1.139     albertel 1093: AuthType LONCAPA
1.125     albertel 1094: Require valid-user
                   1095: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1096: SetHandler perl-script
1.126     albertel 1097: PerlHandler Apache::lonevaluate
1.1       harris41 1098: ErrorDocument     403 /adm/login
                   1099: ErrorDocument	  500 /adm/errorhandler
                   1100: </Location>
                   1101: 
                   1102: <Location /adm/preferences>
1.139     albertel 1103: AuthType LONCAPA
1.125     albertel 1104: Require valid-user
                   1105: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1106: SetHandler perl-script
1.126     albertel 1107: PerlHandler Apache::lonpreferences
1.1       harris41 1108: ErrorDocument     403 /adm/login
                   1109: ErrorDocument	  500 /adm/errorhandler
                   1110: </Location>
                   1111: 
                   1112: <Location /adm/communicate>
1.139     albertel 1113: AuthType LONCAPA
1.125     albertel 1114: Require valid-user
                   1115: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1116: SetHandler perl-script
1.126     albertel 1117: PerlHandler Apache::loncommunicate
1.1       harris41 1118: ErrorDocument     403 /adm/login
                   1119: ErrorDocument	  500 /adm/errorhandler
                   1120: </Location>
                   1121: 
                   1122: <Location /adm/searchcat>
1.139     albertel 1123: AuthType LONCAPA
1.125     albertel 1124: Require valid-user
                   1125: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1126: SetHandler perl-script
1.126     albertel 1127: PerlHandler Apache::lonsearchcat
1.28      www      1128: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.129     albertel 1129: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1130: ErrorDocument     403 /adm/login
1.20      www      1131: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1132: ErrorDocument	  500 /adm/errorhandler
                   1133: </Location>
                   1134: 
                   1135: <Location /adm/navmaps>
1.139     albertel 1136: AuthType LONCAPA
1.125     albertel 1137: Require valid-user
                   1138: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1139: SetHandler perl-script
1.160     albertel 1140: PerlHandler Apache::lonnavdisplay
1.1       harris41 1141: ErrorDocument     403 /adm/login
                   1142: ErrorDocument     406 /adm/roles
                   1143: ErrorDocument	  500 /adm/errorhandler
1.26      bowersj2 1144: </Location>
                   1145: 
                   1146: <Location /adm/quickgrades>
1.139     albertel 1147: AuthType LONCAPA
1.125     albertel 1148: Require valid-user
                   1149: PerlAuthzHandler       Apache::lonacc
1.26      bowersj2 1150: SetHandler perl-script
1.126     albertel 1151: PerlHandler Apache::lonquickgrades
1.26      bowersj2 1152: ErrorDocument     403 /adm/login
                   1153: ErrorDocument     406 /adm/roles
                   1154: ErrorDocument     500 /adm/errorhandler
1.1       harris41 1155: </Location>
                   1156: 
                   1157: <Location /adm/groupsort>
1.139     albertel 1158: AuthType LONCAPA
1.125     albertel 1159: Require valid-user
                   1160: PerlAuthzHandler	Apache::lonacc
1.1       harris41 1161: SetHandler perl-script
1.126     albertel 1162: PerlHandler Apache::groupsort
1.29      www      1163: PerlCleanupHandler Apache::groupsort::cleanup
1.129     albertel 1164: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1165: ErrorDocument     403 /adm/login
                   1166: ErrorDocument	  500 /adm/errorhandler
                   1167: </Location>
                   1168: 
                   1169: <Location /adm/errorhandler>
                   1170: SetHandler perl-script
1.126     albertel 1171: PerlHandler Apache::lonerrorhandler
1.1       harris41 1172: </Location>
                   1173: 
1.7       bowersj2 1174: <LocationMatch "^/adm/help/.*\.hlp$">
1.139     albertel 1175: AuthType LONCAPA
1.125     albertel 1176: Require valid-user
1.147     albertel 1177: PerlAccessHandler      Apache::publiccheck
1.125     albertel 1178: PerlAuthzHandler	Apache::lonacc
1.7       bowersj2 1179: SetHandler perl-script
1.126     albertel 1180: PerlHandler Apache::lonhelp
1.154     albertel 1181: ErrorDocument	  500 /adm/errorhandler
1.7       bowersj2 1182: </LocationMatch>
                   1183: 
1.90      raeburn  1184: <LocationMatch "^/adm/helpmenu">
1.139     albertel 1185: AuthType LONCAPA
1.125     albertel 1186: Require valid-user
                   1187: PerlAuthzHandler       Apache::lonacc
1.90      raeburn  1188: SetHandler perl-script
1.126     albertel 1189: PerlHandler Apache::lonhelpmenu
1.154     albertel 1190: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1191: </LocationMatch>
                   1192: 
                   1193: <LocationMatch "^/adm/support">
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::lonsupportreq
1.154     albertel 1199: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1200: </LocationMatch>
                   1201: 
1.100     raeburn  1202: <LocationMatch "^/adm/helpdesk">
                   1203: SetHandler perl-script
1.126     albertel 1204: PerlHandler Apache::lonsupportreq
1.154     albertel 1205: ErrorDocument	  500 /adm/errorhandler
1.100     raeburn  1206: </LocationMatch>
                   1207: 
1.133     albertel 1208: <LocationMatch "^/adm/css">
                   1209: SetHandler perl-script
                   1210: PerlHandler Apache::loncss
1.154     albertel 1211: ErrorDocument	  500 /adm/errorhandler
1.133     albertel 1212: </LocationMatch>
                   1213: 
1.155     raeburn  1214: <LocationMatch "^/adm/coursecatalog">
                   1215: SetHandler perl-script
                   1216: PerlHandler Apache::coursecatalog
1.156     albertel 1217: ErrorDocument	  500 /adm/errorhandler
1.155     raeburn  1218: </LocationMatch>
                   1219: 
1.161     raeburn  1220: <LocationMatch "^/adm/resetpw">
                   1221: SetHandler perl-script
                   1222: PerlHandler Apache::resetpw
                   1223: ErrorDocument     500 /adm/errorhandler
                   1224: </LocationMatch>
1.155     raeburn  1225: 
1.173     raeburn  1226: <LocationMatch "^/adm/selfenroll">
                   1227: SetHandler perl-script
                   1228: PerlHandler Apache::selfenroll
                   1229: ErrorDocument     500 /adm/errorhandler
                   1230: </LocationMatch>
                   1231: 
1.171     raeburn  1232: <LocationMatch "^/adm/createaccount">
                   1233: SetHandler perl-script
                   1234: PerlHandler Apache::createaccount
                   1235: ErrorDocument     500 /adm/errorhandler
                   1236: </LocationMatch>
                   1237: 
1.165     albertel 1238: <LocationMatch "^/adm/dns">
                   1239: SetHandler perl-script
                   1240: PerlHandler Apache::londns
                   1241: ErrorDocument     500 /adm/errorhandler
                   1242: </LocationMatch>
1.164     albertel 1243: 
1.1       harris41 1244: # ------------------------------------------------- Backdoor Adm Tests/Programs
                   1245: 
                   1246: <Location /adm/test>
1.181     raeburn  1247: PerlAccessHandler Apache::lonstatusacc
1.1       harris41 1248: SetHandler perl-script
1.126     albertel 1249: PerlHandler Apache::lontest
1.1       harris41 1250: </Location>
                   1251: 
                   1252: # ------------------------------------------------------- Shutting down a child
                   1253: 
1.129     albertel 1254: PerlChildExitHandler Apache::lonacc::goodbye
1.1       harris41 1255: 
                   1256: #
                   1257: # LON-CAPA Section (extensions to access.conf permission configuration)
                   1258: #
                   1259: # =========================================================== Directory Options
                   1260: 
                   1261: # Start out with "no"
                   1262: 
                   1263: <Directory />
                   1264: Options None
                   1265: AllowOverride None
1.158     raeburn  1266: order deny,allow
                   1267: deny from all
                   1268: </Directory>
                   1269: 
                   1270: # Allow uploaded files to be served
                   1271: 
                   1272: <Directory "/home/httpd/lonUsers">
                   1273: Options Includes FollowSymLinks
                   1274: AllowOverride None
                   1275: order allow,deny
                   1276: allow from all
                   1277: </Directory>
                   1278:  
                   1279: # Allow construction space files to be served
                   1280: 
                   1281: <Directory "/home/*/public_html/" >
                   1282: Options Includes FollowSymLinks
                   1283: AllowOverride
                   1284: order allow,deny
                   1285: allow from all
1.1       harris41 1286: </Directory>
                   1287: 
                   1288: # Yes to symbolic links and server-side includes
                   1289: 
                   1290: <Directory /home/httpd/html>
                   1291: Options Includes FollowSymLinks
                   1292: AllowOverride None
                   1293: order allow,deny
                   1294: allow from all
                   1295: </Directory>
                   1296: 
                   1297: # If it is in cgi-bin, then it can be executed as a CGI script.
                   1298: 
                   1299: <Directory /home/httpd/cgi-bin>
                   1300: AllowOverride None
1.157     albertel 1301: Options ExecCGI FollowSymLinks
1.159     raeburn  1302: order allow,deny
                   1303: allow from all
                   1304: </Directory>
                   1305: 
                   1306: # Allow serving of files in prtspool
                   1307: 
                   1308: <Directory "/home/httpd/prtspool/">
                   1309: Options Includes FollowSymLinks
                   1310: AllowOverride None
                   1311: order allow,deny
                   1312: allow from all
1.1       harris41 1313: </Directory>
                   1314: 
1.167     banghart 1315: # Allow serving of files in zipspool
                   1316: 
                   1317: <Directory "/home/httpd/zipspool/">
                   1318: Options Includes FollowSymLinks
                   1319: AllowOverride None
                   1320: order allow,deny
                   1321: allow from all
                   1322: </Directory>
                   1323: 
1.177     raeburn  1324: # Allow serving of files in captchaspool
                   1325: 
                   1326: <Directory "/home/httpd/captchaspool/">
                   1327: Options Includes FollowSymLinks
                   1328: AllowOverride None
                   1329: order allow,deny
                   1330: allow from all
                   1331: </Directory>
                   1332: 
1.1       harris41 1333: # ============================================================= Access Handlers
                   1334: 
                   1335: # ------------------------------------------------- Allow server-status reports
                   1336: <Location /server-status>
1.181     raeburn  1337: PerlAccessHandler Apache::lonstatusacc
1.1       harris41 1338: SetHandler server-status
                   1339: </Location>
                   1340: 
                   1341: # ------------------------ Allow LON-CAPA "low-level" connection status reports
1.181     raeburn  1342: <LocationMatch "^/+lon-status/.*">
                   1343: PerlAccessHandler Apache::lonstatusacc
                   1344: ErrorDocument     406 /adm/roles
                   1345: ErrorDocument     500 /adm/errorhandler
                   1346: </LocationMatch>
1.1       harris41 1347: 
                   1348: # ------------------- Allow access to local system documentation from localhost
                   1349: Alias /doc /usr/doc
                   1350: <Directory /usr/doc>
                   1351: order deny,allow
                   1352: deny from all
                   1353: allow from localhost
                   1354: Options Indexes FollowSymLinks
                   1355: </Directory>
                   1356: 
                   1357: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
                   1358: # ====================================== Internal Settings / Perl Configuration
                   1359: 
1.59      www      1360: PerlSetVar	 lonVersion   '<!-- VERSION -->'
1.1       harris41 1361: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
                   1362: PerlSetVar       lonTabDir    /home/httpd/lonTabs
                   1363: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
                   1364: PerlSetVar       lonIconsURL  /adm/lonIcons
                   1365: PerlSetVar       londPort     5663
                   1366: PerlSetVar       lonSysEMail  korte@lite.msu.edu
                   1367: PerlSetVar       lonDaemons   /home/httpd/perl
                   1368: PerlSetVar       lonSockDir   /home/httpd/sockets
1.164     albertel 1369: PerlSetVar       lonSockCreate   /home/httpd/sockets/common
1.1       harris41 1370: PerlSetVar       lonDocRoot   /home/httpd/html
1.98      albertel 1371: PerlSetVar       lonPrtDir    /home/httpd/prtspool
1.1       harris41 1372: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
1.166     banghart 1373: PerlSetVar       lonZipDir    /home/httpd/zipspool
1.177     raeburn  1374: PerlSetVar       lonCaptchaDir     /home/httpd/captchaspool
                   1375: PerlSetVar       lonCaptchaDb     /home/httpd/captchadb 
1.168     albertel 1376: PerlSetVar       lonFontsDir     /home/httpd/html/adm/fonts
1.166     banghart 1377: # & separated list of : separated fields in order of
1.119     albertel 1378: # - internal name to call it, 
                   1379: # - regexp that it should match (done case-insensitively)
                   1380: # - regexp that is should not match (done case-insensitively)
                   1381: # - regexp that will pull out the version number into $1
                   1382: # - a number that describes the minimum version that has mathml support
                   1383: # - a number that describes the minimum number version that has unicode support
                   1384: 
1.169     albertel 1385: 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 1386: 
1.105     albertel 1387: PerlSetVar       lonTextBrowsers windows\s+ce:lynx
1.43      albertel 1388: PerlSetVar       lonScansDir  /home/httpd/scantron
                   1389: PerlSetVar       lonScriptTimeout 10
1.70      www      1390: PerlSetVar	 BugzillaHost	http://bugs.lon-capa.org/
                   1391: PerlSetVar	 FAQHost	http://help.lon-capa.org/
1.2       harris41 1392: # -----------------------------------------------------------------------------
                   1393: # NOTE: lonSqlAccess key is the password for the MySQL user
                   1394: # www@localhost.  This value must always be "localhostkey".
                   1395: # The only security risk occurs when somebody logs in as 'www' on your system
                   1396: # (in which case you have much bigger problems than whether or not they
                   1397: # can access the non-authoritative loncapa database on your machine).
                   1398: 
                   1399: PerlSetVar       lonSqlAccess   localhostkey
                   1400: 
1.86      foxr     1401: #----------------------------------------------------------------------------
                   1402: #
1.79      foxr     1403: #   Parameters used by secure lond/lonc
                   1404: 
                   1405: #
                   1406: #   Secure lond/lonc require ssl certificate and private
                   1407: #   key files to function correctly.  The certificate
                   1408: #   files need not be terribly secure, but the private key files
                   1409: #   should be set up so that only www (the lonc/lond effective user)
                   1410: #   can read them.
                   1411: # 
                   1412: #   The definition below is the full path to the directory that
                   1413: #   contains the certificate and key files:
1.82      foxr     1414: 
1.79      foxr     1415: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
                   1416: 
                   1417: #
                   1418: #  Secure lond/lonc require two certificates and a private host key.
                   1419: #  The certificates required are that of the lonCAPA certificate authority
                   1420: #  and the certificate that authority issued to this host.
                   1421: #  lonnetCertificateAuthority is the name of the file that contains the
                   1422: #                            lonCAPA certificate authority's certificate.
                   1423: #  lonnetCertificate is the name of the file that contains the certificate
                   1424: #                    issued to the host by the certificate authority.
                   1425: #  Both of these variables are names of files assumed to be in 
                   1426: #  lonCertificateDirectory:
                   1427: 
                   1428: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
                   1429: PerlSetVar lonnetCertificate          lonhostcert.pem
                   1430: 
                   1431: #
                   1432: #  To generate the request for a certificate, and to negotiate the
                   1433: #  initial ssl connection, the host requires a private key.  This key
                   1434: #  is created at lonCAPA install time.  Did we mention above that it
                   1435: #  should be set so that only www can read it?  The variale below
                   1436: #  is the name of the file relative to lonnetCertificateDirectory
                   1437: #  that has the host's private key.  Did we remember to tell you to
                   1438: #  keep the permissions on that file set to rw-------  (0600)?
                   1439: #  
                   1440: 
                   1441: PerlSetVar lonnetPrivateKey         lonKey.pem
                   1442: 
                   1443: # Did we mention that the file described above must have
                   1444: # permissions really locked down so that it can't be stolen?
                   1445: 
1.86      foxr     1446: #-------------------------------------------------------------------------
                   1447: 
                   1448: #   Parameters that define where all the ssl stuff is that's needed
                   1449: #   to generate certificate requests and, on a system that's a CA
                   1450: #   the certificate authority.
                   1451: #    
                   1452: #    SSLProgram    -> Path to the openssl command
                   1453: #    SSLDirectory  -> Directory containing ssl configuration files etc.
                   1454: #    SSLCAConfig   -> Name of the SSL config file for the certificate 
                   1455: #                     Authority.
1.87      foxr     1456: #    SSLCAFile     -> Full path to the Certificate authority file 
                   1457: #                    (on the cert manager system).
                   1458: #    SSLEmail      -> E-mail address of loncapa certificate manager.
1.86      foxr     1459: #    The following are good for the loncapa redhat installs and
                   1460: #    the loncapa certificate authority system:
                   1461: #
                   1462: PerlSetVar SSLProgram	/usr/bin/openssl
                   1463: PerlSetVar SSLDirectory /usr/share/ssl
                   1464: PerlSetVar SSLCAConfig  loncapaca
1.87      foxr     1465: PerlSetVar SSLCAFile    /usr/share/ssl/loncapaca/cacert.pem
1.93      albertel 1466: PerlSetVar SSLEmail     certificate@lon-capa.org
1.86      foxr     1467: 
                   1468: #-------------------------------------------------------------------------
                   1469: 
1.79      foxr     1470: 
                   1471: 
1.2       harris41 1472: 
1.8       harris41 1473: # ====================================== Include machine-specific configuration
1.2       harris41 1474: 
                   1475: Include conf/loncapa.conf
1.61      albertel 1476: 
                   1477: # ================================================= Include local configuration
                   1478: 
                   1479: Include conf/loncapa_apache_local*.conf
1.1       harris41 1480: 
                   1481: # ================================================== Initiate mod_perl starting
                   1482: 
                   1483: PerlRequire      conf/startup.pl
1.47      albertel 1484: <IfDefine !MODPERL2>
1.1       harris41 1485: PerlFreshRestart On
1.47      albertel 1486: </IfDefine>

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