Annotation of loncom/loncapa_apache.conf, revision 1.149

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

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