File:  [LON-CAPA] / loncom / loncapa_apache.conf
Revision 1.263: download - view: text, annotated - select for diffs
Wed Jul 18 13:44:55 2018 UTC (5 years, 9 months ago) by raeburn
Branches: MAIN
CVS tags: HEAD
- Add nightly update of Certificate Revocation List (from CA) to loncron.

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

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