Annotation of loncom/loncapa_apache.conf, revision 1.146

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

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