File:  [LON-CAPA] / loncom / loncapa_apache.conf
Revision 1.251: download - view: text, annotated - select for diffs
Wed Nov 30 01:32:27 2016 UTC (7 years, 5 months ago) by raeburn
Branches: MAIN
CVS tags: HEAD
- Custom error document for 406 reponse.

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

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