Annotation of loncom/loncapa_apache.conf, revision 1.144

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

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