Annotation of loncom/loncapa_apache.conf, revision 1.206

1.1       harris41    1: ##
                      2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
                      3: ##
1.206   ! raeburn     4: ## $Id: loncapa_apache.conf,v 1.205 2011/10/21 16:03:06 www Exp $
1.1       harris41    5: ##
                      6: 
                      7: #
                      8: # LON-CAPA Section (extensions to httpd.conf daemon configuration)
                      9: #
1.8       harris41   10: # ================================================================ DocumentRoot
1.1       harris41   11: 
                     12: DocumentRoot "/home/httpd/html"
                     13: 
                     14: # ======================================================================== User
                     15: 
                     16: User www
                     17: Group www
                     18: 
                     19: # ======================================================= Shared Object Modules
                     20: 
1.52      albertel   21: LoadModule perl_module       modules/libperl.so
1.47      albertel   22: <IfDefine !MODPERL2>
1.1       harris41   23: AddModule mod_perl.c
1.47      albertel   24: </IfDefine>
1.1       harris41   25: 
1.63      albertel   26: <IfDefine MODPERL2>
                     27: PerlSetVar	MODPERL2	1
                     28: </IfDefine>
1.1       harris41   29: # =============================================================== Miscellaneous
                     30: 
                     31: ServerAdmin korte@lite.msu.edu
                     32: ExtendedStatus On
                     33: #
                     34: # LON-CAPA Section (extensions to srm.conf name space servicing)
                     35: #
                     36: # ===================================================================== Aliases
                     37: 
1.167     banghart   38: Alias /zipspool/ /home/httpd/zipspool/
1.1       harris41   39: Alias /prtspool/ /home/httpd/prtspool/
1.177     raeburn    40: Alias /captchaspool/ /home/httpd/captchaspool/
1.8       harris41   41: ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
1.1       harris41   42: 
                     43: # ================================================================= Directories
                     44: 
                     45: # ------------------------------------------------------------- Access Handlers
                     46: 
1.12      www        47: PerlTransHandler	Apache::lontrans
1.129     albertel   48: PerlCleanupHandler	Apache::lonacc::cleanup
1.12      www        49: 
1.125     albertel   50: PerlAuthenHandler Apache::checkauthen
                     51: PerlSetVar lonOtherAuthen no
                     52: 
1.45      albertel   53: #PerlWarn On
1.183     raeburn    54: <LocationMatch "^/+res/adm/pages/[^/]+\.(gif|png)$">
                     55: PerlAuthenHandler	'sub { return OK }' 
                     56: </LocationMatch>
                     57: 
1.191     droeschl   58: # Send proper expires header to avoid unnecessary HTTP request for static content
1.192     droeschl   59: <LocationMatch "^(/adm/lonIcons|/adm/jQuery|/adm/jsMath|/res/adm/pages|/ckeditor)">
1.191     droeschl   60:         ExpiresActive On
                     61:         ExpiresDefault "access plus 12 hours"
1.199     raeburn    62:         Header set Cache-Control "public, no-transform"
1.191     droeschl   63: </LocationMatch>
                     64: 
1.21      www        65: <LocationMatch "^/+res.*">
1.125     albertel   66: 
1.139     albertel   67: AuthType LONCAPA
1.125     albertel   68: Require valid-user
                     69: 
                     70: PerlAccessHandler      Apache::publiccheck
                     71: PerlAuthzHandler       Apache::lonacc
1.1       harris41   72: PerlHeaderParserHandler Apache::lonrep
                     73: ErrorDocument     403 /adm/login
                     74: ErrorDocument     404 /adm/notfound.html
                     75: ErrorDocument     406 /adm/roles
1.74      www        76: ErrorDocument	  500 /adm/errorhandler
                     77: </LocationMatch>
                     78: 
1.125     albertel   79: 
                     80: <LocationMatch "/.*">
                     81: </LocationMatch>
                     82: 
                     83: 
1.74      www        84: <LocationMatch "^/+enc.*">
1.115     raeburn    85: SetHandler perl-script
1.127     albertel   86: PerlHandler       Apache::lonencurl
1.74      www        87: ErrorDocument     403 /adm/login
1.80      albertel   88: ErrorDocument     404 /adm/notfound.html
                     89: ErrorDocument     406 /adm/roles
1.11      www        90: ErrorDocument	  500 /adm/errorhandler
                     91: </LocationMatch>
                     92: 
1.84      banghart   93: <Location /adm/portfolio>
1.139     albertel   94: AuthType LONCAPA
1.125     albertel   95: Require valid-user
                     96: PerlAuthzHandler Apache::lonacc
1.123     raeburn    97: SetHandler perl-script
1.126     albertel   98: PerlHandler Apache::portfolio
1.123     raeburn    99: </Location>
                    100: 
1.136     raeburn   101: <Location /adm/coursegrp_portfolio>
1.139     albertel  102: AuthType LONCAPA
1.136     raeburn   103: Require valid-user
                    104: PerlAuthzHandler Apache::lonacc
                    105: SetHandler perl-script
                    106: PerlHandler Apache::portfolio
                    107: </Location>
                    108: 
1.195     raeburn   109: <Location /adm/pdfupload>
                    110: AuthType LONCAPA
                    111: Require valid-user
                    112: PerlAuthzHandler Apache::lonacc
                    113: SetHandler perl-script
                    114: PerlHandler             Apache::lonpdfupload
                    115: ErrorDocument     403 /adm/login
                    116: ErrorDocument     404 /adm/notfound.html
                    117: ErrorDocument     406 /adm/roles
                    118: ErrorDocument     500 /adm/errorhandler
                    119: </Location>
                    120: 
1.21      www       121: <LocationMatch "^/+userfiles.*">
1.11      www       122: PerlAccessHandler       Apache::lontokacc
1.58      www       123: PerlCleanupHandler	Apache::lontokacc::removefile
1.129     albertel  124: PerlCleanupHandler	Apache::lonacc::cleanup
1.12      www       125: </LocationMatch>
                    126: 
1.76      albertel  127: <LocationMatch "^/+uploaded.*">
1.139     albertel  128: AuthType LONCAPA
1.125     albertel  129: Require valid-user
                    130: PerlAuthzHandler	Apache::lonacc
1.178     raeburn   131: PerlHandler 		Apache::londatecheck
                    132: PerlHandler  		Apache::lonipcheck
1.75      raeburn   133: PerlHeaderParserHandler Apache::lonuploadrep
1.80      albertel  134: ErrorDocument     403 /adm/login
1.16      www       135: ErrorDocument     404 /adm/notfound.html
1.80      albertel  136: ErrorDocument     406 /adm/roles
1.16      www       137: ErrorDocument	  500 /adm/errorhandler
1.75      raeburn   138: </LocationMatch>
                    139: 
1.106     albertel  140: <LocationMatch "^/+editupload.*">
1.139     albertel  141: AuthType LONCAPA
1.125     albertel  142: Require valid-user
                    143: PerlAuthzHandler	Apache::lonacc
1.106     albertel  144: ErrorDocument     403 /adm/login
                    145: ErrorDocument     406 /adm/roles
                    146: ErrorDocument	  500 /adm/errorhandler
                    147: </LocationMatch>
                    148: 
1.98      albertel  149: <LocationMatch "^/+uploaded/.*/.*/internal/.*">
1.150     albertel  150: PerlAuthenHandler	Apache::lonuploadedacc
                    151: PerlAuthzHandler	Apache::lonuploadedacc::skip_phase
1.151     albertel  152: PerlAccessHandler	Apache::lonuploadedacc::skip_phase
1.98      albertel  153: </LocationMatch>
                    154: 
1.140     raeburn   155: <LocationMatch "^/+uploaded/.*/.*/portfolio/.*">
                    156: PerlAccessHandler      Apache::publiccheck
1.141     albertel  157: AuthType LONCAPA
1.140     raeburn   158: Require valid-user
                    159: PerlAuthzHandler       Apache::lonacc
                    160: </LocationMatch>
                    161: 
                    162: <LocationMatch "^/+uploaded/.*/.*/groups/.*/portfolio/.*">
                    163: PerlAccessHandler      Apache::publiccheck
1.141     albertel  164: AuthType LONCAPA
1.140     raeburn   165: Require valid-user
                    166: PerlAuthzHandler       Apache::lonacc
                    167: </LocationMatch>
1.98      albertel  168: 
1.76      albertel  169: <LocationMatch "^/+uploaded/.*\.page$">
1.75      raeburn   170: SetHandler perl-script
1.126     albertel  171: PerlHandler Apache::lonpage
1.75      raeburn   172: </LocationMatch>
                    173: 
1.76      albertel  174: <LocationMatch "^/+uploaded/.*\.sequence$">
1.75      raeburn   175: SetHandler perl-script
1.126     albertel  176: PerlHandler Apache::lonsequence
1.16      www       177: </LocationMatch>
                    178: 
1.44      www       179: <LocationMatch "^/+public/.*/syllabus$">
1.132     albertel  180: PerlAccessHandler      Apache::publiccheck
1.139     albertel  181: AuthType LONCAPA
1.125     albertel  182: Require valid-user
                    183: PerlAuthzHandler	Apache::lonacc
1.16      www       184: SetHandler              perl-script
1.126     albertel  185: PerlHandler             Apache::lonsyllabus
1.16      www       186: ErrorDocument     404 /adm/notfound.html
                    187: ErrorDocument	  500 /adm/errorhandler
                    188: </LocationMatch>
                    189: 
