File:  [LON-CAPA] / loncom / loncapa_apache.conf
Revision 1.215.2.30.2.6: download - view: text, annotated - select for diffs
Fri Dec 29 20:23:53 2023 UTC (4 months, 4 weeks ago) by raeburn
Branches: version_2_11_4_msu
Diff to branchpoint 1.215.2.30: preferred, unified
- For 2.11.4 (modified)
  Include changes in 1.285

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

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