File:  [LON-CAPA] / loncom / loncapa_apache.conf
Revision 1.215.2.30.2.5: download - view: text, annotated - select for diffs
Thu Sep 7 19:36:15 2023 UTC (13 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.280

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

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