Annotation of loncom/loncapa_apache.conf, revision 1.209

1.1       harris41    1: ##
                      2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
                      3: ##
1.209   ! raeburn     4: ## $Id: loncapa_apache.conf,v 1.208 2011/12/28 21:49:41 raeburn 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: 
1.207     raeburn  1100: <Location /adm/supplemental>
                   1101: AuthType LONCAPA
                   1102: Require valid-user
                   1103: PerlAuthzHandler       Apache::lonacc
                   1104: SetHandler perl-script
                   1105: PerlHandler Apache::londocs
                   1106: PerlCleanupHandler Apache::londocs::untiehash
                   1107: PerlCleanupHandler      Apache::lonacc::cleanup
                   1108: ErrorDocument     403 /adm/login
                   1109: ErrorDocument     500 /adm/errorhandler
                   1110: </Location>
                   1111: 
1.73      raeburn  1112: <Location /adm/imsimportdocs>
1.139     albertel 1113: AuthType LONCAPA
1.125     albertel 1114: Require valid-user
                   1115: PerlAuthzHandler       Apache::lonacc
1.73      raeburn  1116: SetHandler perl-script
1.126     albertel 1117: PerlHandler Apache::imsimportdocs
1.73      raeburn  1118: ErrorDocument     403 /adm/login
                   1119: ErrorDocument     500 /adm/errorhandler
1.10      www      1120: </Location>
                   1121: 
1.135     www      1122: <LocationMatch "^/adm/announcements">
1.139     albertel 1123: AuthType LONCAPA
1.125     albertel 1124: Require valid-user
                   1125: PerlAuthzHandler       Apache::lonacc
1.10      www      1126: SetHandler perl-script
1.126     albertel 1127: PerlHandler Apache::lonannounce
1.10      www      1128: ErrorDocument     403 /adm/login
                   1129: ErrorDocument	  500 /adm/errorhandler
1.135     www      1130: </LocationMatch>
1.10      www      1131: 
                   1132: <Location /adm/chat>
1.139     albertel 1133: AuthType LONCAPA
1.125     albertel 1134: Require valid-user
                   1135: PerlAuthzHandler       Apache::lonacc
1.10      www      1136: SetHandler perl-script
1.126     albertel 1137: PerlHandler Apache::lonchat
1.13      www      1138: ErrorDocument	  500 /adm/errorhandler
                   1139: </Location>
                   1140: 
                   1141: <Location /adm/chatfetch>
1.139     albertel 1142: AuthType LONCAPA
1.125     albertel 1143: Require valid-user
                   1144: PerlAuthzHandler       Apache::lonacc
1.13      www      1145: SetHandler perl-script
1.126     albertel 1146: PerlHandler Apache::lonchatfetch
1.20      www      1147: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1148: ErrorDocument	  500 /adm/errorhandler
                   1149: </Location>
                   1150: 
1.137     albertel 1151: <Location /adm/groupchat>
1.139     albertel 1152: AuthType LONCAPA
1.137     albertel 1153: Require valid-user
                   1154: PerlAuthzHandler       Apache::lonacc
                   1155: SetHandler perl-script
                   1156: PerlHandler Apache::longroupchat
                   1157: ErrorDocument     403 /adm/login
                   1158: ErrorDocument     500 /adm/errorhandler
                   1159: </Location>
                   1160: 
1.1       harris41 1161: <Location /adm/evaluate>
1.139     albertel 1162: AuthType LONCAPA
1.125     albertel 1163: Require valid-user
                   1164: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1165: SetHandler perl-script
1.126     albertel 1166: PerlHandler Apache::lonevaluate
1.1       harris41 1167: ErrorDocument     403 /adm/login
                   1168: ErrorDocument	  500 /adm/errorhandler
                   1169: </Location>
                   1170: 
                   1171: <Location /adm/preferences>
1.139     albertel 1172: AuthType LONCAPA
1.125     albertel 1173: Require valid-user
                   1174: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1175: SetHandler perl-script