1.122     www       190: <LocationMatch "^/+(public|adm)/.*(\.rss|_rss\.html)$">
1.132     albertel  191: PerlAccessHandler      Apache::publiccheck
1.139     albertel  192: AuthType LONCAPA
1.125     albertel  193: Require valid-user
                    194: PerlAuthzHandler	Apache::lonacc
1.121     www       195: SetHandler              perl-script
1.126     albertel  196: PerlHandler             Apache::lonrss
1.121     www       197: ErrorDocument     404 /adm/notfound.html
                    198: ErrorDocument	  500 /adm/errorhandler
                    199: </LocationMatch>
                    200: 
1.44      www       201: <LocationMatch "^/adm/.*/aboutme$">
1.139     albertel  202: AuthType LONCAPA
1.125     albertel  203: Require valid-user
                    204: PerlAuthzHandler	Apache::lonacc
1.16      www       205: SetHandler              perl-script
1.126     albertel  206: PerlHandler             Apache::lonaboutme
1.19      www       207: ErrorDocument     404 /adm/notfound.html
1.54      www       208: ErrorDocument     406 /adm/notinit.html
1.19      www       209: ErrorDocument	  500 /adm/errorhandler
                    210: </LocationMatch>
                    211: 
1.153     albertel  212: <LocationMatch "^/adm/.*/aboutme/portfolio$">
                    213: PerlAccessHandler       Apache::publiccheck
                    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: 
1.44      www       224: <LocationMatch "^/adm/.*/smppg$">
1.139     albertel  225: AuthType LONCAPA
1.125     albertel  226: Require valid-user
                    227: PerlAuthzHandler	Apache::lonacc
1.19      www       228: SetHandler              perl-script
1.172     www       229: PerlHandler             Apache::londatecheck
1.178     raeburn   230: PerlHandler		Apache::lonipcheck
1.126     albertel  231: PerlHandler             Apache::lonsimplepage
1.19      www       232: ErrorDocument     404 /adm/notfound.html
1.54      www       233: ErrorDocument     406 /adm/notinit.html
1.19      www       234: ErrorDocument	  500 /adm/errorhandler
                    235: </LocationMatch>
                    236: 
1.44      www       237: <LocationMatch "^/adm/.*/bulletinboard$">
1.139     albertel  238: AuthType LONCAPA
1.125     albertel  239: Require valid-user
                    240: PerlAuthzHandler	Apache::lonacc
1.19      www       241: SetHandler              perl-script
1.126     albertel  242: PerlHandler             Apache::londatecheck
1.178     raeburn   243: PerlHandler		Apache::lonipcheck
1.126     albertel  244: PerlHandler             Apache::lonbulletin
1.55      www       245: ErrorDocument     404 /adm/notfound.html
                    246: ErrorDocument     406 /adm/notinit.html
                    247: ErrorDocument	  500 /adm/errorhandler
                    248: </LocationMatch>
                    249: 
                    250: <LocationMatch "\.problem/smpedit$">
1.139     albertel  251: AuthType LONCAPA
1.125     albertel  252: Require valid-user
                    253: PerlAuthzHandler	Apache::lonacc
1.55      www       254: SetHandler              perl-script
1.126     albertel  255: PerlHandler             Apache::lonsimpleproblemedit
1.11      www       256: ErrorDocument     404 /adm/notfound.html
1.54      www       257: ErrorDocument     406 /adm/notinit.html
1.1       harris41  258: ErrorDocument	  500 /adm/errorhandler
                    259: </LocationMatch>
                    260: 
1.205     www       261: <LocationMatch "^/+priv/.*">
1.139     albertel  262: AuthType LONCAPA
1.131     albertel  263: Require valid-user
1.125     albertel  264: PerlAuthzHandler Apache::loncacc
1.1       harris41  265: SetHandler        perl-script
                    266: ErrorDocument     403 /adm/login
                    267: ErrorDocument     404 /adm/notfound.html
1.18      www       268: ErrorDocument     406 /adm/unauthorized
1.1       harris41  269: ErrorDocument	  500 /adm/errorhandler
                    270: </LocationMatch>
                    271: 
1.21      www       272: <LocationMatch "^/+raw.*">
1.1       harris41  273: PerlAccessHandler Apache::lonracc
                    274: </LocationMatch>
                    275: 
1.41      bowersj2  276: <LocationMatch "^/adm/helper/.*\.helper$">
1.139     albertel  277: AuthType LONCAPA
1.125     albertel  278: Require valid-user
1.142     albertel  279: PerlAuthzHandler  Apache::lonacc
1.41      bowersj2  280: SetHandler        perl-script
1.126     albertel  281: PerlHandler       Apache::lonhelper
1.41      bowersj2  282: ErrorDocument     403 /adm/login
                    283: ErrorDocument     404 /adm/notfound.html
                    284: ErrorDocument     406 /adm/unauthorized
                    285: ErrorDocument     500 /adm/errorhandler
                    286: </LocationMatch>
                    287: 
1.23      albertel  288: <LocationMatch "/prtspool">
1.139     albertel  289: AuthType LONCAPA
1.125     albertel  290: Require valid-user
                    291: PerlAuthzHandler Apache::lonacc
1.23      albertel  292: ErrorDocument     403 /adm/login
                    293: ErrorDocument     404 /adm/notfound.html
                    294: ErrorDocument     406 /adm/roles
1.99      www       295: ErrorDocument     413 /adm/overloaded.txt
1.23      albertel  296: ErrorDocument	  500 /adm/errorhandler
                    297: </LocationMatch>
1.167     banghart  298: 
                    299: <LocationMatch "/zipspool">
                    300: AuthType LONCAPA
                    301: Require valid-user
                    302: PerlAuthzHandler Apache::lonacc
                    303: ErrorDocument     403 /adm/login
                    304: ErrorDocument     404 /adm/notfound.html
                    305: ErrorDocument     406 /adm/roles
                    306: ErrorDocument     413 /adm/overloaded.txt
                    307: ErrorDocument	  500 /adm/errorhandler
                    308: </LocationMatch>
1.1       harris41  309: # ------------------------------------------------------------------------- RAT
                    310: 
1.205     www       311: <LocationMatch "^/+priv/.*\.sequence$">
1.1       harris41  312: SetHandler perl-script
1.126     albertel  313: PerlHandler Apache::lonratedt
1.1       harris41  314: </LocationMatch>
                    315: 
1.205     www       316: <LocationMatch "^/+priv/.*\.page$">
1.1       harris41  317: SetHandler perl-script
1.126     albertel  318: PerlHandler Apache::lonratedt
1.1       harris41  319: </LocationMatch>
                    320: 
1.205     www       321: <LocationMatch "^/+priv/.*\/ratserver$">
1.1       harris41  322: SetHandler perl-script
1.126     albertel  323: PerlHandler Apache::lonratsrv
1.1       harris41  324: </LocationMatch>
                    325: 
1.205     www       326: <LocationMatch "^/+priv/.*\/adveditmenu$">
1.100     raeburn   327: SetHandler perl-script
1.126     albertel  328: PerlHandler Apache::lonratmenu
1.100     raeburn   329: </LocationMatch>
                    330: 
1.1       harris41  331: <Location /adm/ratparms>
1.139     albertel  332: AuthType LONCAPA
1.125     albertel  333: Require valid-user
                    334: PerlAuthzHandler       Apache::lonacc
1.1       harris41  335: SetHandler perl-script
1.126     albertel  336: PerlHandler Apache::lonratparms
1.1       harris41  337: ErrorDocument     403 /adm/login
                    338: ErrorDocument	  500 /adm/errorhandler
                    339: </Location>
                    340: 
                    341: # --------------------------------------------- Resource Space Content Handlers
                    342: 
1.64      albertel  343: <LocationMatch "^/+res.*/$">
1.1       harris41  344: SetHandler perl-script
1.126     albertel  345: PerlHandler Apache::lonindexer
1.29      www       346: PerlCleanupHandler Apache::lonindexer::cleanup
1.129     albertel  347: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  348: </LocationMatch>
                    349: 
1.190     raeburn   350: <LocationMatch "^/+res.*\.tex$">
1.1       harris41  351: SetHandler perl-script
1.126     albertel  352: PerlHandler Apache::lontex
1.1       harris41  353: </LocationMatch>
                    354: 
1.71      www       355: <LocationMatch "^/+res/.*\.page$">
1.1       harris41  356: SetHandler perl-script
1.126     albertel  357: PerlHandler Apache::lonpage
1.1       harris41  358: </LocationMatch>
                    359: 
1.71      www       360: <LocationMatch "^/+res/.*\.sequence$">
1.1       harris41  361: SetHandler perl-script
1.126     albertel  362: PerlHandler Apache::lonsequence
1.1       harris41  363: </LocationMatch>
                    364: 
1.205     www       365: <LocationMatch "^/+(res|priv|public|uploaded|editupload|adm)/.*\.meta$">
1.132     albertel  366: PerlAccessHandler      Apache::publiccheck
1.1       harris41  367: SetHandler perl-script
1.126     albertel  368: PerlHandler Apache::lonmeta
1.99      www       369: ErrorDocument     413 /adm/overloaded.txt
1.39      www       370: </LocationMatch>
                    371: 
1.71      www       372: <LocationMatch "^/adm/bombs/">
1.139     albertel  373: AuthType LONCAPA
1.125     albertel  374: Require valid-user
1.71      www       375: SetHandler perl-script
1.125     albertel  376: PerlAuthzHandler Apache::lonacc
1.126     albertel  377: PerlHandler Apache::lonmeta
1.71      www       378: </LocationMatch>
                    379: 
                    380: 
                    381: 
