Annotation of loncom/loncapa_apache.conf, revision 1.137

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

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