1.126     albertel 1176: PerlHandler Apache::lonpreferences
1.1       harris41 1177: ErrorDocument     403 /adm/login
                   1178: ErrorDocument	  500 /adm/errorhandler
                   1179: </Location>
                   1180: 
                   1181: <Location /adm/communicate>
1.139     albertel 1182: AuthType LONCAPA
1.125     albertel 1183: Require valid-user
                   1184: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1185: SetHandler perl-script
1.126     albertel 1186: PerlHandler Apache::loncommunicate
1.1       harris41 1187: ErrorDocument     403 /adm/login
                   1188: ErrorDocument	  500 /adm/errorhandler
                   1189: </Location>
                   1190: 
                   1191: <Location /adm/searchcat>
1.139     albertel 1192: AuthType LONCAPA
1.125     albertel 1193: Require valid-user
                   1194: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1195: SetHandler perl-script
1.126     albertel 1196: PerlHandler Apache::lonsearchcat
1.28      www      1197: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.129     albertel 1198: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1199: ErrorDocument     403 /adm/login
1.20      www      1200: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1201: ErrorDocument	  500 /adm/errorhandler
                   1202: </Location>
                   1203: 
                   1204: <Location /adm/navmaps>
1.139     albertel 1205: AuthType LONCAPA
1.125     albertel 1206: Require valid-user
                   1207: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1208: SetHandler perl-script
1.160     albertel 1209: PerlHandler Apache::lonnavdisplay
1.1       harris41 1210: ErrorDocument     403 /adm/login
                   1211: ErrorDocument     406 /adm/roles
                   1212: ErrorDocument	  500 /adm/errorhandler
1.26      bowersj2 1213: </Location>
                   1214: 
                   1215: <Location /adm/quickgrades>
1.139     albertel 1216: AuthType LONCAPA
1.125     albertel 1217: Require valid-user
                   1218: PerlAuthzHandler       Apache::lonacc
1.26      bowersj2 1219: SetHandler perl-script
1.126     albertel 1220: PerlHandler Apache::lonquickgrades
1.26      bowersj2 1221: ErrorDocument     403 /adm/login
                   1222: ErrorDocument     406 /adm/roles
                   1223: ErrorDocument     500 /adm/errorhandler
1.1       harris41 1224: </Location>
                   1225: 
                   1226: <Location /adm/groupsort>
1.139     albertel 1227: AuthType LONCAPA
1.125     albertel 1228: Require valid-user
                   1229: PerlAuthzHandler	Apache::lonacc
1.1       harris41 1230: SetHandler perl-script
1.126     albertel 1231: PerlHandler Apache::groupsort
1.29      www      1232: PerlCleanupHandler Apache::groupsort::cleanup
1.129     albertel 1233: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1234: ErrorDocument     403 /adm/login
                   1235: ErrorDocument	  500 /adm/errorhandler
                   1236: </Location>
                   1237: 
1.197     wenzelju 1238: <Location /adm/wishlist>
                   1239: AuthType LONCAPA
                   1240: Require valid-user
                   1241: PerlAuthzHandler       Apache::lonacc
                   1242: SetHandler perl-script
1.202     wenzelju 1243: PerlHandler Apache::lonwishlistdisplay
1.197     wenzelju 1244: ErrorDocument     403 /adm/login
                   1245: ErrorDocument     406 /adm/roles
                   1246: ErrorDocument	  500 /adm/errorhandler
                   1247: </Location>
                   1248: 
1.208     raeburn  1249: <Location /adm/setblock>
                   1250: AuthType LONCAPA
                   1251: Require valid-user
                   1252: PerlAuthzHandler       Apache::lonacc
                   1253: SetHandler             perl-script
                   1254: PerlHandler            Apache::lonblockingmenu
                   1255: ErrorDocument     403 /adm/login
1.209   ! raeburn  1256: ErrorDocument     406 /adm/roles
1.208     raeburn  1257: ErrorDocument     500 /adm/errorhandler
                   1258: </Location>
                   1259: 