1.205     www       382: <LocationMatch "^/+(res|priv)/.*\.rights$">
1.39      www       383: SetHandler perl-script
1.126     albertel  384: PerlHandler Apache::lonrights
1.1       harris41  385: </LocationMatch>
                    386: 
1.205     www       387: <LocationMatch "^/+(uploaded|res|priv)/.*\.(xml|html|htm|xhtml|xhtm|sty)$">
1.1       harris41  388: SetHandler perl-script
1.126     albertel  389: PerlHandler Apache::londatecheck
1.178     raeburn   390: PerlHandler Apache::lonipcheck
1.126     albertel  391: PerlHandler Apache::lonxml
1.1       harris41  392: </LocationMatch>
                    393: 
1.205     www       394: <LocationMatch "^/+(res|priv).*\.(task|problem|exam|quiz|assess|survey|form|library)$">
1.1       harris41  395: SetHandler perl-script
1.126     albertel  396: PerlHandler Apache::lonhomework
1.1       harris41  397: </LocationMatch>
                    398: 
1.205     www       399: <LocationMatch "^/+priv/.*\.(js|css|txt|tex)$">
1.185     raeburn   400: SetHandler perl-script
                    401: PerlHandler Apache::lonxml
                    402: </LocationMatch>
                    403: 
1.1       harris41  404: <LocationMatch "^/adm/wrapper/">
1.139     albertel  405: AuthType LONCAPA
1.125     albertel  406: Require valid-user
                    407: PerlAuthzHandler       Apache::lonacc
1.172     www       408: PerlHandler Apache::londatecheck
1.178     raeburn   409: PerlHandler Apache::lonipcheck
1.1       harris41  410: SetHandler perl-script
1.126     albertel  411: PerlHandler Apache::lonwrapper
1.66      www       412: ErrorDocument     403 /adm/login
                    413: ErrorDocument	  500 /adm/errorhandler
                    414: </LocationMatch>
                    415: 
1.113     www       416: <LocationMatch "^/adm/source">
1.139     albertel  417: AuthType LONCAPA
1.125     albertel  418: Require valid-user
                    419: PerlAuthzHandler       Apache::lonacc
1.83      taceyjo1  420: SetHandler perl-script
1.126     albertel  421: PerlHandler Apache::lonsource
1.83      taceyjo1  422: ErrorDocument     403 /adm/login
1.85      www       423: ErrorDocument     406 /adm/roles
1.83      taceyjo1  424: ErrorDocument	  500 /adm/errorhandler
                    425: </LocationMatch>
                    426: 
                    427: 
1.66      www       428: <LocationMatch "^/adm/localize/">
1.139     albertel  429: AuthType LONCAPA
1.125     albertel  430: Require valid-user
                    431: PerlAuthzHandler       Apache::lonacc
1.66      www       432: SetHandler perl-script
1.126     albertel  433: PerlHandler Apache::lonlocalize
1.1       harris41  434: ErrorDocument     403 /adm/login
                    435: ErrorDocument	  500 /adm/errorhandler
                    436: </LocationMatch>
                    437: 
                    438: # -------------------------------------------------------------- Admin Programs
1.24      albertel  439: 
                    440: <Location /adm/randomlabel.png>
1.139     albertel  441: AuthType LONCAPA
1.125     albertel  442: Require valid-user
                    443: PerlAuthzHandler       Apache::lonacc
1.24      albertel  444: SetHandler perl-script
1.126     albertel  445: PerlHandler Apache::randomlylabel
1.69      albertel  446: ErrorDocument     403 /adm/login
                    447: ErrorDocument	  500 /adm/errorhandler
                    448: </Location>
                    449: 
                    450: <Location /adm/imagechoice>
1.139     albertel  451: AuthType LONCAPA
1.125     albertel  452: Require valid-user
                    453: PerlAuthzHandler       Apache::lonacc
1.69      albertel  454: SetHandler perl-script
1.126     albertel  455: PerlHandler Apache::imagechoice
1.24      albertel  456: ErrorDocument     403 /adm/login
                    457: ErrorDocument	  500 /adm/errorhandler
                    458: </Location>
1.1       harris41  459: 
1.200     www       460: <Location /adm/searchcourse>
                    461: AuthType LONCAPA
                    462: Require valid-user
                    463: PerlAuthzHandler       Apache::lonacc
                    464: SetHandler perl-script
                    465: PerlHandler Apache::lonsearchcourse
                    466: ErrorDocument     403 /adm/login
                    467: ErrorDocument     500 /adm/errorhandler
                    468: </Location>
                    469: 
1.201     www       470: <Location /adm/indexcourse>
                    471: AuthType LONCAPA
                    472: Require valid-user
                    473: PerlAuthzHandler       Apache::lonacc
                    474: SetHandler perl-script
                    475: PerlHandler Apache::lonindexcourse
                    476: ErrorDocument     403 /adm/login
                    477: ErrorDocument     500 /adm/errorhandler
                    478: </Location>
1.200     www       479: 
1.1       harris41  480: <Location /adm/statistics>
1.139     albertel  481: AuthType LONCAPA
1.125     albertel  482: Require valid-user
                    483: PerlAuthzHandler       Apache::lonacc
1.1       harris41  484: SetHandler perl-script
1.126     albertel  485: PerlHandler Apache::lonstatistics
1.1       harris41  486: ErrorDocument     403 /adm/login
1.20      www       487: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  488: ErrorDocument	  500 /adm/errorhandler
                    489: </Location>
                    490: 
1.92      matthew   491: <Location /adm/trackstudent>
1.139     albertel  492: AuthType LONCAPA
1.125     albertel  493: Require valid-user
                    494: PerlAuthzHandler       Apache::lonacc
1.92      matthew   495: SetHandler perl-script
1.126     albertel  496: PerlHandler Apache::lontrackstudent
1.92      matthew   497: ErrorDocument     403 /adm/login
                    498: ErrorDocument     413 /adm/overloaded.txt
                    499: ErrorDocument	  500 /adm/errorhandler
                    500: </Location>
                    501: 
1.1       harris41  502: <Location /adm/roles>
1.139     albertel  503: AuthType LONCAPA
1.125     albertel  504: Require valid-user
                    505: PerlAuthzHandler       Apache::lonacc
1.1       harris41  506: SetHandler perl-script
1.126     albertel  507: PerlHandler Apache::lonroles
1.33      www       508: ErrorDocument     403 /adm/login
1.174     www       509: ErrorDocument     409 /adm/preferences?action=lockwarning
1.33      www       510: ErrorDocument	  500 /adm/errorhandler
                    511: </Location>
                    512: 
                    513: <Location /adm/menu>
1.139     albertel  514: AuthType LONCAPA
1.125     albertel  515: Require valid-user
                    516: PerlAuthzHandler       Apache::lonacc
1.33      www       517: SetHandler perl-script
1.128     albertel  518: PerlHandler Apache::lonmainmenu
1.42      www       519: ErrorDocument     403 /adm/login
                    520: ErrorDocument	  500 /adm/errorhandler
                    521: </Location>
                    522: 
1.203     www       523: <Location /adm/pickresource>
                    524: AuthType LONCAPA
                    525: Require valid-user
                    526: PerlAuthzHandler       Apache::lonacc
                    527: SetHandler perl-script
                    528: PerlHandler Apache::lonpickresource
                    529: ErrorDocument     403 /adm/login
                    530: ErrorDocument     500 /adm/errorhandler
                    531: </Location>
                    532: 
1.176     raeburn   533: <Location /adm/pickauthor>
                    534: AuthType LONCAPA
                    535: Require valid-user
                    536: PerlAuthzHandler       Apache::lonacc
                    537: SetHandler perl-script
                    538: PerlHandler Apache::lonpickauthor
                    539: ErrorDocument     403 /adm/login
                    540: ErrorDocument     500 /adm/errorhandler
                    541: </Location>
                    542: 
1.27      www       543: <Location /adm/pickstudent>
1.139     albertel  544: AuthType LONCAPA
1.125     albertel  545: Require valid-user
                    546: PerlAuthzHandler       Apache::lonacc
1.27      www       547: SetHandler perl-script
1.126     albertel  548: PerlHandler Apache::lonpickstudent
1.40      www       549: ErrorDocument     403 /adm/login
                    550: ErrorDocument	  500 /adm/errorhandler
                    551: </Location>
                    552: 
1.187     raeburn   553: <Location /adm/pickuser>
                    554: AuthType LONCAPA
                    555: Require valid-user
                    556: PerlAuthzHandler       Apache::lonacc
                    557: SetHandler perl-script
                    558: PerlHandler Apache::lonpickuser
                    559: ErrorDocument     403 /adm/login
                    560: ErrorDocument     406 /adm/roles
                    561: ErrorDocument     500 /adm/errorhandler
                    562: </Location>
                    563: 
1.40      www       564: <Location /adm/pickcourse>
1.139     albertel  565: AuthType LONCAPA
1.125     albertel  566: Require valid-user
                    567: PerlAuthzHandler       Apache::lonacc
1.40      www       568: SetHandler perl-script
1.126     albertel  569: PerlHandler Apache::lonpickcourse
1.77      albertel  570: ErrorDocument     403 /adm/login
                    571: ErrorDocument	  500 /adm/errorhandler
                    572: </Location>
                    573: 
                    574: <Location /adm/pickcode>
1.139     albertel  575: AuthType LONCAPA
1.125     albertel  576: Require valid-user
                    577: PerlAuthzHandler       Apache::lonacc
