File:  [LON-CAPA] / loncom / loncapa_apache.conf
Revision 1.185: download - view: text, annotated - select for diffs
Mon Apr 13 20:42:28 2009 UTC (15 years ago) by raeburn
Branches: MAIN
CVS tags: version_2_9_X, bz5969, HEAD, BZ5971-printing-apage, BZ5434-fox
- Bug 5826.
  - Edit button in Construction Space for files with extensions: css, js, or txt.

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

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