1.186     droeschl 1260: <Location /adm/blockingstatus>
1.188     droeschl 1261: PerlAccessHandler      Apache::publiccheck
1.186     droeschl 1262: AuthType LONCAPA
                   1263: Require valid-user
                   1264: PerlAuthzHandler       Apache::lonacc
1.188     droeschl 1265: SetHandler             perl-script
                   1266: PerlHandler            Apache::lonblockingstatus
1.186     droeschl 1267: </Location>
                   1268: 
1.1       harris41 1269: <Location /adm/errorhandler>
                   1270: SetHandler perl-script
1.126     albertel 1271: PerlHandler Apache::lonerrorhandler
1.1       harris41 1272: </Location>
                   1273: 
1.7       bowersj2 1274: <LocationMatch "^/adm/help/.*\.hlp$">
1.139     albertel 1275: AuthType LONCAPA
1.125     albertel 1276: Require valid-user
1.147     albertel 1277: PerlAccessHandler      Apache::publiccheck
1.125     albertel 1278: PerlAuthzHandler	Apache::lonacc
1.7       bowersj2 1279: SetHandler perl-script
1.126     albertel 1280: PerlHandler Apache::lonhelp
1.154     albertel 1281: ErrorDocument	  500 /adm/errorhandler
1.7       bowersj2 1282: </LocationMatch>
                   1283: 
1.90      raeburn  1284: <LocationMatch "^/adm/helpmenu">
1.139     albertel 1285: AuthType LONCAPA
1.125     albertel 1286: Require valid-user
                   1287: PerlAuthzHandler       Apache::lonacc
1.90      raeburn  1288: SetHandler perl-script
1.126     albertel 1289: PerlHandler Apache::lonhelpmenu
1.154     albertel 1290: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1291: </LocationMatch>
                   1292: 
                   1293: <LocationMatch "^/adm/support">
1.139     albertel 1294: AuthType LONCAPA
1.125     albertel 1295: Require valid-user
                   1296: PerlAuthzHandler       Apache::lonacc
1.90      raeburn  1297: SetHandler perl-script
1.126     albertel 1298: PerlHandler Apache::lonsupportreq
1.154     albertel 1299: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1300: </LocationMatch>
                   1301: 
1.100     raeburn  1302: <LocationMatch "^/adm/helpdesk">
                   1303: SetHandler perl-script
1.126     albertel 1304: PerlHandler Apache::lonsupportreq
1.154     albertel 1305: ErrorDocument	  500 /adm/errorhandler
1.100     raeburn  1306: </LocationMatch>
                   1307: 
1.133     albertel 1308: <LocationMatch "^/adm/css">
                   1309: SetHandler perl-script
                   1310: PerlHandler Apache::loncss
1.154     albertel 1311: ErrorDocument	  500 /adm/errorhandler
1.133     albertel 1312: </LocationMatch>
                   1313: 
1.155     raeburn  1314: <LocationMatch "^/adm/coursecatalog">
                   1315: SetHandler perl-script
                   1316: PerlHandler Apache::coursecatalog
1.156     albertel 1317: ErrorDocument	  500 /adm/errorhandler
1.155     raeburn  1318: </LocationMatch>
                   1319: 
1.161     raeburn  1320: <LocationMatch "^/adm/resetpw">
                   1321: SetHandler perl-script
                   1322: PerlHandler Apache::resetpw
                   1323: ErrorDocument     500 /adm/errorhandler
                   1324: </LocationMatch>
1.155     raeburn  1325: 
1.173     raeburn  1326: <LocationMatch "^/adm/selfenroll">
                   1327: SetHandler perl-script
                   1328: PerlHandler Apache::selfenroll
                   1329: ErrorDocument     500 /adm/errorhandler
                   1330: </LocationMatch>
                   1331: 
1.171     raeburn  1332: <LocationMatch "^/adm/createaccount">
                   1333: SetHandler perl-script
                   1334: PerlHandler Apache::createaccount
                   1335: ErrorDocument     500 /adm/errorhandler
                   1336: </LocationMatch>
                   1337: 