1.77      albertel  578: SetHandler perl-script
1.126     albertel  579: PerlHandler Apache::lonpickcode
1.1       harris41  580: ErrorDocument     403 /adm/login
                    581: ErrorDocument	  500 /adm/errorhandler
                    582: </Location>
                    583: 
                    584: <Location /adm/login>
                    585: SetHandler perl-script
1.126     albertel  586: PerlHandler Apache::lonlogin
1.1       harris41  587: </Location>
                    588: 
1.148     raeburn   589: <Location /adm/restrictedaccess>
                    590: PerlAccessHandler      Apache::publiccheck
                    591: AuthType LONCAPA
1.152     albertel  592: Require valid-user
1.148     raeburn   593: SetHandler perl-script
1.149     albertel  594: PerlAuthzHandler       Apache::lonacc
1.148     raeburn   595: PerlHandler Apache::restrictedaccess
1.154     albertel  596: ErrorDocument	  500 /adm/errorhandler
1.148     raeburn   597: </Location>
                    598: 
1.162     raeburn   599: <Location /adm/blockedaccess>
                    600: PerlAccessHandler      Apache::publiccheck
                    601: AuthType LONCAPA
                    602: Require valid-user
                    603: SetHandler perl-script
                    604: PerlAuthzHandler       Apache::lonacc
                    605: PerlHandler Apache::blockedaccess
                    606: ErrorDocument     500 /adm/errorhandler
                    607: </Location>
                    608: 
1.1       harris41  609: <Location /adm/logout>
1.139     albertel  610: AuthType LONCAPA
1.125     albertel  611: Require valid-user
                    612: PerlAuthzHandler       Apache::lonacc
1.1       harris41  613: SetHandler perl-script
1.126     albertel  614: PerlHandler Apache::lonlogout
1.1       harris41  615: ErrorDocument     403 /adm/login
1.175     www       616: ErrorDocument     409 /adm/preferences?action=lockwarning
1.154     albertel  617: ErrorDocument	  500 /adm/errorhandler
1.1       harris41  618: </Location>
                    619: 
1.117     albertel  620: <Location /adm/switchserver>
1.139     albertel  621: AuthType LONCAPA
1.125     albertel  622: Require valid-user
                    623: PerlAuthzHandler       Apache::lonacc
1.117     albertel  624: SetHandler perl-script
1.126     albertel  625: PerlHandler Apache::switchserver
1.117     albertel  626: ErrorDocument     403 /adm/login
1.154     albertel  627: ErrorDocument	  500 /adm/errorhandler
1.117     albertel  628: </Location>
                    629: 
1.1       harris41  630: <Location /adm/authenticate>
                    631: SetHandler perl-script
1.126     albertel  632: PerlHandler Apache::lonauth
1.1       harris41  633: </Location>
                    634: 
1.117     albertel  635: <Location /adm/migrateuser>
                    636: SetHandler perl-script
1.126     albertel  637: PerlHandler Apache::migrateuser
1.117     albertel  638: </Location>
                    639: 
1.1       harris41  640: <Location /adm/annotations>
1.139     albertel  641: AuthType LONCAPA
1.125     albertel  642: Require valid-user
                    643: PerlAuthzHandler       Apache::lonacc
1.1       harris41  644: SetHandler perl-script
1.126     albertel  645: PerlHandler Apache::admannotations
1.1       harris41  646: ErrorDocument     403 /adm/login
                    647: ErrorDocument	  500 /adm/errorhandler
                    648: </Location>
                    649: 
1.91      www       650: <Location /adm/spellcheck>
1.139     albertel  651: AuthType LONCAPA
1.125     albertel  652: Require valid-user
                    653: PerlAuthzHandler       Apache::lonacc
1.91      www       654: SetHandler perl-script
1.126     albertel  655: PerlHandler Apache::lonspeller
1.91      www       656: ErrorDocument     403 /adm/login
                    657: ErrorDocument	  500 /adm/errorhandler
                    658: </Location>
                    659: 
1.1       harris41  660: <Location /adm/flip>
1.139     albertel  661: AuthType LONCAPA
1.125     albertel  662: Require valid-user
                    663: PerlAuthzHandler       Apache::lonacc
1.1       harris41  664: SetHandler perl-script
1.126     albertel  665: PerlHandler Apache::lonpageflip
1.30      www       666: PerlCleanupHandler Apache::lonpageflip::cleanup
1.129     albertel  667: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  668: ErrorDocument     406 /adm/roles
                    669: ErrorDocument     403 /adm/login
                    670: ErrorDocument	  500 /adm/errorhandler
                    671: </Location>
                    672: 
                    673: <Location /adm/ambiguous>
1.139     albertel  674: AuthType LONCAPA
1.125     albertel  675: Require valid-user
                    676: PerlAuthzHandler       Apache::lonacc
1.1       harris41  677: SetHandler perl-script
1.126     albertel  678: PerlHandler Apache::lonambiguous
1.30      www       679: PerlCleanupHandler Apache::lonambiguous::cleanup
1.129     albertel  680: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  681: ErrorDocument     403 /adm/login
                    682: ErrorDocument	  500 /adm/errorhandler
                    683: </Location>
                    684: 
                    685: <Location /adm/email>
1.139     albertel  686: AuthType LONCAPA
1.125     albertel  687: Require valid-user
                    688: PerlAuthzHandler       Apache::lonacc
1.1       harris41  689: SetHandler perl-script
1.130     albertel  690: PerlHandler Apache::lonmsgdisplay
1.1       harris41  691: ErrorDocument     403 /adm/login
                    692: ErrorDocument	  500 /adm/errorhandler
                    693: </Location>
                    694: 
1.116     raeburn   695: <Location /adm/notify>
1.139     albertel  696: AuthType LONCAPA
1.125     albertel  697: Require valid-user
                    698: PerlAuthzHandler       Apache::lonacc
1.116     raeburn   699: SetHandler perl-script
1.126     albertel  700: PerlHandler Apache::lonnotify
1.116     raeburn   701: ErrorDocument     403 /adm/login
                    702: ErrorDocument     500 /adm/errorhandler
                    703: </Location>
                    704: 
1.1       harris41  705: <Location /adm/parmset>
1.139     albertel  706: AuthType LONCAPA
1.125     albertel  707: Require valid-user
                    708: PerlAuthzHandler       Apache::lonacc
1.1       harris41  709: SetHandler perl-script
1.126     albertel  710: PerlHandler Apache::lonparmset
1.31      bowersj2  711: ErrorDocument     403 /adm/login
                    712: ErrorDocument     406 /adm/roles
                    713: ErrorDocument	  500 /adm/errorhandler
                    714: </Location>
                    715: 
1.185     raeburn   716: <Location /adm/courseprefs>
                    717: AuthType LONCAPA
                    718: Require valid-user
                    719: PerlAuthzHandler       Apache::lonacc
                    720: SetHandler perl-script
                    721: PerlHandler Apache::courseprefs
                    722: ErrorDocument     403 /adm/login
                    723: ErrorDocument     406 /adm/roles
                    724: ErrorDocument     500 /adm/errorhandler
                    725: </Location>
                    726: 
1.110     albertel  727: <Location /adm/slotrequest>
1.139     albertel  728: AuthType LONCAPA
1.125     albertel  729: Require valid-user
                    730: PerlAuthzHandler       Apache::lonacc
1.110     albertel  731: SetHandler perl-script
1.126     albertel  732: PerlHandler Apache::slotrequest
1.110     albertel  733: ErrorDocument     403 /adm/login
                    734: ErrorDocument     406 /adm/roles
                    735: ErrorDocument	  500 /adm/errorhandler
                    736: </Location>
                    737: 
1.31      bowersj2  738: <Location /adm/wizard>
1.139     albertel  739: AuthType LONCAPA
1.125     albertel  740: Require valid-user
                    741: PerlAuthzHandler       Apache::lonacc
1.31      bowersj2  742: SetHandler perl-script
1.126     albertel  743: PerlHandler Apache::lonwizard
1.1       harris41  744: ErrorDocument     403 /adm/login
                    745: ErrorDocument     406 /adm/roles
                    746: ErrorDocument	  500 /adm/errorhandler
                    747: </Location>
                    748: 
                    749: <Location /adm/grades>
1.139     albertel  750: AuthType LONCAPA
1.125     albertel  751: Require valid-user
                    752: PerlAuthzHandler       Apache::lonacc
1.1       harris41  753: SetHandler perl-script
1.126     albertel  754: PerlHandler Apache::grades
1.1       harris41  755: ErrorDocument     403 /adm/login
                    756: ErrorDocument     406 /adm/roles
                    757: ErrorDocument	  500 /adm/errorhandler
                    758: </Location>
                    759: 
1.187     raeburn   760: <Location /adm/requestcourse>
                    761: AuthType LONCAPA
                    762: Require valid-user
                    763: PerlAuthzHandler       Apache::lonacc
                    764: SetHandler perl-script
                    765: PerlHandler Apache::lonrequestcourse
                    766: ErrorDocument     403 /adm/login
                    767: ErrorDocument     406 /adm/roles
                    768: ErrorDocument     500 /adm/errorhandler
                    769: </Location>
                    770: 
1.1       harris41  771: <Location /adm/createcourse>
1.139     albertel  772: AuthType LONCAPA
1.125     albertel  773: Require valid-user
                    774: PerlAuthzHandler       Apache::lonacc
1.1       harris41  775: SetHandler perl-script
1.126     albertel  776: PerlHandler Apache::loncreatecourse
1.1       harris41  777: ErrorDocument     403 /adm/login
                    778: ErrorDocument     406 /adm/roles
                    779: ErrorDocument	  500 /adm/errorhandler
