File:  [LON-CAPA] / loncom / loncapa_apache.conf
Revision 1.181.2.3: download - view: text, annotated - select for diffs
Tue Dec 23 00:06:12 2008 UTC (15 years, 4 months ago) by raeburn
Branches: version_2_8_X
CVS tags: version_2_8_1, version_2_8_0, version_2_7_99_1, version_2_7_99_0, GCI_1
- Backport 1.183.

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

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