1.165     albertel 1338: <LocationMatch "^/adm/dns">
                   1339: SetHandler perl-script
                   1340: PerlHandler Apache::londns
                   1341: ErrorDocument     500 /adm/errorhandler
                   1342: </LocationMatch>
1.164     albertel 1343: 
1.1       harris41 1344: # ------------------------------------------------- Backdoor Adm Tests/Programs
                   1345: 
                   1346: <Location /adm/test>
1.181     raeburn  1347: PerlAccessHandler Apache::lonstatusacc
1.1       harris41 1348: SetHandler perl-script
1.126     albertel 1349: PerlHandler Apache::lontest
1.1       harris41 1350: </Location>
                   1351: 
                   1352: # ------------------------------------------------------- Shutting down a child
                   1353: 
1.129     albertel 1354: PerlChildExitHandler Apache::lonacc::goodbye
1.1       harris41 1355: 
                   1356: #
                   1357: # LON-CAPA Section (extensions to access.conf permission configuration)
                   1358: #
                   1359: # =========================================================== Directory Options
                   1360: 
                   1361: # Start out with "no"
                   1362: 
                   1363: <Directory />
                   1364: Options None
                   1365: AllowOverride None
1.158     raeburn  1366: order deny,allow
                   1367: deny from all
                   1368: </Directory>
                   1369: 
                   1370: # Allow uploaded files to be served
                   1371: 
                   1372: <Directory "/home/httpd/lonUsers">
                   1373: Options Includes FollowSymLinks
                   1374: AllowOverride None
                   1375: order allow,deny
                   1376: allow from all
                   1377: </Directory>
                   1378:  
                   1379: # Allow construction space files to be served
                   1380: 
                   1381: <Directory "/home/*/public_html/" >
                   1382: Options Includes FollowSymLinks
                   1383: AllowOverride
                   1384: order allow,deny
                   1385: allow from all
1.1       harris41 1386: </Directory>
                   1387: 
                   1388: # Yes to symbolic links and server-side includes
                   1389: 
                   1390: <Directory /home/httpd/html>
                   1391: Options Includes FollowSymLinks
                   1392: AllowOverride None
                   1393: order allow,deny
                   1394: allow from all
                   1395: </Directory>
                   1396: 
                   1397: # If it is in cgi-bin, then it can be executed as a CGI script.
                   1398: 
                   1399: <Directory /home/httpd/cgi-bin>
                   1400: AllowOverride None
1.157     albertel 1401: Options ExecCGI FollowSymLinks
1.159     raeburn  1402: order allow,deny
                   1403: allow from all
                   1404: </Directory>
                   1405: 
                   1406: # Allow serving of files in prtspool
                   1407: 
                   1408: <Directory "/home/httpd/prtspool/">
                   1409: Options Includes FollowSymLinks
                   1410: AllowOverride None
                   1411: order allow,deny
                   1412: allow from all
1.1       harris41 1413: </Directory>
                   1414: 
1.167     banghart 1415: # Allow serving of files in zipspool
                   1416: 
                   1417: <Directory "/home/httpd/zipspool/">
                   1418: Options Includes FollowSymLinks
                   1419: AllowOverride None
                   1420: order allow,deny
                   1421: allow from all
                   1422: </Directory>
                   1423: 
1.177     raeburn  1424: # Allow serving of files in captchaspool
                   1425: 
                   1426: <Directory "/home/httpd/captchaspool/">
                   1427: Options Includes FollowSymLinks
                   1428: AllowOverride None
                   1429: order allow,deny
                   1430: allow from all
                   1431: </Directory>
                   1432: 
1.1       harris41 1433: # ============================================================= Access Handlers
                   1434: 
                   1435: # ------------------------------------------------- Allow server-status reports
                   1436: <Location /server-status>
1.181     raeburn  1437: PerlAccessHandler Apache::lonstatusacc
1.1       harris41 1438: SetHandler server-status
                   1439: </Location>
                   1440: 
                   1441: # ------------------------ Allow LON-CAPA "low-level" connection status reports