1.67      raeburn   780: </Location>
                    781: 
                    782: <Location /adm/modifycourse>
1.139     albertel  783: AuthType LONCAPA
1.125     albertel  784: Require valid-user
                    785: PerlAuthzHandler       Apache::lonacc
1.67      raeburn   786: SetHandler perl-script
1.126     albertel  787: PerlHandler Apache::lonmodifycourse
1.67      raeburn   788: ErrorDocument     403 /adm/login
                    789: ErrorDocument     406 /adm/roles
                    790: ErrorDocument     500 /adm/errorhandler
1.1       harris41  791: </Location>
                    792: 
1.163     raeburn   793: <Location /adm/domainprefs>
                    794: AuthType LONCAPA
                    795: Require valid-user
                    796: PerlAuthzHandler       Apache::lonacc
                    797: SetHandler perl-script
                    798: PerlHandler Apache::domainprefs
                    799: ErrorDocument     403 /adm/login
                    800: ErrorDocument     406 /adm/roles
                    801: ErrorDocument     500 /adm/errorhandler
                    802: </Location>
                    803: 
1.182     raeburn   804: <Location /adm/domainstatus>
                    805: PerlAccessHandler       Apache::lonstatusacc
                    806: SetHandler perl-script
                    807: PerlHandler Apache::domainstatus
                    808: ErrorDocument     403 /adm/login
                    809: ErrorDocument     406 /adm/roles
                    810: ErrorDocument     500 /adm/errorhandler
                    811: </Location>
                    812: 
1.1       harris41  813: <Location /adm/createuser>
1.139     albertel  814: AuthType LONCAPA
1.125     albertel  815: Require valid-user
                    816: PerlAuthzHandler       Apache::lonacc
1.1       harris41  817: SetHandler perl-script
1.126     albertel  818: PerlHandler Apache::loncreateuser
1.1       harris41  819: ErrorDocument     403 /adm/login
                    820: ErrorDocument     406 /adm/roles
                    821: ErrorDocument	  500 /adm/errorhandler
                    822: </Location>
                    823: 
                    824: <Location /adm/publish>
1.139     albertel  825: AuthType LONCAPA
1.125     albertel  826: Require valid-user
                    827: PerlAuthzHandler       Apache::lonacc
1.1       harris41  828: SetHandler perl-script
1.126     albertel  829: PerlHandler Apache::lonpublisher
1.1       harris41  830: ErrorDocument     403 /adm/login
                    831: ErrorDocument     404 /adm/notfound.html
1.18      www       832: ErrorDocument     406 /adm/unauthorized
1.1       harris41  833: ErrorDocument	  500 /adm/errorhandler
                    834: </Location>
                    835: 
1.205     www       836: <LocationMatch "^/+priv/.*/$">
1.139     albertel  837: AuthType LONCAPA
1.131     albertel  838: Require valid-user
1.125     albertel  839: PerlAuthzHandler       Apache::loncacc
1.1       harris41  840: SetHandler perl-script
1.126     albertel  841: PerlHandler Apache::lonpubdir
1.1       harris41  842: ErrorDocument     403 /adm/login
                    843: ErrorDocument     404 /adm/notfound.html
1.18      www       844: ErrorDocument     406 /adm/unauthorized
1.1       harris41  845: ErrorDocument	  500 /adm/errorhandler
                    846: </LocationMatch>
                    847: 
1.18      www       848: <Location /adm/unauthorized>
1.139     albertel  849: AuthType LONCAPA
1.125     albertel  850: Require valid-user
                    851: PerlAuthzHandler       Apache::lonacc
1.18      www       852: SetHandler perl-script
1.126     albertel  853: PerlHandler Apache::lonunauthorized
1.18      www       854: ErrorDocument     403 /adm/login
                    855: ErrorDocument     404 /adm/notfound.html
1.1       harris41  856: ErrorDocument	  500 /adm/errorhandler
                    857: </Location>
                    858: 
                    859: <Location /adm/retrieve>
1.139     albertel  860: AuthType LONCAPA
1.125     albertel  861: Require valid-user
                    862: PerlAuthzHandler       Apache::lonacc
1.1       harris41  863: SetHandler perl-script
1.126     albertel  864: PerlHandler Apache::lonretrieve
1.1       harris41  865: ErrorDocument     403 /adm/login
                    866: ErrorDocument     404 /adm/notfound.html
1.18      www       867: ErrorDocument     406 /adm/unauthorized
1.1       harris41  868: ErrorDocument	  500 /adm/errorhandler
                    869: </Location>
                    870: 
1.109     www       871: <Location /adm/cleanup>
1.139     albertel  872: AuthType LONCAPA
1.125     albertel  873: Require valid-user
                    874: PerlAuthzHandler       Apache::lonacc
1.109     www       875: SetHandler perl-script
1.126     albertel  876: PerlHandler Apache::loncleanup
1.109     www       877: ErrorDocument     403 /adm/login
                    878: ErrorDocument     404 /adm/notfound.html
                    879: ErrorDocument     406 /adm/unauthorized
                    880: ErrorDocument	  500 /adm/errorhandler
                    881: </Location>
                    882: 
1.1       harris41  883: <Location /adm/cfile>
1.139     albertel  884: AuthType LONCAPA
1.125     albertel  885: Require valid-user
                    886: PerlAuthzHandler       Apache::lonacc
1.1       harris41  887: SetHandler perl-script
1.126     albertel  888: PerlHandler Apache::loncfile
1.1       harris41  889: ErrorDocument     403 /adm/login
                    890: ErrorDocument     404 /adm/notfound.html
1.18      www       891: ErrorDocument     406 /adm/unauthorized
1.1       harris41  892: ErrorDocument	  500 /adm/errorhandler
                    893: </Location>
                    894: 
                    895: <Location /adm/diff>
1.139     albertel  896: AuthType LONCAPA
1.125     albertel  897: Require valid-user
                    898: PerlAuthzHandler       Apache::lonacc
1.1       harris41  899: SetHandler perl-script
1.126     albertel  900: PerlHandler Apache::londiff
1.1       harris41  901: ErrorDocument     403 /adm/login
                    902: ErrorDocument     404 /adm/notfound.html
1.18      www       903: ErrorDocument     406 /adm/unauthorized
1.1       harris41  904: ErrorDocument	  500 /adm/errorhandler
                    905: </Location>
                    906: 
                    907: <Location /adm/upload>
1.139     albertel  908: AuthType LONCAPA
1.125     albertel  909: Require valid-user
                    910: PerlAuthzHandler       Apache::lonacc
1.1       harris41  911: SetHandler perl-script
1.126     albertel  912: PerlHandler Apache::lonupload
1.1       harris41  913: ErrorDocument     403 /adm/login
                    914: ErrorDocument     404 /adm/notfound.html
1.18      www       915: ErrorDocument     406 /adm/unauthorized
1.1       harris41  916: ErrorDocument	  500 /adm/errorhandler
1.72      raeburn   917: </Location>
                    918: 
1.73      raeburn   919: <Location /adm/imsimport>
1.139     albertel  920: AuthType LONCAPA
1.125     albertel  921: Require valid-user
                    922: PerlAuthzHandler       Apache::lonacc
1.73      raeburn   923: SetHandler perl-script
1.126     albertel  924: PerlHandler Apache::imsimport
1.73      raeburn   925: ErrorDocument     403 /adm/login
                    926: ErrorDocument     404 /adm/notfound.html
                    927: ErrorDocument     406 /adm/unauthorized
                    928: ErrorDocument     500 /adm/errorhandler
                    929: </Location>
                    930: 
1.72      raeburn   931: <Location /adm/testbank>
1.139     albertel  932: AuthType LONCAPA
1.125     albertel  933: Require valid-user
                    934: PerlAuthzHandler       Apache::lonacc
1.72      raeburn   935: SetHandler perl-script
1.126     albertel  936: PerlHandler Apache::testbankimport
1.72      raeburn   937: ErrorDocument     403 /adm/login
                    938: ErrorDocument     404 /adm/notfound.html
                    939: ErrorDocument     406 /adm/unauthorized
                    940: ErrorDocument     500 /adm/errorhandler
1.1       harris41  941: </Location>
                    942: 
                    943: <Location /adm/assesscalc>
1.139     albertel  944: AuthType LONCAPA
1.125     albertel  945: Require valid-user
                    946: PerlAuthzHandler       Apache::lonacc
1.1       harris41  947: SetHandler perl-script
1.126     albertel  948: PerlHandler Apache::lonspreadsheet
1.1       harris41  949: ErrorDocument     403 /adm/login
                    950: ErrorDocument     406 /adm/roles
1.20      www       951: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  952: ErrorDocument	  500 /adm/errorhandler
                    953: </Location>
                    954: 
                    955: <Location /adm/studentcalc>
1.139     albertel  956: AuthType LONCAPA
1.125     albertel  957: Require valid-user
                    958: PerlAuthzHandler       Apache::lonacc
1.1       harris41  959: SetHandler perl-script
1.126     albertel  960: PerlHandler Apache::lonspreadsheet
1.1       harris41  961: ErrorDocument     403 /adm/login
                    962: ErrorDocument     406 /adm/roles
1.20      www       963: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  964: ErrorDocument	  500 /adm/errorhandler
                    965: </Location>
                    966: 
                    967: <Location /adm/classcalc>
1.139     albertel  968: AuthType LONCAPA
1.125     albertel  969: Require valid-user
                    970: PerlAuthzHandler       Apache::lonacc
