File:  [LON-CAPA] / loncom / loncapa_apache.conf
Revision 1.206: download - view: text, annotated - select for diffs
Tue Nov 1 13:32:04 2011 UTC (12 years, 5 months ago) by raeburn
Branches: MAIN
CVS tags: language_hyphenation_merge, language_hyphenation, HEAD
- Web requests for /adm/pubdir mo longer occur following removal of frameset
  (lonconstruct.pm rev 1.37) due to retirement of Remote Control.
  Need for lonconstruct.pm itself eliminated in loncapa_apache.conf rev. 1.205.

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

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