File:  [LON-CAPA] / loncom / loncapa_apache.conf
Revision 1.210: download - view: text, annotated - select for diffs
Mon Feb 27 03:06:37 2012 UTC (12 years, 8 months ago) by raeburn
Branches: MAIN
CVS tags: HEAD
- Bug 6034.
  - webDAV access to Authoring Spaces.
  - requires prior migration of Authoring Spaces from /home/<user>/public_html
    to /home/httpd/html/priv/<domain>/<user>
  - Work in progress.

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

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