1.1       harris41  971: SetHandler perl-script
1.126     albertel  972: PerlHandler Apache::lonspreadsheet
1.1       harris41  973: ErrorDocument     403 /adm/login
                    974: ErrorDocument     406 /adm/roles
1.20      www       975: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  976: ErrorDocument	  500 /adm/errorhandler
                    977: </Location>
                    978: 
                    979: <Location /adm/dropadd>
1.139     albertel  980: AuthType LONCAPA
1.125     albertel  981: Require valid-user
                    982: PerlAuthzHandler       Apache::lonacc
1.1       harris41  983: SetHandler perl-script
1.126     albertel  984: PerlHandler Apache::londropadd
1.44      www       985: ErrorDocument     403 /adm/login
                    986: ErrorDocument     406 /adm/roles
                    987: ErrorDocument	  500 /adm/errorhandler
1.65      raeburn   988: </Location>
                    989: 
1.92      matthew   990: <Location /adm/viewclasslist>
1.139     albertel  991: AuthType LONCAPA
1.125     albertel  992: Require valid-user
                    993: PerlAuthzHandler       Apache::lonacc
1.92      matthew   994: SetHandler perl-script
1.126     albertel  995: PerlHandler Apache::lonviewclasslist
1.92      matthew   996: ErrorDocument     403 /adm/login
                    997: ErrorDocument     406 /adm/roles
                    998: ErrorDocument	  500 /adm/errorhandler
                    999: </Location>
                   1000: 
1.118     raeburn  1001: <Location /adm/coursegroups>
1.139     albertel 1002: AuthType LONCAPA
1.125     albertel 1003: Require valid-user
                   1004: PerlAuthzHandler       Apache::lonacc
1.118     raeburn  1005: SetHandler perl-script
1.126     albertel 1006: PerlHandler Apache::loncoursegroups
1.118     raeburn  1007: ErrorDocument     403 /adm/login
                   1008: ErrorDocument     406 /adm/roles
                   1009: ErrorDocument     500 /adm/errorhandler
                   1010: </Location>
                   1011: 
1.143     raeburn  1012: <Location /adm/groupboards>
                   1013: AuthType LONCAPA
                   1014: Require valid-user
                   1015: PerlAuthzHandler       Apache::lonacc
                   1016: SetHandler perl-script
                   1017: PerlHandler Apache::groupboards
                   1018: ErrorDocument     403 /adm/login
                   1019: ErrorDocument     406 /adm/roles
                   1020: ErrorDocument     500 /adm/errorhandler
                   1021: </Location>
                   1022: 
1.144     raeburn  1023: <Location /adm/grouproster>
                   1024: AuthType LONCAPA
                   1025: Require valid-user
                   1026: PerlAuthzHandler       Apache::lonacc
                   1027: SetHandler perl-script
                   1028: PerlHandler Apache::grouproster
                   1029: ErrorDocument     403 /adm/login
                   1030: ErrorDocument     406 /adm/roles
                   1031: ErrorDocument     500 /adm/errorhandler
                   1032: </Location>
                   1033: 
1.112     raeburn  1034: <Location /adm/whatsnew>
1.139     albertel 1035: AuthType LONCAPA
1.125     albertel 1036: Require valid-user
                   1037: PerlAuthzHandler       Apache::lonacc
1.112     raeburn  1038: SetHandler perl-script
1.126     albertel 1039: PerlHandler Apache::lonwhatsnew
1.112     raeburn  1040: ErrorDocument     403 /adm/login
                   1041: ErrorDocument     406 /adm/roles
                   1042: ErrorDocument     500 /adm/errorhandler
                   1043: </Location>
                   1044: 
1.65      raeburn  1045: <Location /adm/populate>
1.139     albertel 1046: AuthType LONCAPA
1.125     albertel 1047: Require valid-user
                   1048: PerlAuthzHandler       Apache::lonacc
1.65      raeburn  1049: SetHandler perl-script
1.126     albertel 1050: PerlHandler Apache::lonpopulate
1.65      raeburn  1051: ErrorDocument     403 /adm/login
                   1052: ErrorDocument     406 /adm/roles
                   1053: ErrorDocument     500 /adm/errorhandler
1.44      www      1054: </Location>
                   1055: 
                   1056: <Location /adm/managekeys>
1.139     albertel 1057: AuthType LONCAPA
1.125     albertel 1058: Require valid-user
                   1059: PerlAuthzHandler       Apache::lonacc
1.44      www      1060: SetHandler perl-script
1.126     albertel 1061: PerlHandler Apache::lonmanagekeys
1.1       harris41 1062: ErrorDocument     403 /adm/login
                   1063: ErrorDocument     406 /adm/roles
                   1064: ErrorDocument	  500 /adm/errorhandler
                   1065: </Location>
                   1066: 
                   1067: <Location /adm/printout>
1.139     albertel 1068: AuthType LONCAPA
1.125     albertel 1069: Require valid-user
                   1070: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1071: SetHandler perl-script
1.126     albertel 1072: PerlHandler Apache::lonprintout
1.1       harris41 1073: ErrorDocument     403 /adm/login
1.20      www      1074: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1075: ErrorDocument	  500 /adm/errorhandler
                   1076: </Location>
                   1077: 
                   1078: <Location /adm/feedback>
1.139     albertel 1079: AuthType LONCAPA
1.125     albertel 1080: Require valid-user
                   1081: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1082: SetHandler perl-script
1.126     albertel 1083: PerlHandler Apache::lonfeedback
1.10      www      1084: ErrorDocument     403 /adm/login
                   1085: ErrorDocument	  500 /adm/errorhandler
                   1086: </Location>
                   1087: 
                   1088: <Location /adm/coursedocs>
1.139     albertel 1089: AuthType LONCAPA
1.125     albertel 1090: Require valid-user
                   1091: PerlAuthzHandler       Apache::lonacc
1.10      www      1092: SetHandler perl-script
1.126     albertel 1093: PerlHandler Apache::londocs
1.108     albertel 1094: PerlCleanupHandler Apache::londocs::untiehash
1.129     albertel 1095: PerlCleanupHandler	Apache::lonacc::cleanup
1.10      www      1096: ErrorDocument     403 /adm/login
                   1097: ErrorDocument	  500 /adm/errorhandler
1.73      raeburn  1098: </Location>
                   1099: 
                   1100: <Location /adm/imsimportdocs>
1.139     albertel 1101: AuthType LONCAPA
1.125     albertel 1102: Require valid-user
                   1103: PerlAuthzHandler       Apache::lonacc
1.73      raeburn  1104: SetHandler perl-script
1.126     albertel 1105: PerlHandler Apache::imsimportdocs
1.73      raeburn  1106: ErrorDocument     403 /adm/login
                   1107: ErrorDocument     500 /adm/errorhandler
1.10      www      1108: </Location>
                   1109: 
1.135     www      1110: <LocationMatch "^/adm/announcements">
1.139     albertel 1111: AuthType LONCAPA
1.125     albertel 1112: Require valid-user
                   1113: PerlAuthzHandler       Apache::lonacc
1.10      www      1114: SetHandler perl-script
1.126     albertel 1115: PerlHandler Apache::lonannounce
1.10      www      1116: ErrorDocument     403 /adm/login
                   1117: ErrorDocument	  500 /adm/errorhandler
1.135     www      1118: </LocationMatch>
1.10      www      1119: 
                   1120: <Location /adm/chat>
1.139     albertel 1121: AuthType LONCAPA
1.125     albertel 1122: Require valid-user
                   1123: PerlAuthzHandler       Apache::lonacc
1.10      www      1124: SetHandler perl-script
1.126     albertel 1125: PerlHandler Apache::lonchat
1.13      www      1126: ErrorDocument	  500 /adm/errorhandler
                   1127: </Location>
                   1128: 
                   1129: <Location /adm/chatfetch>
1.139     albertel 1130: AuthType LONCAPA
1.125     albertel 1131: Require valid-user
                   1132: PerlAuthzHandler       Apache::lonacc
1.13      www      1133: SetHandler perl-script
1.126     albertel 1134: PerlHandler Apache::lonchatfetch
1.20      www      1135: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1136: ErrorDocument	  500 /adm/errorhandler
                   1137: </Location>
                   1138: 
1.137     albertel 1139: <Location /adm/groupchat>
1.139     albertel 1140: AuthType LONCAPA
1.137     albertel 1141: Require valid-user
                   1142: PerlAuthzHandler       Apache::lonacc
                   1143: SetHandler perl-script
                   1144: PerlHandler Apache::longroupchat
                   1145: ErrorDocument     403 /adm/login
                   1146: ErrorDocument     500 /adm/errorhandler
                   1147: </Location>
                   1148: 
1.1       harris41 1149: <Location /adm/evaluate>
1.139     albertel 1150: AuthType LONCAPA
1.125     albertel 1151: Require valid-user
                   1152: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1153: SetHandler perl-script
1.126     albertel 1154: PerlHandler Apache::lonevaluate
1.1       harris41 1155: ErrorDocument     403 /adm/login
                   1156: ErrorDocument	  500 /adm/errorhandler
                   1157: </Location>
                   1158: 
                   1159: <Location /adm/preferences>
1.139     albertel 1160: AuthType LONCAPA
1.125     albertel 1161: Require valid-user
                   1162: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1163: SetHandler perl-script
1.126     albertel 1164: PerlHandler Apache::lonpreferences
1.1       harris41 1165: ErrorDocument     403 /adm/login
                   1166: ErrorDocument	  500 /adm/errorhandler
                   1167: </Location>
                   1168: 
                   1169: <Location /adm/communicate>
