Annotation of loncom/loncapa_apache.conf, revision 1.139

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

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