File:  [LON-CAPA] / loncom / loncapa_apache.conf
Revision 1.258: download - view: text, annotated - select for diffs
Thu Nov 30 15:14:58 2017 UTC (6 years, 5 months ago) by raeburn
Branches: MAIN
CVS tags: HEAD
- Bug 6754 LTI Integration: LON-CAPA as LTI Provider
  - Work in progress

    1: ##
    2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
    3: ##
    4: 
    5: # $Id: loncapa_apache.conf,v 1.258 2017/11/30 15:14:58 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::lonlti
  759: </LocationMatch>
  760: 
  761: <Location /adm/restrictedaccess>
  762: PerlAccessHandler      Apache::publiccheck
  763: AuthType LONCAPA
  764: Require valid-user
  765: PerlAuthzHandler       Apache::lonacc
  766: SetHandler perl-script
  767: PerlHandler Apache::restrictedaccess
  768: ErrorDocument	  500 /adm/errorhandler
  769: </Location>
  770: 
  771: <Location /adm/blockedaccess>
  772: PerlAccessHandler      Apache::publiccheck
  773: AuthType LONCAPA
  774: Require valid-user
  775: PerlAuthzHandler       Apache::lonacc
  776: SetHandler perl-script
  777: PerlHandler Apache::blockedaccess
  778: ErrorDocument     500 /adm/errorhandler
  779: </Location>
  780: 
  781: <Location /adm/logout>
  782: AuthType LONCAPA
  783: Require valid-user
  784: PerlAuthzHandler       Apache::lonacc
  785: SetHandler perl-script
  786: PerlHandler Apache::lonlogout
  787: ErrorDocument     403 /adm/login
  788: ErrorDocument     409 /adm/preferences?action=lockwarning
  789: ErrorDocument	  500 /adm/errorhandler
  790: </Location>
  791: 
  792: <Location /adm/switchserver>
  793: AuthType LONCAPA
  794: Require valid-user
  795: PerlAuthzHandler       Apache::lonacc
  796: SetHandler perl-script
  797: PerlHandler Apache::switchserver
  798: ErrorDocument     403 /adm/login
  799: ErrorDocument	  500 /adm/errorhandler
  800: </Location>
  801: 
  802: <Location /adm/authenticate>
  803: SetHandler perl-script
  804: PerlHandler Apache::lonauth
  805: </Location>
  806: 
  807: <Location /adm/migrateuser>
  808: SetHandler perl-script
  809: PerlHandler Apache::migrateuser
  810: </Location>
  811: 
  812: <Location /adm/sso>
  813:   <IfModule mod_shib>
  814:     AuthType shibboleth
  815:     ShibUseEnvironment On
  816:     ShibRequestSetting requireSession 1
  817:     ShibRequestSetting redirectToSSL 443
  818:     require valid-user
  819:     PerlAuthzHandler       Apache::lonshibacc
  820:     PerlAuthzHandler       Apache::lonacc
  821:   </IfModule>
  822:   <IfModule !mod_shib>
  823:     PerlTypeHandler        Apache::lonnoshib
  824:   </IfModule>
  825: </Location>
  826: 
  827: <Location /adm/annotations>
  828: AuthType LONCAPA
  829: Require valid-user
  830: PerlAuthzHandler       Apache::lonacc
  831: SetHandler perl-script
  832: PerlHandler Apache::admannotations
  833: ErrorDocument     403 /adm/login
  834: ErrorDocument	  500 /adm/errorhandler
  835: </Location>
  836: 
  837: <Location /adm/spellcheck>
  838: AuthType LONCAPA
  839: Require valid-user
  840: PerlAuthzHandler       Apache::lonacc
  841: SetHandler perl-script
  842: PerlHandler Apache::lonspeller
  843: ErrorDocument     403 /adm/login
  844: ErrorDocument	  500 /adm/errorhandler
  845: </Location>
  846: 
  847: <Location /adm/flip>
  848: AuthType LONCAPA
  849: Require valid-user
  850: PerlAuthzHandler       Apache::lonacc
  851: SetHandler perl-script
  852: PerlHandler Apache::lonpageflip
  853: PerlCleanupHandler Apache::lonpageflip::cleanup
  854: PerlCleanupHandler	Apache::lonacc::cleanup
  855: ErrorDocument     406 /adm/roles
  856: ErrorDocument     403 /adm/login
  857: ErrorDocument	  500 /adm/errorhandler
  858: </Location>
  859: 
  860: <Location /adm/ambiguous>
  861: AuthType LONCAPA
  862: Require valid-user
  863: PerlAuthzHandler       Apache::lonacc
  864: SetHandler perl-script
  865: PerlHandler Apache::lonambiguous
  866: PerlCleanupHandler Apache::lonambiguous::cleanup
  867: PerlCleanupHandler	Apache::lonacc::cleanup
  868: ErrorDocument     403 /adm/login
  869: ErrorDocument	  500 /adm/errorhandler
  870: </Location>
  871: 
  872: <Location /adm/email>
  873: AuthType LONCAPA
  874: Require valid-user
  875: PerlAuthzHandler       Apache::lonacc
  876: SetHandler perl-script
  877: PerlHandler Apache::lonmsgdisplay
  878: ErrorDocument     403 /adm/login
  879: ErrorDocument	  500 /adm/errorhandler
  880: </Location>
  881: 
  882: <Location /adm/notify>
  883: AuthType LONCAPA
  884: Require valid-user
  885: PerlAuthzHandler       Apache::lonacc
  886: SetHandler perl-script
  887: PerlHandler Apache::lonnotify
  888: ErrorDocument     403 /adm/login
  889: ErrorDocument     500 /adm/errorhandler
  890: </Location>
  891: 
  892: <Location /adm/parmset>
  893: AuthType LONCAPA
  894: Require valid-user
  895: PerlAuthzHandler       Apache::lonacc
  896: SetHandler perl-script
  897: PerlHandler Apache::lonparmset
  898: ErrorDocument     403 /adm/login
  899: ErrorDocument     406 /adm/roles
  900: ErrorDocument	  500 /adm/errorhandler
  901: </Location>
  902: 
  903: <Location /adm/courseprefs>
  904: AuthType LONCAPA
  905: Require valid-user
  906: PerlAuthzHandler       Apache::lonacc
  907: SetHandler perl-script
  908: PerlHandler Apache::courseprefs
  909: ErrorDocument     403 /adm/login
  910: ErrorDocument     406 /adm/roles
  911: ErrorDocument     500 /adm/errorhandler
  912: </Location>
  913: 
  914: <Location /adm/slotrequest>
  915: AuthType LONCAPA
  916: Require valid-user
  917: PerlAuthzHandler       Apache::lonacc
  918: SetHandler perl-script
  919: PerlHandler Apache::slotrequest
  920: ErrorDocument     403 /adm/login
  921: ErrorDocument     406 /adm/roles
  922: ErrorDocument	  500 /adm/errorhandler
  923: </Location>
  924: 
  925: <Location /adm/wizard>
  926: AuthType LONCAPA
  927: Require valid-user
  928: PerlAuthzHandler       Apache::lonacc
  929: SetHandler perl-script
  930: PerlHandler Apache::lonwizard
  931: ErrorDocument     403 /adm/login
  932: ErrorDocument     406 /adm/roles
  933: ErrorDocument	  500 /adm/errorhandler
  934: </Location>
  935: 
  936: <Location /adm/grades>
  937: AuthType LONCAPA
  938: Require valid-user
  939: PerlAuthzHandler       Apache::lonacc
  940: SetHandler perl-script
  941: PerlHandler Apache::grades
  942: ErrorDocument     403 /adm/login
  943: ErrorDocument     406 /adm/roles
  944: ErrorDocument	  500 /adm/errorhandler
  945: </Location>
  946: 
  947: <Location /adm/requestcourse>
  948: AuthType LONCAPA
  949: Require valid-user
  950: PerlAuthzHandler       Apache::lonacc
  951: SetHandler perl-script
  952: PerlHandler Apache::lonrequestcourse
  953: ErrorDocument     403 /adm/login
  954: ErrorDocument     406 /adm/roles
  955: ErrorDocument     500 /adm/errorhandler
  956: </Location>
  957: 
  958: <Location /adm/createcourse>
  959: AuthType LONCAPA
  960: Require valid-user
  961: PerlAuthzHandler       Apache::lonacc
  962: SetHandler perl-script
  963: PerlHandler Apache::loncreatecourse
  964: ErrorDocument     403 /adm/login
  965: ErrorDocument     406 /adm/roles
  966: ErrorDocument	  500 /adm/errorhandler
  967: </Location>
  968: 
  969: <Location /adm/modifycourse>
  970: AuthType LONCAPA
  971: Require valid-user
  972: PerlAuthzHandler       Apache::lonacc
  973: SetHandler perl-script
  974: PerlHandler Apache::lonmodifycourse
  975: ErrorDocument     403 /adm/login
  976: ErrorDocument     406 /adm/roles
  977: ErrorDocument     500 /adm/errorhandler
  978: </Location>
  979: 
  980: <Location /adm/domainprefs>
  981: AuthType LONCAPA
  982: Require valid-user
  983: PerlAuthzHandler       Apache::lonacc
  984: SetHandler perl-script
  985: PerlHandler Apache::domainprefs
  986: ErrorDocument     403 /adm/login
  987: ErrorDocument     406 /adm/roles
  988: ErrorDocument     500 /adm/errorhandler
  989: </Location>
  990: 
  991: <Location /adm/domainstatus>
  992: PerlAccessHandler       Apache::lonstatusacc
  993: SetHandler perl-script
  994: PerlHandler Apache::domainstatus
  995: ErrorDocument     403 /adm/login
  996: ErrorDocument     406 /adm/roles
  997: ErrorDocument     500 /adm/errorhandler
  998: </Location>
  999: 
 1000: <Location /adm/createuser>
 1001: AuthType LONCAPA
 1002: Require valid-user
 1003: PerlAuthzHandler       Apache::lonacc
 1004: SetHandler perl-script
 1005: PerlHandler Apache::loncreateuser
 1006: ErrorDocument     403 /adm/login
 1007: ErrorDocument     406 /adm/roles
 1008: ErrorDocument	  500 /adm/errorhandler
 1009: </Location>
 1010: 
 1011: <Location /adm/publish>
 1012: AuthType LONCAPA
 1013: Require valid-user
 1014: PerlAuthzHandler       Apache::lonacc
 1015: SetHandler perl-script
 1016: PerlHandler Apache::lonpublisher
 1017: ErrorDocument     403 /adm/login
 1018: ErrorDocument     404 /adm/notfound.html
 1019: ErrorDocument     406 /adm/unauthorized
 1020: ErrorDocument	  500 /adm/errorhandler
 1021: </Location>
 1022: 
 1023: <LocationMatch "^/+priv/.*/$">
 1024: AuthType LONCAPA
 1025: Require valid-user
 1026: PerlAuthzHandler       Apache::loncacc
 1027: SetHandler perl-script
 1028: PerlHandler Apache::lonpubdir
 1029: ErrorDocument     403 /adm/login
 1030: ErrorDocument     404 /adm/notfound.html
 1031: ErrorDocument     406 /adm/unauthorized
 1032: ErrorDocument	  500 /adm/errorhandler
 1033: </LocationMatch>
 1034: 
 1035: <Location /adm/unauthorized>
 1036: AuthType LONCAPA
 1037: Require valid-user
 1038: PerlAuthzHandler       Apache::lonacc
 1039: SetHandler perl-script
 1040: PerlHandler Apache::lonunauthorized
 1041: ErrorDocument     403 /adm/login
 1042: ErrorDocument     404 /adm/notfound.html
 1043: ErrorDocument	  500 /adm/errorhandler
 1044: </Location>
 1045: 
 1046: <Location /adm/retrieve>
 1047: AuthType LONCAPA
 1048: Require valid-user
 1049: PerlAuthzHandler       Apache::lonacc
 1050: SetHandler perl-script
 1051: PerlHandler Apache::lonretrieve
 1052: ErrorDocument     403 /adm/login
 1053: ErrorDocument     404 /adm/notfound.html
 1054: ErrorDocument     406 /adm/unauthorized
 1055: ErrorDocument	  500 /adm/errorhandler
 1056: </Location>
 1057: 
 1058: <Location /adm/cleanup>
 1059: AuthType LONCAPA
 1060: Require valid-user
 1061: PerlAuthzHandler       Apache::lonacc
 1062: SetHandler perl-script
 1063: PerlHandler Apache::loncleanup
 1064: ErrorDocument     403 /adm/login
 1065: ErrorDocument     404 /adm/notfound.html
 1066: ErrorDocument     406 /adm/unauthorized
 1067: ErrorDocument	  500 /adm/errorhandler
 1068: </Location>
 1069: 
 1070: <Location /adm/cfile>
 1071: AuthType LONCAPA
 1072: Require valid-user
 1073: PerlAuthzHandler       Apache::lonacc
 1074: SetHandler perl-script
 1075: PerlHandler Apache::loncfile
 1076: ErrorDocument     403 /adm/login
 1077: ErrorDocument     404 /adm/notfound.html
 1078: ErrorDocument     406 /adm/unauthorized
 1079: ErrorDocument	  500 /adm/errorhandler
 1080: </Location>
 1081: 
 1082: <Location /adm/diff>
 1083: AuthType LONCAPA
 1084: Require valid-user
 1085: PerlAuthzHandler       Apache::lonacc
 1086: SetHandler perl-script
 1087: PerlHandler Apache::londiff
 1088: ErrorDocument     403 /adm/login
 1089: ErrorDocument     404 /adm/notfound.html
 1090: ErrorDocument     406 /adm/unauthorized
 1091: ErrorDocument	  500 /adm/errorhandler
 1092: </Location>
 1093: 
 1094: <Location /adm/upload>
 1095: AuthType LONCAPA
 1096: Require valid-user
 1097: PerlAuthzHandler       Apache::lonacc
 1098: SetHandler perl-script
 1099: PerlHandler Apache::lonupload
 1100: ErrorDocument     403 /adm/login
 1101: ErrorDocument     404 /adm/notfound.html
 1102: ErrorDocument     406 /adm/unauthorized
 1103: ErrorDocument	  500 /adm/errorhandler
 1104: </Location>
 1105: 
 1106: <Location /adm/imsimport>
 1107: AuthType LONCAPA
 1108: Require valid-user
 1109: PerlAuthzHandler       Apache::lonacc
 1110: SetHandler perl-script
 1111: PerlHandler Apache::imsimport
 1112: ErrorDocument     403 /adm/login
 1113: ErrorDocument     404 /adm/notfound.html
 1114: ErrorDocument     406 /adm/unauthorized
 1115: ErrorDocument     500 /adm/errorhandler
 1116: </Location>
 1117: 
 1118: <Location /adm/testbank>
 1119: AuthType LONCAPA
 1120: Require valid-user
 1121: PerlAuthzHandler       Apache::lonacc
 1122: SetHandler perl-script
 1123: PerlHandler Apache::testbankimport
 1124: ErrorDocument     403 /adm/login
 1125: ErrorDocument     404 /adm/notfound.html
 1126: ErrorDocument     406 /adm/unauthorized
 1127: ErrorDocument     500 /adm/errorhandler
 1128: </Location>
 1129: 
 1130: <Location /adm/assesscalc>
 1131: AuthType LONCAPA
 1132: Require valid-user
 1133: PerlAuthzHandler       Apache::lonacc
 1134: SetHandler perl-script
 1135: PerlHandler Apache::lonspreadsheet
 1136: ErrorDocument     403 /adm/login
 1137: ErrorDocument     406 /adm/roles
 1138: ErrorDocument     413 /adm/overloaded.txt
 1139: ErrorDocument	  500 /adm/errorhandler
 1140: </Location>
 1141: 
 1142: <Location /adm/studentcalc>
 1143: AuthType LONCAPA
 1144: Require valid-user
 1145: PerlAuthzHandler       Apache::lonacc
 1146: SetHandler perl-script
 1147: PerlHandler Apache::lonspreadsheet
 1148: ErrorDocument     403 /adm/login
 1149: ErrorDocument     406 /adm/roles
 1150: ErrorDocument     413 /adm/overloaded.txt
 1151: ErrorDocument	  500 /adm/errorhandler
 1152: </Location>
 1153: 
 1154: <Location /adm/classcalc>
 1155: AuthType LONCAPA
 1156: Require valid-user
 1157: PerlAuthzHandler       Apache::lonacc
 1158: SetHandler perl-script
 1159: PerlHandler Apache::lonspreadsheet
 1160: ErrorDocument     403 /adm/login
 1161: ErrorDocument     406 /adm/roles
 1162: ErrorDocument     413 /adm/overloaded.txt
 1163: ErrorDocument	  500 /adm/errorhandler
 1164: </Location>
 1165: 
 1166: <Location /adm/dropadd>
 1167: AuthType LONCAPA
 1168: Require valid-user
 1169: PerlAuthzHandler       Apache::lonacc
 1170: SetHandler perl-script
 1171: PerlHandler Apache::londropadd
 1172: ErrorDocument     403 /adm/login
 1173: ErrorDocument     406 /adm/roles
 1174: ErrorDocument	  500 /adm/errorhandler
 1175: </Location>
 1176: 
 1177: <Location /adm/viewclasslist>
 1178: AuthType LONCAPA
 1179: Require valid-user
 1180: PerlAuthzHandler       Apache::lonacc
 1181: SetHandler perl-script
 1182: PerlHandler Apache::lonviewclasslist
 1183: ErrorDocument     403 /adm/login
 1184: ErrorDocument     406 /adm/roles
 1185: ErrorDocument	  500 /adm/errorhandler
 1186: </Location>
 1187: 
 1188: <Location /adm/coursegroups>
 1189: AuthType LONCAPA
 1190: Require valid-user
 1191: PerlAuthzHandler       Apache::lonacc
 1192: SetHandler perl-script
 1193: PerlHandler Apache::loncoursegroups
 1194: ErrorDocument     403 /adm/login
 1195: ErrorDocument     406 /adm/roles
 1196: ErrorDocument     500 /adm/errorhandler
 1197: </Location>
 1198: 
 1199: <Location /adm/groupboards>
 1200: AuthType LONCAPA
 1201: Require valid-user
 1202: PerlAuthzHandler       Apache::lonacc
 1203: SetHandler perl-script
 1204: PerlHandler Apache::groupboards
 1205: ErrorDocument     403 /adm/login
 1206: ErrorDocument     406 /adm/roles
 1207: ErrorDocument     500 /adm/errorhandler
 1208: </Location>
 1209: 
 1210: <Location /adm/grouproster>
 1211: AuthType LONCAPA
 1212: Require valid-user
 1213: PerlAuthzHandler       Apache::lonacc
 1214: SetHandler perl-script
 1215: PerlHandler Apache::grouproster
 1216: ErrorDocument     403 /adm/login
 1217: ErrorDocument     406 /adm/roles
 1218: ErrorDocument     500 /adm/errorhandler
 1219: </Location>
 1220: 
 1221: <Location /adm/whatsnew>
 1222: AuthType LONCAPA
 1223: Require valid-user
 1224: PerlAuthzHandler       Apache::lonacc
 1225: SetHandler perl-script
 1226: PerlHandler Apache::lonwhatsnew
 1227: ErrorDocument     403 /adm/login
 1228: ErrorDocument     406 /adm/roles
 1229: ErrorDocument     500 /adm/errorhandler
 1230: </Location>
 1231: 
 1232: <Location /adm/populate>
 1233: AuthType LONCAPA
 1234: Require valid-user
 1235: PerlAuthzHandler       Apache::lonacc
 1236: SetHandler perl-script
 1237: PerlHandler Apache::lonpopulate
 1238: ErrorDocument     403 /adm/login
 1239: ErrorDocument     406 /adm/roles
 1240: ErrorDocument     500 /adm/errorhandler
 1241: </Location>
 1242: 
 1243: <Location /adm/managekeys>
 1244: AuthType LONCAPA
 1245: Require valid-user
 1246: PerlAuthzHandler       Apache::lonacc
 1247: SetHandler perl-script
 1248: PerlHandler Apache::lonmanagekeys
 1249: ErrorDocument     403 /adm/login
 1250: ErrorDocument     406 /adm/roles
 1251: ErrorDocument	  500 /adm/errorhandler
 1252: </Location>
 1253: 
 1254: <Location /adm/printout>
 1255: AuthType LONCAPA
 1256: Require valid-user
 1257: PerlAuthzHandler       Apache::lonacc
 1258: SetHandler perl-script
 1259: PerlHandler Apache::lonprintout
 1260: ErrorDocument     403 /adm/login
 1261: ErrorDocument     413 /adm/overloaded.txt
 1262: ErrorDocument	  500 /adm/errorhandler
 1263: </Location>
 1264: 
 1265: <Location /adm/feedback>
 1266: AuthType LONCAPA
 1267: Require valid-user
 1268: PerlAuthzHandler       Apache::lonacc
 1269: SetHandler perl-script
 1270: PerlHandler Apache::lonfeedback
 1271: ErrorDocument     403 /adm/login
 1272: ErrorDocument	  500 /adm/errorhandler
 1273: </Location>
 1274: 
 1275: <Location /adm/coursedocs>
 1276: AuthType LONCAPA
 1277: Require valid-user
 1278: PerlAuthzHandler       Apache::lonacc
 1279: SetHandler perl-script
 1280: PerlHandler Apache::londocs
 1281: PerlCleanupHandler Apache::londocs::untiehash
 1282: PerlCleanupHandler	Apache::lonacc::cleanup
 1283: ErrorDocument     403 /adm/login
 1284: ErrorDocument	  500 /adm/errorhandler
 1285: </Location>
 1286: 
 1287: <Location /adm/supplemental>
 1288: AuthType LONCAPA
 1289: Require valid-user
 1290: PerlAuthzHandler       Apache::lonacc
 1291: SetHandler perl-script
 1292: PerlHandler Apache::londocs
 1293: PerlCleanupHandler Apache::londocs::untiehash
 1294: PerlCleanupHandler      Apache::lonacc::cleanup
 1295: ErrorDocument     403 /adm/login
 1296: ErrorDocument     500 /adm/errorhandler
 1297: </Location>
 1298: 
 1299: <Location /adm/imsimportdocs>
 1300: AuthType LONCAPA
 1301: Require valid-user
 1302: PerlAuthzHandler       Apache::lonacc
 1303: SetHandler perl-script
 1304: PerlHandler Apache::imsimportdocs
 1305: ErrorDocument     403 /adm/login
 1306: ErrorDocument     500 /adm/errorhandler
 1307: </Location>
 1308: 
 1309: <Location /adm/extresedit>
 1310: AuthType LONCAPA
 1311: Require valid-user
 1312: PerlAuthzHandler       Apache::lonacc
 1313: SetHandler perl-script
 1314: PerlHandler Apache::lonextresedit
 1315: ErrorDocument     403 /adm/login
 1316: ErrorDocument     500 /adm/errorhandler
 1317: </Location>
 1318: 
 1319: <LocationMatch "^/adm/announcements">
 1320: AuthType LONCAPA
 1321: Require valid-user
 1322: PerlAuthzHandler       Apache::lonacc
 1323: SetHandler perl-script
 1324: PerlHandler Apache::lonannounce
 1325: ErrorDocument     403 /adm/login
 1326: ErrorDocument	  500 /adm/errorhandler
 1327: </LocationMatch>
 1328: 
 1329: <Location /adm/chat>
 1330: AuthType LONCAPA
 1331: Require valid-user
 1332: PerlAuthzHandler       Apache::lonacc
 1333: SetHandler perl-script
 1334: PerlHandler Apache::lonchat
 1335: ErrorDocument	  500 /adm/errorhandler
 1336: </Location>
 1337: 
 1338: <Location /adm/chatfetch>
 1339: AuthType LONCAPA
 1340: Require valid-user
 1341: PerlAuthzHandler       Apache::lonacc
 1342: SetHandler perl-script
 1343: PerlHandler Apache::lonchatfetch
 1344: ErrorDocument     413 /adm/overloaded.txt
 1345: ErrorDocument	  500 /adm/errorhandler
 1346: </Location>
 1347: 
 1348: <Location /adm/groupchat>
 1349: AuthType LONCAPA
 1350: Require valid-user
 1351: PerlAuthzHandler       Apache::lonacc
 1352: SetHandler perl-script
 1353: PerlHandler Apache::longroupchat
 1354: ErrorDocument     403 /adm/login
 1355: ErrorDocument     500 /adm/errorhandler
 1356: </Location>
 1357: 
 1358: <Location /adm/evaluate>
 1359: AuthType LONCAPA
 1360: Require valid-user
 1361: PerlAuthzHandler       Apache::lonacc
 1362: SetHandler perl-script
 1363: PerlHandler Apache::lonevaluate
 1364: ErrorDocument     403 /adm/login
 1365: ErrorDocument	  500 /adm/errorhandler
 1366: </Location>
 1367: 
 1368: <Location /adm/preferences>
 1369: AuthType LONCAPA
 1370: Require valid-user
 1371: PerlAuthzHandler       Apache::lonacc
 1372: SetHandler perl-script
 1373: PerlHandler Apache::lonpreferences
 1374: ErrorDocument     403 /adm/login
 1375: ErrorDocument	  500 /adm/errorhandler
 1376: </Location>
 1377: 
 1378: <Location /adm/communicate>
 1379: AuthType LONCAPA
 1380: Require valid-user
 1381: PerlAuthzHandler       Apache::lonacc
 1382: SetHandler perl-script
 1383: PerlHandler Apache::loncommunicate
 1384: ErrorDocument     403 /adm/login
 1385: ErrorDocument	  500 /adm/errorhandler
 1386: </Location>
 1387: 
 1388: <Location /adm/searchcat>
 1389: AuthType LONCAPA
 1390: Require valid-user
 1391: PerlAuthzHandler       Apache::lonacc
 1392: SetHandler perl-script
 1393: PerlHandler Apache::lonsearchcat
 1394: PerlCleanupHandler Apache::lonsearchcat::cleanup
 1395: PerlCleanupHandler	Apache::lonacc::cleanup
 1396: ErrorDocument     403 /adm/login
 1397: ErrorDocument     413 /adm/overloaded.txt
 1398: ErrorDocument	  500 /adm/errorhandler
 1399: </Location>
 1400: 
 1401: <Location /adm/navmaps>
 1402: AuthType LONCAPA
 1403: Require valid-user
 1404: PerlAuthzHandler       Apache::lonacc
 1405: SetHandler perl-script
 1406: PerlHandler Apache::lonnavdisplay
 1407: ErrorDocument     403 /adm/login
 1408: ErrorDocument     406 /adm/roles
 1409: ErrorDocument	  500 /adm/errorhandler
 1410: </Location>
 1411: 
 1412: <Location /adm/quickgrades>
 1413: AuthType LONCAPA
 1414: Require valid-user
 1415: PerlAuthzHandler       Apache::lonacc
 1416: SetHandler perl-script
 1417: PerlHandler Apache::lonquickgrades
 1418: ErrorDocument     403 /adm/login
 1419: ErrorDocument     406 /adm/roles
 1420: ErrorDocument     500 /adm/errorhandler
 1421: </Location>
 1422: 
 1423: <Location /adm/groupsort>
 1424: AuthType LONCAPA
 1425: Require valid-user
 1426: PerlAuthzHandler	Apache::lonacc
 1427: SetHandler perl-script
 1428: PerlHandler Apache::groupsort
 1429: PerlCleanupHandler Apache::groupsort::cleanup
 1430: PerlCleanupHandler	Apache::lonacc::cleanup
 1431: ErrorDocument     403 /adm/login
 1432: ErrorDocument     406 /adm/roles
 1433: ErrorDocument	  500 /adm/errorhandler
 1434: </Location>
 1435: 
 1436: <Location /adm/wishlist>
 1437: AuthType LONCAPA
 1438: Require valid-user
 1439: PerlAuthzHandler       Apache::lonacc
 1440: SetHandler perl-script
 1441: PerlHandler Apache::lonwishlistdisplay
 1442: ErrorDocument     403 /adm/login
 1443: ErrorDocument     406 /adm/roles
 1444: ErrorDocument	  500 /adm/errorhandler
 1445: </Location>
 1446: 
 1447: <Location /adm/setblock>
 1448: AuthType LONCAPA
 1449: Require valid-user
 1450: PerlAuthzHandler       Apache::lonacc
 1451: SetHandler             perl-script
 1452: PerlHandler            Apache::lonblockingmenu
 1453: ErrorDocument     403 /adm/login
 1454: ErrorDocument     406 /adm/roles
 1455: ErrorDocument     500 /adm/errorhandler
 1456: </Location>
 1457: 
 1458: <Location /adm/blockingstatus>
 1459: PerlAccessHandler      Apache::publiccheck
 1460: AuthType LONCAPA
 1461: Require valid-user
 1462: PerlAuthzHandler       Apache::lonacc
 1463: SetHandler             perl-script
 1464: PerlHandler            Apache::lonblockingstatus
 1465: </Location>
 1466: 
 1467: <Location /adm/accesstimes>
 1468: AuthType LONCAPA
 1469: Require valid-user
 1470: PerlAuthzHandler       Apache::lonacc
 1471: SetHandler             perl-script
 1472: PerlHandler            Apache::lonaccesstimes
 1473: ErrorDocument     403 /adm/login
 1474: ErrorDocument     406 /adm/roles
 1475: ErrorDocument     500 /adm/errorhandler
 1476: </Location>
 1477: 
 1478: <Location /adm/errorhandler>
 1479: SetHandler perl-script
 1480: PerlHandler Apache::lonerrorhandler
 1481: </Location>
 1482: 
 1483: <LocationMatch "^/adm/help/.*\.hlp$">
 1484: AuthType LONCAPA
 1485: Require valid-user
 1486: PerlAccessHandler      Apache::publiccheck
 1487: PerlAuthzHandler	Apache::lonacc
 1488: SetHandler perl-script
 1489: PerlHandler Apache::lonhelp
 1490: ErrorDocument	  500 /adm/errorhandler
 1491: </LocationMatch>
 1492: 
 1493: <LocationMatch "^/adm/helpmenu">
 1494: AuthType LONCAPA
 1495: Require valid-user
 1496: PerlAuthzHandler       Apache::lonacc
 1497: SetHandler perl-script
 1498: PerlHandler Apache::lonhelpmenu
 1499: ErrorDocument	  500 /adm/errorhandler
 1500: </LocationMatch>
 1501: 
 1502: <LocationMatch "^/adm/support">
 1503: AuthType LONCAPA
 1504: Require valid-user
 1505: PerlAuthzHandler       Apache::lonacc
 1506: SetHandler perl-script
 1507: PerlHandler Apache::lonsupportreq
 1508: ErrorDocument	  500 /adm/errorhandler
 1509: </LocationMatch>
 1510: 
 1511: <LocationMatch "^/adm/helpdesk">
 1512: SetHandler perl-script
 1513: PerlHandler Apache::lonsupportreq
 1514: ErrorDocument	  500 /adm/errorhandler
 1515: </LocationMatch>
 1516: 
 1517: <LocationMatch "^/adm/css/.*\.css$">
 1518: SetHandler perl-script
 1519: PerlHandler Apache::loncss
 1520: ErrorDocument	  500 /adm/errorhandler
 1521: </LocationMatch>
 1522: 
 1523: <LocationMatch "^/adm/coursecatalog">
 1524: SetHandler perl-script
 1525: PerlHandler Apache::coursecatalog
 1526: ErrorDocument	  500 /adm/errorhandler
 1527: </LocationMatch>
 1528: 
 1529: <LocationMatch "^/adm/resetpw">
 1530: SetHandler perl-script
 1531: PerlHandler Apache::resetpw
 1532: ErrorDocument     500 /adm/errorhandler
 1533: </LocationMatch>
 1534: 
 1535: <LocationMatch "^/adm/selfenroll">
 1536: SetHandler perl-script
 1537: PerlHandler Apache::selfenroll
 1538: ErrorDocument     500 /adm/errorhandler
 1539: </LocationMatch>
 1540: 
 1541: <LocationMatch "^/adm/createaccount">
 1542: SetHandler perl-script
 1543: PerlHandler Apache::createaccount
 1544: ErrorDocument     500 /adm/errorhandler
 1545: </LocationMatch>
 1546: 
 1547: <LocationMatch "^/adm/dns">
 1548: SetHandler perl-script
 1549: PerlHandler Apache::londns
 1550: ErrorDocument     500 /adm/errorhandler
 1551: </LocationMatch>
 1552: 
 1553: <LocationMatch "^/ajax/spellcheck">
 1554: SetHandler perl-script
 1555: PerlHandler Apache::spellcheck
 1556: </LocationMatch>
 1557: 
 1558: 
 1559: 
 1560: # ------------------------------------------------- Backdoor Adm Tests/Programs
 1561: 
 1562: <Location /adm/test>
 1563: PerlAccessHandler Apache::lonstatusacc
 1564: SetHandler perl-script
 1565: PerlHandler Apache::lontest
 1566: </Location>
 1567: 
 1568: # ------------------------------------------------------- Shutting down a child
 1569: 
 1570: PerlChildExitHandler Apache::lonacc::goodbye
 1571: 
 1572: #
 1573: # LON-CAPA Section (extensions to access.conf permission configuration)
 1574: #
 1575: # =========================================================== Directory Options
 1576: 
 1577: # Start out with "no"
 1578: 
 1579: <Directory />
 1580: Options None
 1581: AllowOverride None
 1582: <IfModule mod_authz_core.c>
 1583:   Require all denied
 1584: </IfModule>
 1585: <IfModule !mod_authz_core.c>
 1586:   order deny,allow
 1587:   deny from all
 1588: </IfModule>
 1589: </Directory>
 1590: 
 1591: # Allow uploaded files to be served
 1592: 
 1593: <Directory "/home/httpd/lonUsers">
 1594: Options FollowSymLinks
 1595: AllowOverride None
 1596: <IfModule mod_authz_core.c>
 1597:   Require all granted
 1598: </IfModule>
 1599: <IfModule !mod_authz_core.c>
 1600:   order allow,deny
 1601:   allow from all
 1602: </IfModule>
 1603: </Directory>
 1604:  
 1605: # Yes to symbolic links and server-side includes
 1606: 
 1607: <Directory /home/httpd/html>
 1608: Options FollowSymLinks
 1609: AllowOverride None
 1610: <IfModule mod_authz_core.c>
 1611:   Require all granted
 1612: </IfModule>
 1613: <IfModule !mod_authz_core.c>
 1614:   order allow,deny
 1615:   allow from all
 1616: </IfModule>
 1617: </Directory>
 1618: 
 1619: # If it is in cgi-bin, then it can be executed as a CGI script.
 1620: 
 1621: <Directory /home/httpd/cgi-bin>
 1622: AllowOverride None
 1623: Options ExecCGI FollowSymLinks
 1624: <IfModule mod_authz_core.c>
 1625:   Require all granted
 1626: </IfModule>
 1627: <IfModule !mod_authz_core.c>
 1628:   order allow,deny
 1629:   allow from all
 1630: </IfModule>
 1631: </Directory>
 1632: 
 1633: # Allow serving of files in prtspool
 1634: 
 1635: <Directory "/home/httpd/prtspool/">
 1636: Options FollowSymLinks
 1637: AllowOverride None
 1638: <IfModule mod_authz_core.c>
 1639:   Require all granted
 1640: </IfModule>
 1641: <IfModule !mod_authz_core.c>
 1642:   order allow,deny
 1643:   allow from all
 1644: </IfModule>
 1645: </Directory>
 1646: 
 1647: # Allow serving of files in zipspool
 1648: 
 1649: <Directory "/home/httpd/zipspool/">
 1650: Options FollowSymLinks
 1651: AllowOverride None
 1652: <IfModule mod_authz_core.c>
 1653:   Require all granted
 1654: </IfModule>
 1655: <IfModule !mod_authz_core.c>
 1656:   order allow,deny
 1657:   allow from all
 1658: </IfModule>
 1659: </Directory>
 1660: 
 1661: # Allow serving of files in captchaspool
 1662: 
 1663: <Directory "/home/httpd/captchaspool/">
 1664: Options FollowSymLinks
 1665: AllowOverride None
 1666: <IfModule mod_authz_core.c>
 1667:   Require all granted
 1668: </IfModule>
 1669: <IfModule !mod_authz_core.c>
 1670:   order allow,deny
 1671:   allow from all
 1672: </IfModule>
 1673: </Directory>
 1674: 
 1675: <DirectoryMatch "^/home/httpd/html/priv/.+/">
 1676:    DirectoryIndex disabled
 1677: </DirectoryMatch>
 1678: 
 1679: <DirectoryMatch "^/home/httpd/html/res/.+/">
 1680:    DirectoryIndex disabled
 1681: </DirectoryMatch>
 1682: 
 1683: # ============================================================= Access Handlers
 1684: 
 1685: # ------------------------------------------------- Allow server-status reports
 1686: <Location /server-status>
 1687: PerlAccessHandler Apache::lonstatusacc
 1688: SetHandler server-status
 1689: </Location>
 1690: 
 1691: # ------------------------ Allow LON-CAPA "low-level" connection status reports
 1692: <LocationMatch "^/+lon-status/.*">
 1693: PerlAccessHandler Apache::lonstatusacc
 1694: ErrorDocument     406 /adm/roles
 1695: ErrorDocument     500 /adm/errorhandler
 1696: </LocationMatch>
 1697: 
 1698: # ------------------- Allow access to local system documentation from localhost
 1699: Alias /doc /usr/doc
 1700: <Directory /usr/doc>
 1701: Options Indexes FollowSymLinks
 1702: <IfModule mod_authz_host.c>
 1703:   Require local
 1704: </IfModule>
 1705: <IfModule !mod_authz_host.c>
 1706:   order deny,allow
 1707:   deny from all
 1708:   allow from localhost
 1709: </IfModule>
 1710: </Directory>
 1711: 
 1712: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
 1713: # ====================================== Internal Settings / Perl Configuration
 1714: 
 1715: PerlSetVar	 lonVersion  '<!-- VERSION -->'
 1716: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
 1717: PerlSetVar       lonDAVsessDir /home/httpd/webdav/sessionIDs
 1718: PerlSetVar       lonTabDir    /home/httpd/lonTabs
 1719: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
 1720: PerlSetVar       lonIconsURL  /adm/lonIcons
 1721: PerlSetVar       londPort     5663
 1722: PerlSetVar       lonSysEMail  techsupport@loncapa.org
 1723: PerlSetVar       lonDaemons   /home/httpd/perl
 1724: PerlSetVar       lonLib       /home/httpd/lib
 1725: PerlSetVar       lonSockDir   /home/httpd/sockets
 1726: PerlSetVar       lonSockCreate   /home/httpd/sockets/common
 1727: PerlSetVar       lonDocRoot   /home/httpd/html
 1728: PerlSetVar       lonPrtDir    /home/httpd/prtspool
 1729: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
 1730: PerlSetVar       lonZipDir    /home/httpd/zipspool
 1731: PerlSetVar       lonCaptchaDir     /home/httpd/captchaspool
 1732: PerlSetVar       lonCaptchaDb     /home/httpd/captchadb 
 1733: PerlSetVar       lonLTIDir    /home/httpd/lonLTItmp
 1734: PerlSetVar       lonFontsDir     /home/httpd/html/adm/fonts
 1735: # & separated list of % separated fields in order of
 1736: # - internal name to call it, 
 1737: # - regexp that it should match (done case-insensitively)
 1738: # - regexp that is should not match (done case-insensitively)
 1739: # - regexp that will pull out the version number into $1
 1740: # - a number that describes the minimum version that has mathml support
 1741: # - a number that describes the minimum number version that has unicode support
 1742: 
 1743: 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
 1744: 
 1745: PerlSetVar       lonTextBrowsers windows\s+ce:lynx
 1746: PerlSetVar       lonScansDir  /home/httpd/scantron
 1747: PerlSetVar       lonScriptTimeout 10
 1748: PerlSetVar	 BugzillaHost	http://bugs.lon-capa.org/
 1749: PerlSetVar	 FAQHost	http://help.lon-capa.org/
 1750: # -----------------------------------------------------------------------------
 1751: # NOTE: lonSqlAccess key is the password for the MySQL user
 1752: # www@localhost.  This value must always be "localhostkey".
 1753: # The only security risk occurs when somebody logs in as 'www' on your system
 1754: # (in which case you have much bigger problems than whether or not they
 1755: # can access the non-authoritative loncapa database on your machine).
 1756: 
 1757: PerlSetVar       lonSqlAccess   localhostkey
 1758: 
 1759: #----------------------------------------------------------------------------
 1760: #
 1761: #   Parameters used by secure lond/lonc
 1762: 
 1763: #
 1764: #   Secure lond/lonc require ssl certificate and private
 1765: #   key files to function correctly.  The certificate
 1766: #   files need not be terribly secure, but the private key files
 1767: #   should be set up so that only www (the lonc/lond effective user)
 1768: #   can read them.
 1769: # 
 1770: #   The definition below is the full path to the directory that
 1771: #   contains the certificate and key files:
 1772: 
 1773: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
 1774: 
 1775: #
 1776: #  Secure lond/lonc require two certificates and a private host key.
 1777: #  The certificates required are that of the lonCAPA certificate authority
 1778: #  and the certificate that authority issued to this host.
 1779: #  lonnetCertificateAuthority is the name of the file that contains the
 1780: #                            lonCAPA certificate authority's certificate.
 1781: #  lonnetCertificate is the name of the file that contains the certificate
 1782: #                    issued to the host by the certificate authority.
 1783: #  Both of these variables are names of files assumed to be in 
 1784: #  lonCertificateDirectory:
 1785: 
 1786: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
 1787: PerlSetVar lonnetCertificate          lonhostcert.pem
 1788: PerlSetVar lonnetHostnameCertificate  lonhostnamecert.pem
 1789: 
 1790: #
 1791: #  To generate the request for a certificate, and to negotiate the
 1792: #  initial ssl connection, the host requires a private key.  This key
 1793: #  is created at lonCAPA install time.  Did we mention above that it
 1794: #  should be set so that only www can read it?  The variale below
 1795: #  is the name of the file relative to lonnetCertificateDirectory
 1796: #  that has the host's private key.  Did we remember to tell you to
 1797: #  keep the permissions on that file set to rw-------  (0600)?
 1798: #  
 1799: 
 1800: PerlSetVar lonnetPrivateKey         lonKey.pem
 1801: 
 1802: # Did we mention that the file described above must have
 1803: # permissions really locked down so that it can't be stolen?
 1804: 
 1805: #-------------------------------------------------------------------------
 1806: 
 1807: #   Parameters that define where all the ssl stuff is that's needed
 1808: #   to generate certificate requests and, on a system that's a CA
 1809: #   the certificate authority.
 1810: #    
 1811: #    SSLProgram    -> Path to the openssl command
 1812: #    SSLDirectory  -> Directory containing ssl configuration files etc.
 1813: #    SSLCAConfig   -> Name of the SSL config file for the certificate 
 1814: #                     Authority.
 1815: #    SSLCAFile     -> Full path to the Certificate authority file 
 1816: #                    (on the cert manager system).
 1817: #    SSLEmail      -> E-mail address of loncapa certificate manager.
 1818: #    The following are good for the loncapa redhat installs and
 1819: #    the loncapa certificate authority system:
 1820: #
 1821: PerlSetVar SSLProgram	/usr/bin/openssl
 1822: PerlSetVar SSLDirectory /usr/share/ssl
 1823: PerlSetVar SSLCAConfig  loncapaca
 1824: PerlSetVar SSLCAFile    /usr/share/ssl/loncapaca/cacert.pem
 1825: PerlSetVar SSLEmail     certificate@lon-capa.org
 1826: 
 1827: #-------------------------------------------------------------------------
 1828: 
 1829: 
 1830: # ====================================== Include support for SSL rewrites
 1831: 
 1832: Include conf/loncapa_rewrite.conf
 1833: 
 1834: 
 1835: # ====================================== Include machine-specific configuration
 1836: 
 1837: Include conf/loncapa.conf
 1838: 
 1839: # ================================================= Include local configuration
 1840: 
 1841: Include conf/loncapa_apache_local*.conf
 1842: 
 1843: # ================================================== Initiate mod_perl starting
 1844: 
 1845: PerlRequire      conf/startup.pl
 1846: <IfDefine !MODPERL2>
 1847: PerlFreshRestart On
 1848: </IfDefine>

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