1.139     albertel 1170: AuthType LONCAPA
1.125     albertel 1171: Require valid-user
                   1172: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1173: SetHandler perl-script
1.126     albertel 1174: PerlHandler Apache::loncommunicate
1.1       harris41 1175: ErrorDocument     403 /adm/login
                   1176: ErrorDocument	  500 /adm/errorhandler
                   1177: </Location>
                   1178: 
                   1179: <Location /adm/searchcat>
1.139     albertel 1180: AuthType LONCAPA
1.125     albertel 1181: Require valid-user
                   1182: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1183: SetHandler perl-script
1.126     albertel 1184: PerlHandler Apache::lonsearchcat
1.28      www      1185: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.129     albertel 1186: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1187: ErrorDocument     403 /adm/login
1.20      www      1188: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1189: ErrorDocument	  500 /adm/errorhandler
                   1190: </Location>
                   1191: 
                   1192: <Location /adm/navmaps>
1.139     albertel 1193: AuthType LONCAPA
1.125     albertel 1194: Require valid-user
                   1195: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1196: SetHandler perl-script
1.160     albertel 1197: PerlHandler Apache::lonnavdisplay
1.1       harris41 1198: ErrorDocument     403 /adm/login
                   1199: ErrorDocument     406 /adm/roles
                   1200: ErrorDocument	  500 /adm/errorhandler
1.26      bowersj2 1201: </Location>
                   1202: 
                   1203: <Location /adm/quickgrades>
1.139     albertel 1204: AuthType LONCAPA
1.125     albertel 1205: Require valid-user
                   1206: PerlAuthzHandler       Apache::lonacc
1.26      bowersj2 1207: SetHandler perl-script
1.126     albertel 1208: PerlHandler Apache::lonquickgrades
1.26      bowersj2 1209: ErrorDocument     403 /adm/login
                   1210: ErrorDocument     406 /adm/roles
                   1211: ErrorDocument     500 /adm/errorhandler
1.1       harris41 1212: </Location>
                   1213: 
                   1214: <Location /adm/groupsort>
1.139     albertel 1215: AuthType LONCAPA
1.125     albertel 1216: Require valid-user
                   1217: PerlAuthzHandler	Apache::lonacc
1.1       harris41 1218: SetHandler perl-script
1.126     albertel 1219: PerlHandler Apache::groupsort
1.29      www      1220: PerlCleanupHandler Apache::groupsort::cleanup
1.129     albertel 1221: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1222: ErrorDocument     403 /adm/login
                   1223: ErrorDocument	  500 /adm/errorhandler
                   1224: </Location>
                   1225: 
1.197     wenzelju 1226: <Location /adm/wishlist>
                   1227: AuthType LONCAPA
                   1228: Require valid-user
                   1229: PerlAuthzHandler       Apache::lonacc
                   1230: SetHandler perl-script
1.202     wenzelju 1231: PerlHandler Apache::lonwishlistdisplay
1.197     wenzelju 1232: ErrorDocument     403 /adm/login
                   1233: ErrorDocument     406 /adm/roles
                   1234: ErrorDocument	  500 /adm/errorhandler
                   1235: </Location>
                   1236: 
1.186     droeschl 1237: <Location /adm/blockingstatus>
1.188     droeschl 1238: PerlAccessHandler      Apache::publiccheck
1.186     droeschl 1239: AuthType LONCAPA
                   1240: Require valid-user
                   1241: PerlAuthzHandler       Apache::lonacc
1.188     droeschl 1242: SetHandler             perl-script
                   1243: PerlHandler            Apache::lonblockingstatus
1.186     droeschl 1244: </Location>
                   1245: 
1.1       harris41 1246: <Location /adm/errorhandler>
                   1247: SetHandler perl-script
1.126     albertel 1248: PerlHandler Apache::lonerrorhandler
1.1       harris41 1249: </Location>
                   1250: 
1.7       bowersj2 1251: <LocationMatch "^/adm/help/.*\.hlp$">
1.139     albertel 1252: AuthType LONCAPA
1.125     albertel 1253: Require valid-user
1.147     albertel 1254: PerlAccessHandler      Apache::publiccheck
1.125     albertel 1255: PerlAuthzHandler	Apache::lonacc
1.7       bowersj2 1256: SetHandler perl-script
1.126     albertel 1257: PerlHandler Apache::lonhelp
1.154     albertel 1258: ErrorDocument	  500 /adm/errorhandler
1.7       bowersj2 1259: </LocationMatch>
                   1260: 
1.90      raeburn  1261: <LocationMatch "^/adm/helpmenu">
1.139     albertel 1262: AuthType LONCAPA
1.125     albertel 1263: Require valid-user
                   1264: PerlAuthzHandler       Apache::lonacc
1.90      raeburn  1265: SetHandler perl-script
1.126     albertel 1266: PerlHandler Apache::lonhelpmenu
1.154     albertel 1267: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1268: </LocationMatch>
                   1269: 
                   1270: <LocationMatch "^/adm/support">
1.139     albertel 1271: AuthType LONCAPA
1.125     albertel 1272: Require valid-user
                   1273: PerlAuthzHandler       Apache::lonacc
1.90      raeburn  1274: SetHandler perl-script
1.126     albertel 1275: PerlHandler Apache::lonsupportreq
1.154     albertel 1276: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1277: </LocationMatch>
                   1278: 
1.100     raeburn  1279: <LocationMatch "^/adm/helpdesk">
                   1280: SetHandler perl-script
1.126     albertel 1281: PerlHandler Apache::lonsupportreq
1.154     albertel 1282: ErrorDocument	  500 /adm/errorhandler
1.100     raeburn  1283: </LocationMatch>
                   1284: 
1.133     albertel 1285: <LocationMatch "^/adm/css">
                   1286: SetHandler perl-script
                   1287: PerlHandler Apache::loncss
1.154     albertel 1288: ErrorDocument	  500 /adm/errorhandler
1.133     albertel 1289: </LocationMatch>
                   1290: 
1.155     raeburn  1291: <LocationMatch "^/adm/coursecatalog">
                   1292: SetHandler perl-script
                   1293: PerlHandler Apache::coursecatalog
1.156     albertel 1294: ErrorDocument	  500 /adm/errorhandler
1.155     raeburn  1295: </LocationMatch>
                   1296: 
1.161     raeburn  1297: <LocationMatch "^/adm/resetpw">
                   1298: SetHandler perl-script
                   1299: PerlHandler Apache::resetpw
                   1300: ErrorDocument     500 /adm/errorhandler
                   1301: </LocationMatch>
1.155     raeburn  1302: 
1.173     raeburn  1303: <LocationMatch "^/adm/selfenroll">
                   1304: SetHandler perl-script
                   1305: PerlHandler Apache::selfenroll
                   1306: ErrorDocument     500 /adm/errorhandler
                   1307: </LocationMatch>
                   1308: 
1.171     raeburn  1309: <LocationMatch "^/adm/createaccount">
                   1310: SetHandler perl-script
                   1311: PerlHandler Apache::createaccount
                   1312: ErrorDocument     500 /adm/errorhandler
                   1313: </LocationMatch>
                   1314: 
1.165     albertel 1315: <LocationMatch "^/adm/dns">
                   1316: SetHandler perl-script
                   1317: PerlHandler Apache::londns
                   1318: ErrorDocument     500 /adm/errorhandler
                   1319: </LocationMatch>
1.164     albertel 1320: 
1.1       harris41 1321: # ------------------------------------------------- Backdoor Adm Tests/Programs
                   1322: 
                   1323: <Location /adm/test>
1.181     raeburn  1324: PerlAccessHandler Apache::lonstatusacc
1.1       harris41 1325: SetHandler perl-script
1.126     albertel 1326: PerlHandler Apache::lontest
1.1       harris41 1327: </Location>
                   1328: 
                   1329: # ------------------------------------------------------- Shutting down a child
                   1330: 
1.129     albertel 1331: PerlChildExitHandler Apache::lonacc::goodbye
1.1       harris41 1332: 
                   1333: #
                   1334: # LON-CAPA Section (extensions to access.conf permission configuration)
                   1335: #
                   1336: # =========================================================== Directory Options
                   1337: 
                   1338: # Start out with "no"
                   1339: 
                   1340: <Directory />
                   1341: Options None
                   1342: AllowOverride None
1.158     raeburn  1343: order deny,allow
                   1344: deny from all
                   1345: </Directory>
                   1346: 
                   1347: # Allow uploaded files to be served
                   1348: 
                   1349: <Directory "/home/httpd/lonUsers">
                   1350: Options Includes FollowSymLinks
                   1351: AllowOverride None
                   1352: order allow,deny
                   1353: allow from all
                   1354: </Directory>
                   1355:  
                   1356: # Allow construction space files to be served
                   1357: 
                   1358: <Directory "/home/*/public_html/" >
                   1359: Options Includes FollowSymLinks
                   1360: AllowOverride
                   1361: order allow,deny
                   1362: allow from all
1.1       harris41 1363: </Directory>
                   1364: 
                   1365: # Yes to symbolic links and server-side includes
                   1366: 
                   1367: <Directory /home/httpd/html>
                   1368: Options Includes FollowSymLinks
                   1369: AllowOverride None
                   1370: order allow,deny
                   1371: allow from all
                   1372: </Directory>
                   1373: 
                   1374: # If it is in cgi-bin, then it can be executed as a CGI script.
                   1375: 
                   1376: <Directory /home/httpd/cgi-bin>
                   1377: AllowOverride None
