Annotation of loncom/loncapa_apache.conf, revision 1.151

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

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