File:  [LON-CAPA] / loncom / loncapa_apache.conf
Revision 1.184: download - view: text, annotated - select for diffs
Thu Apr 2 13:48:07 2009 UTC (15 years, 1 month ago) by foxr
Branches: MAIN
CVS tags: HEAD
Add perl var for the extra PS header file.

    1: ##
    2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
    3: ##
    4: ## $Id: loncapa_apache.conf,v 1.184 2009/04/02 13:48:07 foxr 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 "^/adm/wrapper/">
  397: AuthType LONCAPA
  398: Require valid-user
  399: PerlAuthzHandler       Apache::lonacc
  400: PerlHandler Apache::londatecheck
  401: PerlHandler Apache::lonipcheck
  402: SetHandler perl-script
  403: PerlHandler Apache::lonwrapper
  404: ErrorDocument     403 /adm/login
  405: ErrorDocument	  500 /adm/errorhandler
  406: </LocationMatch>
  407: 
  408: <LocationMatch "^/adm/source">
  409: AuthType LONCAPA
  410: Require valid-user
  411: PerlAuthzHandler       Apache::lonacc
  412: SetHandler perl-script
  413: PerlHandler Apache::lonsource
  414: ErrorDocument     403 /adm/login
  415: ErrorDocument     406 /adm/roles
  416: ErrorDocument	  500 /adm/errorhandler
  417: </LocationMatch>
  418: 
  419: 
  420: <LocationMatch "^/adm/localize/">
  421: AuthType LONCAPA
  422: Require valid-user
  423: PerlAuthzHandler       Apache::lonacc
  424: SetHandler perl-script
  425: PerlHandler Apache::lonlocalize
  426: ErrorDocument     403 /adm/login
  427: ErrorDocument	  500 /adm/errorhandler
  428: </LocationMatch>
  429: 
  430: # -------------------------------------------------------------- Admin Programs
  431: 
  432: <Location /adm/randomlabel.png>
  433: AuthType LONCAPA
  434: Require valid-user
  435: PerlAuthzHandler       Apache::lonacc
  436: SetHandler perl-script
  437: PerlHandler Apache::randomlylabel
  438: ErrorDocument     403 /adm/login
  439: ErrorDocument	  500 /adm/errorhandler
  440: </Location>
  441: 
  442: <Location /adm/imagechoice>
  443: AuthType LONCAPA
  444: Require valid-user
  445: PerlAuthzHandler       Apache::lonacc
  446: SetHandler perl-script
  447: PerlHandler Apache::imagechoice
  448: ErrorDocument     403 /adm/login
  449: ErrorDocument	  500 /adm/errorhandler
  450: </Location>
  451: 
  452: <Location /adm/statistics>
  453: AuthType LONCAPA
  454: Require valid-user
  455: PerlAuthzHandler       Apache::lonacc
  456: SetHandler perl-script
  457: PerlHandler Apache::lonstatistics
  458: ErrorDocument     403 /adm/login
  459: ErrorDocument     413 /adm/overloaded.txt
  460: ErrorDocument	  500 /adm/errorhandler
  461: </Location>
  462: 
  463: <Location /adm/trackstudent>
  464: AuthType LONCAPA
  465: Require valid-user
  466: PerlAuthzHandler       Apache::lonacc
  467: SetHandler perl-script
  468: PerlHandler Apache::lontrackstudent
  469: ErrorDocument     403 /adm/login
  470: ErrorDocument     413 /adm/overloaded.txt
  471: ErrorDocument	  500 /adm/errorhandler
  472: </Location>
  473: 
  474: <Location /adm/roles>
  475: AuthType LONCAPA
  476: Require valid-user
  477: PerlAuthzHandler       Apache::lonacc
  478: SetHandler perl-script
  479: PerlHandler Apache::lonroles
  480: ErrorDocument     403 /adm/login
  481: ErrorDocument     409 /adm/preferences?action=lockwarning
  482: ErrorDocument	  500 /adm/errorhandler
  483: </Location>
  484: 
  485: <Location /adm/menu>
  486: AuthType LONCAPA
  487: Require valid-user
  488: PerlAuthzHandler       Apache::lonacc
  489: SetHandler perl-script
  490: PerlHandler Apache::lonmainmenu
  491: ErrorDocument     403 /adm/login
  492: ErrorDocument	  500 /adm/errorhandler
  493: </Location>
  494: 
  495: <Location /adm/remote>
  496: AuthType LONCAPA
  497: Require valid-user
  498: PerlAuthzHandler       Apache::lonacc
  499: SetHandler perl-script
  500: PerlHandler Apache::lonremote
  501: ErrorDocument     403 /adm/login
  502: ErrorDocument	  500 /adm/errorhandler
  503: </Location>
  504: 
  505: <Location /adm/pickauthor>
  506: AuthType LONCAPA
  507: Require valid-user
  508: PerlAuthzHandler       Apache::lonacc
  509: SetHandler perl-script
  510: PerlHandler Apache::lonpickauthor
  511: ErrorDocument     403 /adm/login
  512: ErrorDocument     500 /adm/errorhandler
  513: </Location>
  514: 
  515: <Location /adm/pickstudent>
  516: AuthType LONCAPA
  517: Require valid-user
  518: PerlAuthzHandler       Apache::lonacc
  519: SetHandler perl-script
  520: PerlHandler Apache::lonpickstudent
  521: ErrorDocument     403 /adm/login
  522: ErrorDocument	  500 /adm/errorhandler
  523: </Location>
  524: 
  525: <Location /adm/pickcourse>
  526: AuthType LONCAPA
  527: Require valid-user
  528: PerlAuthzHandler       Apache::lonacc
  529: SetHandler perl-script
  530: PerlHandler Apache::lonpickcourse
  531: ErrorDocument     403 /adm/login
  532: ErrorDocument	  500 /adm/errorhandler
  533: </Location>
  534: 
  535: <Location /adm/pickcode>
  536: AuthType LONCAPA
  537: Require valid-user
  538: PerlAuthzHandler       Apache::lonacc
  539: SetHandler perl-script
  540: PerlHandler Apache::lonpickcode
  541: ErrorDocument     403 /adm/login
  542: ErrorDocument	  500 /adm/errorhandler
  543: </Location>
  544: 
  545: <Location /adm/login>
  546: SetHandler perl-script
  547: PerlHandler Apache::lonlogin
  548: </Location>
  549: 
  550: <Location /adm/restrictedaccess>
  551: PerlAccessHandler      Apache::publiccheck
  552: AuthType LONCAPA
  553: Require valid-user
  554: SetHandler perl-script
  555: PerlAuthzHandler       Apache::lonacc
  556: PerlHandler Apache::restrictedaccess
  557: ErrorDocument	  500 /adm/errorhandler
  558: </Location>
  559: 
  560: <Location /adm/blockedaccess>
  561: PerlAccessHandler      Apache::publiccheck
  562: AuthType LONCAPA
  563: Require valid-user
  564: SetHandler perl-script
  565: PerlAuthzHandler       Apache::lonacc
  566: PerlHandler Apache::blockedaccess
  567: ErrorDocument     500 /adm/errorhandler
  568: </Location>
  569: 
  570: <Location /adm/logout>
  571: AuthType LONCAPA
  572: Require valid-user
  573: PerlAuthzHandler       Apache::lonacc
  574: SetHandler perl-script
  575: PerlHandler Apache::lonlogout
  576: ErrorDocument     403 /adm/login
  577: ErrorDocument     409 /adm/preferences?action=lockwarning
  578: ErrorDocument	  500 /adm/errorhandler
  579: </Location>
  580: 
  581: <Location /adm/switchserver>
  582: AuthType LONCAPA
  583: Require valid-user
  584: PerlAuthzHandler       Apache::lonacc
  585: SetHandler perl-script
  586: PerlHandler Apache::switchserver
  587: ErrorDocument     403 /adm/login
  588: ErrorDocument	  500 /adm/errorhandler
  589: </Location>
  590: 
  591: <Location /adm/authenticate>
  592: SetHandler perl-script
  593: PerlHandler Apache::lonauth
  594: </Location>
  595: 
  596: <Location /adm/migrateuser>
  597: SetHandler perl-script
  598: PerlHandler Apache::migrateuser
  599: </Location>
  600: 
  601: <Location /adm/annotations>
  602: AuthType LONCAPA
  603: Require valid-user
  604: PerlAuthzHandler       Apache::lonacc
  605: SetHandler perl-script
  606: PerlHandler Apache::admannotations
  607: ErrorDocument     403 /adm/login
  608: ErrorDocument	  500 /adm/errorhandler
  609: </Location>
  610: 
  611: <Location /adm/spellcheck>
  612: AuthType LONCAPA
  613: Require valid-user
  614: PerlAuthzHandler       Apache::lonacc
  615: SetHandler perl-script
  616: PerlHandler Apache::lonspeller
  617: ErrorDocument     403 /adm/login
  618: ErrorDocument	  500 /adm/errorhandler
  619: </Location>
  620: 
  621: <Location /adm/bookmarks>
  622: AuthType LONCAPA
  623: Require valid-user
  624: PerlAuthzHandler       Apache::lonacc
  625: SetHandler perl-script
  626: PerlHandler Apache::admbookmarks
  627: ErrorDocument     403 /adm/login
  628: ErrorDocument	  500 /adm/errorhandler
  629: </Location>
  630: 
  631: <Location /adm/flip>
  632: AuthType LONCAPA
  633: Require valid-user
  634: PerlAuthzHandler       Apache::lonacc
  635: SetHandler perl-script
  636: PerlHandler Apache::lonpageflip
  637: PerlCleanupHandler Apache::lonpageflip::cleanup
  638: PerlCleanupHandler	Apache::lonacc::cleanup
  639: ErrorDocument     406 /adm/roles
  640: ErrorDocument     403 /adm/login
  641: ErrorDocument	  500 /adm/errorhandler
  642: </Location>
  643: 
  644: <Location /adm/ambiguous>
  645: AuthType LONCAPA
  646: Require valid-user
  647: PerlAuthzHandler       Apache::lonacc
  648: SetHandler perl-script
  649: PerlHandler Apache::lonambiguous
  650: PerlCleanupHandler Apache::lonambiguous::cleanup
  651: PerlCleanupHandler	Apache::lonacc::cleanup
  652: ErrorDocument     403 /adm/login
  653: ErrorDocument	  500 /adm/errorhandler
  654: </Location>
  655: 
  656: <Location /adm/email>
  657: AuthType LONCAPA
  658: Require valid-user
  659: PerlAuthzHandler       Apache::lonacc
  660: SetHandler perl-script
  661: PerlHandler Apache::lonmsgdisplay
  662: ErrorDocument     403 /adm/login
  663: ErrorDocument	  500 /adm/errorhandler
  664: </Location>
  665: 
  666: <Location /adm/notify>
  667: AuthType LONCAPA
  668: Require valid-user
  669: PerlAuthzHandler       Apache::lonacc
  670: SetHandler perl-script
  671: PerlHandler Apache::lonnotify
  672: ErrorDocument     403 /adm/login
  673: ErrorDocument     500 /adm/errorhandler
  674: </Location>
  675: 
  676: <Location /adm/parmset>
  677: AuthType LONCAPA
  678: Require valid-user
  679: PerlAuthzHandler       Apache::lonacc
  680: SetHandler perl-script
  681: PerlHandler Apache::lonparmset
  682: ErrorDocument     403 /adm/login
  683: ErrorDocument     406 /adm/roles
  684: ErrorDocument	  500 /adm/errorhandler
  685: </Location>
  686: 
  687: <Location /adm/slotrequest>
  688: AuthType LONCAPA
  689: Require valid-user
  690: PerlAuthzHandler       Apache::lonacc
  691: SetHandler perl-script
  692: PerlHandler Apache::slotrequest
  693: ErrorDocument     403 /adm/login
  694: ErrorDocument     406 /adm/roles
  695: ErrorDocument	  500 /adm/errorhandler
  696: </Location>
  697: 
  698: <Location /adm/wizard>
  699: AuthType LONCAPA
  700: Require valid-user
  701: PerlAuthzHandler       Apache::lonacc
  702: SetHandler perl-script
  703: PerlHandler Apache::lonwizard
  704: ErrorDocument     403 /adm/login
  705: ErrorDocument     406 /adm/roles
  706: ErrorDocument	  500 /adm/errorhandler
  707: </Location>
  708: 
  709: <Location /adm/grades>
  710: AuthType LONCAPA
  711: Require valid-user
  712: PerlAuthzHandler       Apache::lonacc
  713: SetHandler perl-script
  714: PerlHandler Apache::grades
  715: ErrorDocument     403 /adm/login
  716: ErrorDocument     406 /adm/roles
  717: ErrorDocument	  500 /adm/errorhandler
  718: </Location>
  719: 
  720: <Location /adm/createcourse>
  721: AuthType LONCAPA
  722: Require valid-user
  723: PerlAuthzHandler       Apache::lonacc
  724: SetHandler perl-script
  725: PerlHandler Apache::loncreatecourse
  726: ErrorDocument     403 /adm/login
  727: ErrorDocument     406 /adm/roles
  728: ErrorDocument	  500 /adm/errorhandler
  729: </Location>
  730: 
  731: <Location /adm/modifycourse>
  732: AuthType LONCAPA
  733: Require valid-user
  734: PerlAuthzHandler       Apache::lonacc
  735: SetHandler perl-script
  736: PerlHandler Apache::lonmodifycourse
  737: ErrorDocument     403 /adm/login
  738: ErrorDocument     406 /adm/roles
  739: ErrorDocument     500 /adm/errorhandler
  740: </Location>
  741: 
  742: <Location /adm/domainprefs>
  743: AuthType LONCAPA
  744: Require valid-user
  745: PerlAuthzHandler       Apache::lonacc
  746: SetHandler perl-script
  747: PerlHandler Apache::domainprefs
  748: ErrorDocument     403 /adm/login
  749: ErrorDocument     406 /adm/roles
  750: ErrorDocument     500 /adm/errorhandler
  751: </Location>
  752: 
  753: <Location /adm/domainstatus>
  754: PerlAccessHandler       Apache::lonstatusacc
  755: SetHandler perl-script
  756: PerlHandler Apache::domainstatus
  757: ErrorDocument     403 /adm/login
  758: ErrorDocument     406 /adm/roles
  759: ErrorDocument     500 /adm/errorhandler
  760: </Location>
  761: 
  762: <Location /adm/createuser>
  763: AuthType LONCAPA
  764: Require valid-user
  765: PerlAuthzHandler       Apache::lonacc
  766: SetHandler perl-script
  767: PerlHandler Apache::loncreateuser
  768: ErrorDocument     403 /adm/login
  769: ErrorDocument     406 /adm/roles
  770: ErrorDocument	  500 /adm/errorhandler
  771: </Location>
  772: 
  773: <Location /adm/publish>
  774: AuthType LONCAPA
  775: Require valid-user
  776: PerlAuthzHandler       Apache::lonacc
  777: SetHandler perl-script
  778: PerlHandler Apache::lonpublisher
  779: ErrorDocument     403 /adm/login
  780: ErrorDocument     404 /adm/notfound.html
  781: ErrorDocument     406 /adm/unauthorized
  782: ErrorDocument	  500 /adm/errorhandler
  783: </Location>
  784: 
  785: <LocationMatch "^/+\~.*/$">
  786: AuthType LONCAPA
  787: Require valid-user
  788: PerlAuthzHandler       Apache::loncacc
  789: SetHandler perl-script
  790: PerlHandler Apache::lonpubdir
  791: ErrorDocument     403 /adm/login
  792: ErrorDocument     404 /adm/notfound.html
  793: ErrorDocument     406 /adm/unauthorized
  794: ErrorDocument	  500 /adm/errorhandler
  795: </LocationMatch>
  796: 
  797: <Location /adm/pubdir>
  798: AuthType LONCAPA
  799: Require valid-user
  800: PerlAuthzHandler       Apache::lonacc
  801: SetHandler perl-script
  802: PerlHandler Apache::lonpubdir
  803: ErrorDocument     403 /adm/login
  804: ErrorDocument     404 /adm/notfound.html
  805: ErrorDocument     406 /adm/unauthorized
  806: ErrorDocument	  500 /adm/errorhandler
  807: </Location>
  808: 
  809: <Location /adm/unauthorized>
  810: AuthType LONCAPA
  811: Require valid-user
  812: PerlAuthzHandler       Apache::lonacc
  813: SetHandler perl-script
  814: PerlHandler Apache::lonunauthorized
  815: ErrorDocument     403 /adm/login
  816: ErrorDocument     404 /adm/notfound.html
  817: ErrorDocument	  500 /adm/errorhandler
  818: </Location>
  819: 
  820: <Location /adm/retrieve>
  821: AuthType LONCAPA
  822: Require valid-user
  823: PerlAuthzHandler       Apache::lonacc
  824: SetHandler perl-script
  825: PerlHandler Apache::lonretrieve
  826: ErrorDocument     403 /adm/login
  827: ErrorDocument     404 /adm/notfound.html
  828: ErrorDocument     406 /adm/unauthorized
  829: ErrorDocument	  500 /adm/errorhandler
  830: </Location>
  831: 
  832: <Location /adm/cleanup>
  833: AuthType LONCAPA
  834: Require valid-user
  835: PerlAuthzHandler       Apache::lonacc
  836: SetHandler perl-script
  837: PerlHandler Apache::loncleanup
  838: ErrorDocument     403 /adm/login
  839: ErrorDocument     404 /adm/notfound.html
  840: ErrorDocument     406 /adm/unauthorized
  841: ErrorDocument	  500 /adm/errorhandler
  842: </Location>
  843: 
  844: <Location /adm/cfile>
  845: AuthType LONCAPA
  846: Require valid-user
  847: PerlAuthzHandler       Apache::lonacc
  848: SetHandler perl-script
  849: PerlHandler Apache::loncfile
  850: ErrorDocument     403 /adm/login
  851: ErrorDocument     404 /adm/notfound.html
  852: ErrorDocument     406 /adm/unauthorized
  853: ErrorDocument	  500 /adm/errorhandler
  854: </Location>
  855: 
  856: <Location /adm/diff>
  857: AuthType LONCAPA
  858: Require valid-user
  859: PerlAuthzHandler       Apache::lonacc
  860: SetHandler perl-script
  861: PerlHandler Apache::londiff
  862: ErrorDocument     403 /adm/login
  863: ErrorDocument     404 /adm/notfound.html
  864: ErrorDocument     406 /adm/unauthorized
  865: ErrorDocument	  500 /adm/errorhandler
  866: </Location>
  867: 
  868: <Location /adm/upload>
  869: AuthType LONCAPA
  870: Require valid-user
  871: PerlAuthzHandler       Apache::lonacc
  872: SetHandler perl-script
  873: PerlHandler Apache::lonupload
  874: ErrorDocument     403 /adm/login
  875: ErrorDocument     404 /adm/notfound.html
  876: ErrorDocument     406 /adm/unauthorized
  877: ErrorDocument	  500 /adm/errorhandler
  878: </Location>
  879: 
  880: <Location /adm/imsimport>
  881: AuthType LONCAPA
  882: Require valid-user
  883: PerlAuthzHandler       Apache::lonacc
  884: SetHandler perl-script
  885: PerlHandler Apache::imsimport
  886: ErrorDocument     403 /adm/login
  887: ErrorDocument     404 /adm/notfound.html
  888: ErrorDocument     406 /adm/unauthorized
  889: ErrorDocument     500 /adm/errorhandler
  890: </Location>
  891: 
  892: <Location /adm/testbank>
  893: AuthType LONCAPA
  894: Require valid-user
  895: PerlAuthzHandler       Apache::lonacc
  896: SetHandler perl-script
  897: PerlHandler Apache::testbankimport
  898: ErrorDocument     403 /adm/login
  899: ErrorDocument     404 /adm/notfound.html
  900: ErrorDocument     406 /adm/unauthorized
  901: ErrorDocument     500 /adm/errorhandler
  902: </Location>
  903: 
  904: <Location /adm/assesscalc>
  905: AuthType LONCAPA
  906: Require valid-user
  907: PerlAuthzHandler       Apache::lonacc
  908: SetHandler perl-script
  909: PerlHandler Apache::lonspreadsheet
  910: ErrorDocument     403 /adm/login
  911: ErrorDocument     406 /adm/roles
  912: ErrorDocument     413 /adm/overloaded.txt
  913: ErrorDocument	  500 /adm/errorhandler
  914: </Location>
  915: 
  916: <Location /adm/studentcalc>
  917: AuthType LONCAPA
  918: Require valid-user
  919: PerlAuthzHandler       Apache::lonacc
  920: SetHandler perl-script
  921: PerlHandler Apache::lonspreadsheet
  922: ErrorDocument     403 /adm/login
  923: ErrorDocument     406 /adm/roles
  924: ErrorDocument     413 /adm/overloaded.txt
  925: ErrorDocument	  500 /adm/errorhandler
  926: </Location>
  927: 
  928: <Location /adm/classcalc>
  929: AuthType LONCAPA
  930: Require valid-user
  931: PerlAuthzHandler       Apache::lonacc
  932: SetHandler perl-script
  933: PerlHandler Apache::lonspreadsheet
  934: ErrorDocument     403 /adm/login
  935: ErrorDocument     406 /adm/roles
  936: ErrorDocument     413 /adm/overloaded.txt
  937: ErrorDocument	  500 /adm/errorhandler
  938: </Location>
  939: 
  940: <Location /adm/dropadd>
  941: AuthType LONCAPA
  942: Require valid-user
  943: PerlAuthzHandler       Apache::lonacc
  944: SetHandler perl-script
  945: PerlHandler Apache::londropadd
  946: ErrorDocument     403 /adm/login
  947: ErrorDocument     406 /adm/roles
  948: ErrorDocument	  500 /adm/errorhandler
  949: </Location>
  950: 
  951: <Location /adm/viewclasslist>
  952: AuthType LONCAPA
  953: Require valid-user
  954: PerlAuthzHandler       Apache::lonacc
  955: SetHandler perl-script
  956: PerlHandler Apache::lonviewclasslist
  957: ErrorDocument     403 /adm/login
  958: ErrorDocument     406 /adm/roles
  959: ErrorDocument	  500 /adm/errorhandler
  960: </Location>
  961: 
  962: <Location /adm/coursegroups>
  963: AuthType LONCAPA
  964: Require valid-user
  965: PerlAuthzHandler       Apache::lonacc
  966: SetHandler perl-script
  967: PerlHandler Apache::loncoursegroups
  968: ErrorDocument     403 /adm/login
  969: ErrorDocument     406 /adm/roles
  970: ErrorDocument     500 /adm/errorhandler
  971: </Location>
  972: 
  973: <Location /adm/groupboards>
  974: AuthType LONCAPA
  975: Require valid-user
  976: PerlAuthzHandler       Apache::lonacc
  977: SetHandler perl-script
  978: PerlHandler Apache::groupboards
  979: ErrorDocument     403 /adm/login
  980: ErrorDocument     406 /adm/roles
  981: ErrorDocument     500 /adm/errorhandler
  982: </Location>
  983: 
  984: <Location /adm/grouproster>
  985: AuthType LONCAPA
  986: Require valid-user
  987: PerlAuthzHandler       Apache::lonacc
  988: SetHandler perl-script
  989: PerlHandler Apache::grouproster
  990: ErrorDocument     403 /adm/login
  991: ErrorDocument     406 /adm/roles
  992: ErrorDocument     500 /adm/errorhandler
  993: </Location>
  994: 
  995: <Location /adm/whatsnew>
  996: AuthType LONCAPA
  997: Require valid-user
  998: PerlAuthzHandler       Apache::lonacc
  999: SetHandler perl-script
 1000: PerlHandler Apache::lonwhatsnew
 1001: ErrorDocument     403 /adm/login
 1002: ErrorDocument     406 /adm/roles
 1003: ErrorDocument     500 /adm/errorhandler
 1004: </Location>
 1005: 
 1006: <Location /adm/populate>
 1007: AuthType LONCAPA
 1008: Require valid-user
 1009: PerlAuthzHandler       Apache::lonacc
 1010: SetHandler perl-script
 1011: PerlHandler Apache::lonpopulate
 1012: ErrorDocument     403 /adm/login
 1013: ErrorDocument     406 /adm/roles
 1014: ErrorDocument     500 /adm/errorhandler
 1015: </Location>
 1016: 
 1017: <Location /adm/managekeys>
 1018: AuthType LONCAPA
 1019: Require valid-user
 1020: PerlAuthzHandler       Apache::lonacc
 1021: SetHandler perl-script
 1022: PerlHandler Apache::lonmanagekeys
 1023: ErrorDocument     403 /adm/login
 1024: ErrorDocument     406 /adm/roles
 1025: ErrorDocument	  500 /adm/errorhandler
 1026: </Location>
 1027: 
 1028: <Location /adm/printout>
 1029: AuthType LONCAPA
 1030: Require valid-user
 1031: PerlAuthzHandler       Apache::lonacc
 1032: SetHandler perl-script
 1033: PerlHandler Apache::lonprintout
 1034: ErrorDocument     403 /adm/login
 1035: ErrorDocument     413 /adm/overloaded.txt
 1036: ErrorDocument	  500 /adm/errorhandler
 1037: </Location>
 1038: 
 1039: <Location /adm/feedback>
 1040: AuthType LONCAPA
 1041: Require valid-user
 1042: PerlAuthzHandler       Apache::lonacc
 1043: SetHandler perl-script
 1044: PerlHandler Apache::lonfeedback
 1045: ErrorDocument     403 /adm/login
 1046: ErrorDocument	  500 /adm/errorhandler
 1047: </Location>
 1048: 
 1049: <Location /adm/coursedocs>
 1050: AuthType LONCAPA
 1051: Require valid-user
 1052: PerlAuthzHandler       Apache::lonacc
 1053: SetHandler perl-script
 1054: PerlHandler Apache::londocs
 1055: PerlCleanupHandler Apache::londocs::untiehash
 1056: PerlCleanupHandler	Apache::lonacc::cleanup
 1057: ErrorDocument     403 /adm/login
 1058: ErrorDocument	  500 /adm/errorhandler
 1059: </Location>
 1060: 
 1061: <Location /adm/imsimportdocs>
 1062: AuthType LONCAPA
 1063: Require valid-user
 1064: PerlAuthzHandler       Apache::lonacc
 1065: SetHandler perl-script
 1066: PerlHandler Apache::imsimportdocs
 1067: ErrorDocument     403 /adm/login
 1068: ErrorDocument     500 /adm/errorhandler
 1069: </Location>
 1070: 
 1071: <LocationMatch "^/adm/announcements">
 1072: AuthType LONCAPA
 1073: Require valid-user
 1074: PerlAuthzHandler       Apache::lonacc
 1075: SetHandler perl-script
 1076: PerlHandler Apache::lonannounce
 1077: ErrorDocument     403 /adm/login
 1078: ErrorDocument	  500 /adm/errorhandler
 1079: </LocationMatch>
 1080: 
 1081: <Location /adm/chat>
 1082: AuthType LONCAPA
 1083: Require valid-user
 1084: PerlAuthzHandler       Apache::lonacc
 1085: SetHandler perl-script
 1086: PerlHandler Apache::lonchat
 1087: ErrorDocument	  500 /adm/errorhandler
 1088: </Location>
 1089: 
 1090: <Location /adm/chatfetch>
 1091: AuthType LONCAPA
 1092: Require valid-user
 1093: PerlAuthzHandler       Apache::lonacc
 1094: SetHandler perl-script
 1095: PerlHandler Apache::lonchatfetch
 1096: ErrorDocument     413 /adm/overloaded.txt
 1097: ErrorDocument	  500 /adm/errorhandler
 1098: </Location>
 1099: 
 1100: <Location /adm/groupchat>
 1101: AuthType LONCAPA
 1102: Require valid-user
 1103: PerlAuthzHandler       Apache::lonacc
 1104: SetHandler perl-script
 1105: PerlHandler Apache::longroupchat
 1106: ErrorDocument     403 /adm/login
 1107: ErrorDocument     500 /adm/errorhandler
 1108: </Location>
 1109: 
 1110: <Location /adm/evaluate>
 1111: AuthType LONCAPA
 1112: Require valid-user
 1113: PerlAuthzHandler       Apache::lonacc
 1114: SetHandler perl-script
 1115: PerlHandler Apache::lonevaluate
 1116: ErrorDocument     403 /adm/login
 1117: ErrorDocument	  500 /adm/errorhandler
 1118: </Location>
 1119: 
 1120: <Location /adm/preferences>
 1121: AuthType LONCAPA
 1122: Require valid-user
 1123: PerlAuthzHandler       Apache::lonacc
 1124: SetHandler perl-script
 1125: PerlHandler Apache::lonpreferences
 1126: ErrorDocument     403 /adm/login
 1127: ErrorDocument	  500 /adm/errorhandler
 1128: </Location>
 1129: 
 1130: <Location /adm/communicate>
 1131: AuthType LONCAPA
 1132: Require valid-user
 1133: PerlAuthzHandler       Apache::lonacc
 1134: SetHandler perl-script
 1135: PerlHandler Apache::loncommunicate
 1136: ErrorDocument     403 /adm/login
 1137: ErrorDocument	  500 /adm/errorhandler
 1138: </Location>
 1139: 
 1140: <Location /adm/searchcat>
 1141: AuthType LONCAPA
 1142: Require valid-user
 1143: PerlAuthzHandler       Apache::lonacc
 1144: SetHandler perl-script
 1145: PerlHandler Apache::lonsearchcat
 1146: PerlCleanupHandler Apache::lonsearchcat::cleanup
 1147: PerlCleanupHandler	Apache::lonacc::cleanup
 1148: ErrorDocument     403 /adm/login
 1149: ErrorDocument     413 /adm/overloaded.txt
 1150: ErrorDocument	  500 /adm/errorhandler
 1151: </Location>
 1152: 
 1153: <Location /adm/navmaps>
 1154: AuthType LONCAPA
 1155: Require valid-user
 1156: PerlAuthzHandler       Apache::lonacc
 1157: SetHandler perl-script
 1158: PerlHandler Apache::lonnavdisplay
 1159: ErrorDocument     403 /adm/login
 1160: ErrorDocument     406 /adm/roles
 1161: ErrorDocument	  500 /adm/errorhandler
 1162: </Location>
 1163: 
 1164: <Location /adm/quickgrades>
 1165: AuthType LONCAPA
 1166: Require valid-user
 1167: PerlAuthzHandler       Apache::lonacc
 1168: SetHandler perl-script
 1169: PerlHandler Apache::lonquickgrades
 1170: ErrorDocument     403 /adm/login
 1171: ErrorDocument     406 /adm/roles
 1172: ErrorDocument     500 /adm/errorhandler
 1173: </Location>
 1174: 
 1175: <Location /adm/groupsort>
 1176: AuthType LONCAPA
 1177: Require valid-user
 1178: PerlAuthzHandler	Apache::lonacc
 1179: SetHandler perl-script
 1180: PerlHandler Apache::groupsort
 1181: PerlCleanupHandler Apache::groupsort::cleanup
 1182: PerlCleanupHandler	Apache::lonacc::cleanup
 1183: ErrorDocument     403 /adm/login
 1184: ErrorDocument	  500 /adm/errorhandler
 1185: </Location>
 1186: 
 1187: <Location /adm/errorhandler>
 1188: SetHandler perl-script
 1189: PerlHandler Apache::lonerrorhandler
 1190: </Location>
 1191: 
 1192: <LocationMatch "^/adm/help/.*\.hlp$">
 1193: AuthType LONCAPA
 1194: Require valid-user
 1195: PerlAccessHandler      Apache::publiccheck
 1196: PerlAuthzHandler	Apache::lonacc
 1197: SetHandler perl-script
 1198: PerlHandler Apache::lonhelp
 1199: ErrorDocument	  500 /adm/errorhandler
 1200: </LocationMatch>
 1201: 
 1202: <LocationMatch "^/adm/helpmenu">
 1203: AuthType LONCAPA
 1204: Require valid-user
 1205: PerlAuthzHandler       Apache::lonacc
 1206: SetHandler perl-script
 1207: PerlHandler Apache::lonhelpmenu
 1208: ErrorDocument	  500 /adm/errorhandler
 1209: </LocationMatch>
 1210: 
 1211: <LocationMatch "^/adm/support">
 1212: AuthType LONCAPA
 1213: Require valid-user
 1214: PerlAuthzHandler       Apache::lonacc
 1215: SetHandler perl-script
 1216: PerlHandler Apache::lonsupportreq
 1217: ErrorDocument	  500 /adm/errorhandler
 1218: </LocationMatch>
 1219: 
 1220: <LocationMatch "^/adm/helpdesk">
 1221: SetHandler perl-script
 1222: PerlHandler Apache::lonsupportreq
 1223: ErrorDocument	  500 /adm/errorhandler
 1224: </LocationMatch>
 1225: 
 1226: <LocationMatch "^/adm/css">
 1227: SetHandler perl-script
 1228: PerlHandler Apache::loncss
 1229: ErrorDocument	  500 /adm/errorhandler
 1230: </LocationMatch>
 1231: 
 1232: <LocationMatch "^/adm/coursecatalog">
 1233: SetHandler perl-script
 1234: PerlHandler Apache::coursecatalog
 1235: ErrorDocument	  500 /adm/errorhandler
 1236: </LocationMatch>
 1237: 
 1238: <LocationMatch "^/adm/resetpw">
 1239: SetHandler perl-script
 1240: PerlHandler Apache::resetpw
 1241: ErrorDocument     500 /adm/errorhandler
 1242: </LocationMatch>
 1243: 
 1244: <LocationMatch "^/adm/selfenroll">
 1245: SetHandler perl-script
 1246: PerlHandler Apache::selfenroll
 1247: ErrorDocument     500 /adm/errorhandler
 1248: </LocationMatch>
 1249: 
 1250: <LocationMatch "^/adm/createaccount">
 1251: SetHandler perl-script
 1252: PerlHandler Apache::createaccount
 1253: ErrorDocument     500 /adm/errorhandler
 1254: </LocationMatch>
 1255: 
 1256: <LocationMatch "^/adm/dns">
 1257: SetHandler perl-script
 1258: PerlHandler Apache::londns
 1259: ErrorDocument     500 /adm/errorhandler
 1260: </LocationMatch>
 1261: 
 1262: # ------------------------------------------------- Backdoor Adm Tests/Programs
 1263: 
 1264: <Location /adm/test>
 1265: PerlAccessHandler Apache::lonstatusacc
 1266: SetHandler perl-script
 1267: PerlHandler Apache::lontest
 1268: </Location>
 1269: 
 1270: # ------------------------------------------------------- Shutting down a child
 1271: 
 1272: PerlChildExitHandler Apache::lonacc::goodbye
 1273: 
 1274: #
 1275: # LON-CAPA Section (extensions to access.conf permission configuration)
 1276: #
 1277: # =========================================================== Directory Options
 1278: 
 1279: # Start out with "no"
 1280: 
 1281: <Directory />
 1282: Options None
 1283: AllowOverride None
 1284: order deny,allow
 1285: deny from all
 1286: </Directory>
 1287: 
 1288: # Allow uploaded files to be served
 1289: 
 1290: <Directory "/home/httpd/lonUsers">
 1291: Options Includes FollowSymLinks
 1292: AllowOverride None
 1293: order allow,deny
 1294: allow from all
 1295: </Directory>
 1296:  
 1297: # Allow construction space files to be served
 1298: 
 1299: <Directory "/home/*/public_html/" >
 1300: Options Includes FollowSymLinks
 1301: AllowOverride
 1302: order allow,deny
 1303: allow from all
 1304: </Directory>
 1305: 
 1306: # Yes to symbolic links and server-side includes
 1307: 
 1308: <Directory /home/httpd/html>
 1309: Options Includes FollowSymLinks
 1310: AllowOverride None
 1311: order allow,deny
 1312: allow from all
 1313: </Directory>
 1314: 
 1315: # If it is in cgi-bin, then it can be executed as a CGI script.
 1316: 
 1317: <Directory /home/httpd/cgi-bin>
 1318: AllowOverride None
 1319: Options ExecCGI FollowSymLinks
 1320: order allow,deny
 1321: allow from all
 1322: </Directory>
 1323: 
 1324: # Allow serving of files in prtspool
 1325: 
 1326: <Directory "/home/httpd/prtspool/">
 1327: Options Includes FollowSymLinks
 1328: AllowOverride None
 1329: order allow,deny
 1330: allow from all
 1331: </Directory>
 1332: 
 1333: # Allow serving of files in zipspool
 1334: 
 1335: <Directory "/home/httpd/zipspool/">
 1336: Options Includes FollowSymLinks
 1337: AllowOverride None
 1338: order allow,deny
 1339: allow from all
 1340: </Directory>
 1341: 
 1342: # Allow serving of files in captchaspool
 1343: 
 1344: <Directory "/home/httpd/captchaspool/">
 1345: Options Includes FollowSymLinks
 1346: AllowOverride None
 1347: order allow,deny
 1348: allow from all
 1349: </Directory>
 1350: 
 1351: # ============================================================= Access Handlers
 1352: 
 1353: # ------------------------------------------------- Allow server-status reports
 1354: <Location /server-status>
 1355: PerlAccessHandler Apache::lonstatusacc
 1356: SetHandler server-status
 1357: </Location>
 1358: 
 1359: # ------------------------ Allow LON-CAPA "low-level" connection status reports
 1360: <LocationMatch "^/+lon-status/.*">
 1361: PerlAccessHandler Apache::lonstatusacc
 1362: ErrorDocument     406 /adm/roles
 1363: ErrorDocument     500 /adm/errorhandler
 1364: </LocationMatch>
 1365: 
 1366: # ------------------- Allow access to local system documentation from localhost
 1367: Alias /doc /usr/doc
 1368: <Directory /usr/doc>
 1369: order deny,allow
 1370: deny from all
 1371: allow from localhost
 1372: Options Indexes FollowSymLinks
 1373: </Directory>
 1374: 
 1375: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
 1376: # ====================================== Internal Settings / Perl Configuration
 1377: 
 1378: PerlSetVar	 lonVersion   '<!-- VERSION -->'
 1379: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
 1380: PerlSetVar       lonTabDir    /home/httpd/lonTabs
 1381: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
 1382: PerlSetVar       lonIconsURL  /adm/lonIcons
 1383: PerlSetVar       londPort     5663
 1384: PerlSetVar       lonSysEMail  korte@lite.msu.edu
 1385: PerlSetVar       lonDaemons   /home/httpd/perl
 1386: PerlSetVar       lonLib       /home/httpd/lib
 1387: PerlSetVar       lonSockDir   /home/httpd/sockets
 1388: PerlSetVar       lonSockCreate   /home/httpd/sockets/common
 1389: PerlSetVar       lonDocRoot   /home/httpd/html
 1390: PerlSetVar       lonPrtDir    /home/httpd/prtspool
 1391: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
 1392: PerlSetVar       lonZipDir    /home/httpd/zipspool
 1393: PerlSetVar       lonCaptchaDir     /home/httpd/captchaspool
 1394: PerlSetVar       lonCaptchaDb     /home/httpd/captchadb 
 1395: PerlSetVar       lonFontsDir     /home/httpd/html/adm/fonts
 1396: # & separated list of : separated fields in order of
 1397: # - internal name to call it, 
 1398: # - regexp that it should match (done case-insensitively)
 1399: # - regexp that is should not match (done case-insensitively)
 1400: # - regexp that will pull out the version number into $1
 1401: # - a number that describes the minimum version that has mathml support
 1402: # - a number that describes the minimum number version that has unicode support
 1403: 
 1404: 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
 1405: 
 1406: PerlSetVar       lonTextBrowsers windows\s+ce:lynx
 1407: PerlSetVar       lonScansDir  /home/httpd/scantron
 1408: PerlSetVar       lonScriptTimeout 10
 1409: PerlSetVar	 BugzillaHost	http://bugs.lon-capa.org/
 1410: PerlSetVar	 FAQHost	http://help.lon-capa.org/
 1411: # -----------------------------------------------------------------------------
 1412: # NOTE: lonSqlAccess key is the password for the MySQL user
 1413: # www@localhost.  This value must always be "localhostkey".
 1414: # The only security risk occurs when somebody logs in as 'www' on your system
 1415: # (in which case you have much bigger problems than whether or not they
 1416: # can access the non-authoritative loncapa database on your machine).
 1417: 
 1418: PerlSetVar       lonSqlAccess   localhostkey
 1419: 
 1420: #----------------------------------------------------------------------------
 1421: #
 1422: #   Parameters used by secure lond/lonc
 1423: 
 1424: #
 1425: #   Secure lond/lonc require ssl certificate and private
 1426: #   key files to function correctly.  The certificate
 1427: #   files need not be terribly secure, but the private key files
 1428: #   should be set up so that only www (the lonc/lond effective user)
 1429: #   can read them.
 1430: # 
 1431: #   The definition below is the full path to the directory that
 1432: #   contains the certificate and key files:
 1433: 
 1434: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
 1435: 
 1436: #
 1437: #  Secure lond/lonc require two certificates and a private host key.
 1438: #  The certificates required are that of the lonCAPA certificate authority
 1439: #  and the certificate that authority issued to this host.
 1440: #  lonnetCertificateAuthority is the name of the file that contains the
 1441: #                            lonCAPA certificate authority's certificate.
 1442: #  lonnetCertificate is the name of the file that contains the certificate
 1443: #                    issued to the host by the certificate authority.
 1444: #  Both of these variables are names of files assumed to be in 
 1445: #  lonCertificateDirectory:
 1446: 
 1447: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
 1448: PerlSetVar lonnetCertificate          lonhostcert.pem
 1449: 
 1450: #
 1451: #  To generate the request for a certificate, and to negotiate the
 1452: #  initial ssl connection, the host requires a private key.  This key
 1453: #  is created at lonCAPA install time.  Did we mention above that it
 1454: #  should be set so that only www can read it?  The variale below
 1455: #  is the name of the file relative to lonnetCertificateDirectory
 1456: #  that has the host's private key.  Did we remember to tell you to
 1457: #  keep the permissions on that file set to rw-------  (0600)?
 1458: #  
 1459: 
 1460: PerlSetVar lonnetPrivateKey         lonKey.pem
 1461: 
 1462: # Did we mention that the file described above must have
 1463: # permissions really locked down so that it can't be stolen?
 1464: 
 1465: #-------------------------------------------------------------------------
 1466: 
 1467: #   Parameters that define where all the ssl stuff is that's needed
 1468: #   to generate certificate requests and, on a system that's a CA
 1469: #   the certificate authority.
 1470: #    
 1471: #    SSLProgram    -> Path to the openssl command
 1472: #    SSLDirectory  -> Directory containing ssl configuration files etc.
 1473: #    SSLCAConfig   -> Name of the SSL config file for the certificate 
 1474: #                     Authority.
 1475: #    SSLCAFile     -> Full path to the Certificate authority file 
 1476: #                    (on the cert manager system).
 1477: #    SSLEmail      -> E-mail address of loncapa certificate manager.
 1478: #    The following are good for the loncapa redhat installs and
 1479: #    the loncapa certificate authority system:
 1480: #
 1481: PerlSetVar SSLProgram	/usr/bin/openssl
 1482: PerlSetVar SSLDirectory /usr/share/ssl
 1483: PerlSetVar SSLCAConfig  loncapaca
 1484: PerlSetVar SSLCAFile    /usr/share/ssl/loncapaca/cacert.pem
 1485: PerlSetVar SSLEmail     certificate@lon-capa.org
 1486: 
 1487: #-------------------------------------------------------------------------
 1488: 
 1489: 
 1490: 
 1491: 
 1492: # ====================================== Include machine-specific configuration
 1493: 
 1494: Include conf/loncapa.conf
 1495: 
 1496: # ================================================= Include local configuration
 1497: 
 1498: Include conf/loncapa_apache_local*.conf
 1499: 
 1500: # ================================================== Initiate mod_perl starting
 1501: 
 1502: PerlRequire      conf/startup.pl
 1503: <IfDefine !MODPERL2>
 1504: PerlFreshRestart On
 1505: </IfDefine>

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