Annotation of loncom/loncapa_apache.conf, revision 1.162

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

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