Annotation of loncom/loncapa_apache.conf, revision 1.131

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

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