File:  [LON-CAPA] / loncom / loncapa_apache.conf
Revision 1.181.2.2: download - view: text, annotated - select for diffs
Mon Dec 22 21:53:48 2008 UTC (15 years, 4 months ago) by raeburn
Branches: version_2_8_X
- Backport 1.182.

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

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