1.157     albertel 1378: Options ExecCGI FollowSymLinks
1.159     raeburn  1379: order allow,deny
                   1380: allow from all
                   1381: </Directory>
                   1382: 
                   1383: # Allow serving of files in prtspool
                   1384: 
                   1385: <Directory "/home/httpd/prtspool/">
                   1386: Options Includes FollowSymLinks
                   1387: AllowOverride None
                   1388: order allow,deny
                   1389: allow from all
1.1       harris41 1390: </Directory>
                   1391: 
1.167     banghart 1392: # Allow serving of files in zipspool
                   1393: 
                   1394: <Directory "/home/httpd/zipspool/">
                   1395: Options Includes FollowSymLinks
                   1396: AllowOverride None
                   1397: order allow,deny
                   1398: allow from all
                   1399: </Directory>
                   1400: 
1.177     raeburn  1401: # Allow serving of files in captchaspool
                   1402: 
                   1403: <Directory "/home/httpd/captchaspool/">
                   1404: Options Includes FollowSymLinks
                   1405: AllowOverride None
                   1406: order allow,deny
                   1407: allow from all
                   1408: </Directory>
                   1409: 
1.1       harris41 1410: # ============================================================= Access Handlers
                   1411: 
                   1412: # ------------------------------------------------- Allow server-status reports
                   1413: <Location /server-status>
1.181     raeburn  1414: PerlAccessHandler Apache::lonstatusacc
1.1       harris41 1415: SetHandler server-status
                   1416: </Location>
                   1417: 
                   1418: # ------------------------ Allow LON-CAPA "low-level" connection status reports
1.181     raeburn  1419: <LocationMatch "^/+lon-status/.*">
                   1420: PerlAccessHandler Apache::lonstatusacc
                   1421: ErrorDocument     406 /adm/roles
                   1422: ErrorDocument     500 /adm/errorhandler
                   1423: </LocationMatch>
1.1       harris41 1424: 
                   1425: # ------------------- Allow access to local system documentation from localhost
                   1426: Alias /doc /usr/doc
                   1427: <Directory /usr/doc>
                   1428: order deny,allow
                   1429: deny from all
                   1430: allow from localhost
                   1431: Options Indexes FollowSymLinks
                   1432: </Directory>
                   1433: 
                   1434: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
                   1435: # ====================================== Internal Settings / Perl Configuration
                   1436: 
1.59      www      1437: PerlSetVar	 lonVersion   '<!-- VERSION -->'
1.1       harris41 1438: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
                   1439: PerlSetVar       lonTabDir    /home/httpd/lonTabs
                   1440: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
                   1441: PerlSetVar       lonIconsURL  /adm/lonIcons
                   1442: PerlSetVar       londPort     5663
                   1443: PerlSetVar       lonSysEMail  korte@lite.msu.edu
                   1444: PerlSetVar       lonDaemons   /home/httpd/perl
1.184     foxr     1445: PerlSetVar       lonLib       /home/httpd/lib
1.1       harris41 1446: PerlSetVar       lonSockDir   /home/httpd/sockets
1.164     albertel 1447: PerlSetVar       lonSockCreate   /home/httpd/sockets/common
1.1       harris41 1448: PerlSetVar       lonDocRoot   /home/httpd/html
1.98      albertel 1449: PerlSetVar       lonPrtDir    /home/httpd/prtspool
1.1       harris41 1450: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
1.166     banghart 1451: PerlSetVar       lonZipDir    /home/httpd/zipspool
1.177     raeburn  1452: PerlSetVar       lonCaptchaDir     /home/httpd/captchaspool
                   1453: PerlSetVar       lonCaptchaDb     /home/httpd/captchadb 
1.168     albertel 1454: PerlSetVar       lonFontsDir     /home/httpd/html/adm/fonts
1.166     banghart 1455: # & separated list of : separated fields in order of
1.119     albertel 1456: # - internal name to call it, 
                   1457: # - regexp that it should match (done case-insensitively)
                   1458: # - regexp that is should not match (done case-insensitively)
                   1459: # - regexp that will pull out the version number into $1
                   1460: # - a number that describes the minimum version that has mathml support
                   1461: # - a number that describes the minimum number version that has unicode support
                   1462: 
1.196     raeburn  1463: 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
1.119     albertel 1464: 
1.105     albertel 1465: PerlSetVar       lonTextBrowsers windows\s+ce:lynx
1.43      albertel 1466: PerlSetVar       lonScansDir  /home/httpd/scantron
                   1467: PerlSetVar       lonScriptTimeout 10
1.70      www      1468: PerlSetVar	 BugzillaHost	http://bugs.lon-capa.org/
                   1469: PerlSetVar	 FAQHost	http://help.lon-capa.org/
1.2       harris41 1470: # -----------------------------------------------------------------------------
                   1471: # NOTE: lonSqlAccess key is the password for the MySQL user
                   1472: # www@localhost.  This value must always be "localhostkey".
                   1473: # The only security risk occurs when somebody logs in as 'www' on your system
                   1474: # (in which case you have much bigger problems than whether or not they
                   1475: # can access the non-authoritative loncapa database on your machine).
                   1476: 
                   1477: PerlSetVar       lonSqlAccess   localhostkey
                   1478: 
1.86      foxr     1479: #----------------------------------------------------------------------------
                   1480: #
1.79      foxr     1481: #   Parameters used by secure lond/lonc
                   1482: 
                   1483: #
                   1484: #   Secure lond/lonc require ssl certificate and private
                   1485: #   key files to function correctly.  The certificate
                   1486: #   files need not be terribly secure, but the private key files
                   1487: #   should be set up so that only www (the lonc/lond effective user)
                   1488: #   can read them.
                   1489: # 
                   1490: #   The definition below is the full path to the directory that
                   1491: #   contains the certificate and key files:
1.82      foxr     1492: 
1.79      foxr     1493: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
                   1494: 
                   1495: #
                   1496: #  Secure lond/lonc require two certificates and a private host key.
                   1497: #  The certificates required are that of the lonCAPA certificate authority
                   1498: #  and the certificate that authority issued to this host.
                   1499: #  lonnetCertificateAuthority is the name of the file that contains the
                   1500: #                            lonCAPA certificate authority's certificate.
                   1501: #  lonnetCertificate is the name of the file that contains the certificate
                   1502: #                    issued to the host by the certificate authority.
                   1503: #  Both of these variables are names of files assumed to be in 
                   1504: #  lonCertificateDirectory:
                   1505: 
                   1506: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
                   1507: PerlSetVar lonnetCertificate          lonhostcert.pem
                   1508: 
                   1509: #
                   1510: #  To generate the request for a certificate, and to negotiate the
                   1511: #  initial ssl connection, the host requires a private key.  This key
                   1512: #  is created at lonCAPA install time.  Did we mention above that it
                   1513: #  should be set so that only www can read it?  The variale below
                   1514: #  is the name of the file relative to lonnetCertificateDirectory
                   1515: #  that has the host's private key.  Did we remember to tell you to
                   1516: #  keep the permissions on that file set to rw-------  (0600)?
                   1517: #  
                   1518: 
                   1519: PerlSetVar lonnetPrivateKey         lonKey.pem
                   1520: 
                   1521: # Did we mention that the file described above must have
                   1522: # permissions really locked down so that it can't be stolen?
                   1523: 
1.86      foxr     1524: #-------------------------------------------------------------------------
                   1525: 
                   1526: #   Parameters that define where all the ssl stuff is that's needed
                   1527: #   to generate certificate requests and, on a system that's a CA
                   1528: #   the certificate authority.
                   1529: #    
                   1530: #    SSLProgram    -> Path to the openssl command
                   1531: #    SSLDirectory  -> Directory containing ssl configuration files etc.
                   1532: #    SSLCAConfig   -> Name of the SSL config file for the certificate 
                   1533: #                     Authority.
1.87      foxr     1534: #    SSLCAFile     -> Full path to the Certificate authority file 
                   1535: #                    (on the cert manager system).
                   1536: #    SSLEmail      -> E-mail address of loncapa certificate manager.
1.86      foxr     1537: #    The following are good for the loncapa redhat installs and
                   1538: #    the loncapa certificate authority system:
                   1539: #
                   1540: PerlSetVar SSLProgram	/usr/bin/openssl
                   1541: PerlSetVar SSLDirectory /usr/share/ssl
                   1542: PerlSetVar SSLCAConfig  loncapaca
1.87      foxr     1543: PerlSetVar SSLCAFile    /usr/share/ssl/loncapaca/cacert.pem
1.93      albertel 1544: PerlSetVar SSLEmail     certificate@lon-capa.org
1.86      foxr     1545: 
                   1546: #-------------------------------------------------------------------------
                   1547: 
1.79      foxr     1548: 
1.204     raeburn  1549: # ====================================== Include support for SSL rewrites
                   1550: 
                   1551: Include conf/loncapa_rewrite.conf
1.79      foxr     1552: 
1.2       harris41 1553: 
1.8       harris41 1554: # ====================================== Include machine-specific configuration
1.2       harris41 1555: 
                   1556: Include conf/loncapa.conf
1.61      albertel 1557: 
                   1558: # ================================================= Include local configuration
                   1559: 
                   1560: Include conf/loncapa_apache_local*.conf
1.1       harris41 1561: 
                   1562: # ================================================== Initiate mod_perl starting
                   1563: 
                   1564: PerlRequire      conf/startup.pl
1.47      albertel 1565: <IfDefine !MODPERL2>
1.1       harris41 1566: PerlFreshRestart On
1.47      albertel 1567: </IfDefine>

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