1.181     raeburn  1442: <LocationMatch "^/+lon-status/.*">
                   1443: PerlAccessHandler Apache::lonstatusacc
                   1444: ErrorDocument     406 /adm/roles
                   1445: ErrorDocument     500 /adm/errorhandler
                   1446: </LocationMatch>
1.1       harris41 1447: 
                   1448: # ------------------- Allow access to local system documentation from localhost
                   1449: Alias /doc /usr/doc
                   1450: <Directory /usr/doc>
                   1451: order deny,allow
                   1452: deny from all
                   1453: allow from localhost
                   1454: Options Indexes FollowSymLinks
                   1455: </Directory>
                   1456: 
                   1457: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
                   1458: # ====================================== Internal Settings / Perl Configuration
                   1459: 
1.59      www      1460: PerlSetVar	 lonVersion   '<!-- VERSION -->'
1.1       harris41 1461: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
                   1462: PerlSetVar       lonTabDir    /home/httpd/lonTabs
                   1463: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
                   1464: PerlSetVar       lonIconsURL  /adm/lonIcons
                   1465: PerlSetVar       londPort     5663
                   1466: PerlSetVar       lonSysEMail  korte@lite.msu.edu
                   1467: PerlSetVar       lonDaemons   /home/httpd/perl
1.184     foxr     1468: PerlSetVar       lonLib       /home/httpd/lib
1.1       harris41 1469: PerlSetVar       lonSockDir   /home/httpd/sockets
1.164     albertel 1470: PerlSetVar       lonSockCreate   /home/httpd/sockets/common
1.1       harris41 1471: PerlSetVar       lonDocRoot   /home/httpd/html
1.98      albertel 1472: PerlSetVar       lonPrtDir    /home/httpd/prtspool
1.1       harris41 1473: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
1.166     banghart 1474: PerlSetVar       lonZipDir    /home/httpd/zipspool
1.177     raeburn  1475: PerlSetVar       lonCaptchaDir     /home/httpd/captchaspool
                   1476: PerlSetVar       lonCaptchaDb     /home/httpd/captchadb 
1.168     albertel 1477: PerlSetVar       lonFontsDir     /home/httpd/html/adm/fonts
1.166     banghart 1478: # & separated list of : separated fields in order of
1.119     albertel 1479: # - internal name to call it, 
                   1480: # - regexp that it should match (done case-insensitively)
                   1481: # - regexp that is should not match (done case-insensitively)
                   1482: # - regexp that will pull out the version number into $1
                   1483: # - a number that describes the minimum version that has mathml support
                   1484: # - a number that describes the minimum number version that has unicode support
                   1485: 
1.196     raeburn  1486: 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 1487: 
1.105     albertel 1488: PerlSetVar       lonTextBrowsers windows\s+ce:lynx
1.43      albertel 1489: PerlSetVar       lonScansDir  /home/httpd/scantron
                   1490: PerlSetVar       lonScriptTimeout 10
1.70      www      1491: PerlSetVar	 BugzillaHost	http://bugs.lon-capa.org/
                   1492: PerlSetVar	 FAQHost	http://help.lon-capa.org/
1.2       harris41 1493: # -----------------------------------------------------------------------------
                   1494: # NOTE: lonSqlAccess key is the password for the MySQL user
                   1495: # www@localhost.  This value must always be "localhostkey".
                   1496: # The only security risk occurs when somebody logs in as 'www' on your system
                   1497: # (in which case you have much bigger problems than whether or not they
                   1498: # can access the non-authoritative loncapa database on your machine).
                   1499: 
                   1500: PerlSetVar       lonSqlAccess   localhostkey
                   1501: 
1.86      foxr     1502: #----------------------------------------------------------------------------
                   1503: #
1.79      foxr     1504: #   Parameters used by secure lond/lonc
                   1505: 
                   1506: #
                   1507: #   Secure lond/lonc require ssl certificate and private
                   1508: #   key files to function correctly.  The certificate
                   1509: #   files need not be terribly secure, but the private key files
                   1510: #   should be set up so that only www (the lonc/lond effective user)
                   1511: #   can read them.
                   1512: # 
                   1513: #   The definition below is the full path to the directory that
                   1514: #   contains the certificate and key files:
