Annotation of loncom/loncapa_apache.conf, revision 1.145

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

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