File:  [LON-CAPA] / loncom / loncapa_apache.conf
Revision 1.193: download - view: text, annotated - select for diffs
Wed Mar 10 21:25:22 2010 UTC (14 years, 2 months ago) by droeschl
Branches: MAIN
CVS tags: HEAD
In process of removing remote control, remote navmap and different icon modes code
Also some minor refactoring.

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

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