File:  [LON-CAPA] / loncom / loncapa_apache.conf
Revision 1.200: download - view: text, annotated - select for diffs
Mon Jan 17 20:17:58 2011 UTC (13 years, 4 months ago) by www
Branches: MAIN
CVS tags: HEAD
"Search Course" was only inside of searchcat because the Remote did not
have enough buttons.

Separate the two, incorporate content search under "Content"

Declutter lonsearchcat a little bit before necessary major cleanup.

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

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