1.82      foxr     1515: 
1.79      foxr     1516: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
                   1517: 
                   1518: #
                   1519: #  Secure lond/lonc require two certificates and a private host key.
                   1520: #  The certificates required are that of the lonCAPA certificate authority
                   1521: #  and the certificate that authority issued to this host.
                   1522: #  lonnetCertificateAuthority is the name of the file that contains the
                   1523: #                            lonCAPA certificate authority's certificate.
                   1524: #  lonnetCertificate is the name of the file that contains the certificate
                   1525: #                    issued to the host by the certificate authority.
                   1526: #  Both of these variables are names of files assumed to be in 
                   1527: #  lonCertificateDirectory:
                   1528: 
                   1529: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
                   1530: PerlSetVar lonnetCertificate          lonhostcert.pem
                   1531: 
                   1532: #
                   1533: #  To generate the request for a certificate, and to negotiate the
                   1534: #  initial ssl connection, the host requires a private key.  This key
                   1535: #  is created at lonCAPA install time.  Did we mention above that it
                   1536: #  should be set so that only www can read it?  The variale below
                   1537: #  is the name of the file relative to lonnetCertificateDirectory
                   1538: #  that has the host's private key.  Did we remember to tell you to
                   1539: #  keep the permissions on that file set to rw-------  (0600)?
                   1540: #  
                   1541: 
                   1542: PerlSetVar lonnetPrivateKey         lonKey.pem
                   1543: 
                   1544: # Did we mention that the file described above must have
                   1545: # permissions really locked down so that it can't be stolen?
                   1546: 
1.86      foxr     1547: #-------------------------------------------------------------------------
                   1548: 
                   1549: #   Parameters that define where all the ssl stuff is that's needed
                   1550: #   to generate certificate requests and, on a system that's a CA
                   1551: #   the certificate authority.
                   1552: #    
                   1553: #    SSLProgram    -> Path to the openssl command
                   1554: #    SSLDirectory  -> Directory containing ssl configuration files etc.
                   1555: #    SSLCAConfig   -> Name of the SSL config file for the certificate 
                   1556: #                     Authority.
1.87      foxr     1557: #    SSLCAFile     -> Full path to the Certificate authority file 
                   1558: #                    (on the cert manager system).
                   1559: #    SSLEmail      -> E-mail address of loncapa certificate manager.
1.86      foxr     1560: #    The following are good for the loncapa redhat installs and
                   1561: #    the loncapa certificate authority system:
                   1562: #
                   1563: PerlSetVar SSLProgram	/usr/bin/openssl
                   1564: PerlSetVar SSLDirectory /usr/share/ssl
                   1565: PerlSetVar SSLCAConfig  loncapaca
1.87      foxr     1566: PerlSetVar SSLCAFile    /usr/share/ssl/loncapaca/cacert.pem
1.93      albertel 1567: PerlSetVar SSLEmail     certificate@lon-capa.org
1.86      foxr     1568: 
                   1569: #-------------------------------------------------------------------------
                   1570: 
1.79      foxr     1571: 
1.204     raeburn  1572: # ====================================== Include support for SSL rewrites
                   1573: 
                   1574: Include conf/loncapa_rewrite.conf
1.79      foxr     1575: 
1.2       harris41 1576: 
1.8       harris41 1577: # ====================================== Include machine-specific configuration
1.2       harris41 1578: 
                   1579: Include conf/loncapa.conf
1.61      albertel 1580: 
                   1581: # ================================================= Include local configuration
                   1582: 
                   1583: Include conf/loncapa_apache_local*.conf
1.1       harris41 1584: 
                   1585: # ================================================== Initiate mod_perl starting
                   1586: 
                   1587: PerlRequire      conf/startup.pl
1.47      albertel 1588: <IfDefine !MODPERL2>
1.1       harris41 1589: PerlFreshRestart On
1.47      albertel 1590: </IfDefine>

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