Annotation of loncom/loncapa_apache.conf, revision 1.204

1.1       harris41    1: ##
                      2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
                      3: ##
1.204   ! raeburn     4: ## $Id: loncapa_apache.conf,v 1.203 2011/04/23 16:02:27 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.21      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
1.126     albertel  266: PerlHandler       Apache::lonconstruct
1.1       harris41  267: ErrorDocument     403 /adm/login
                    268: ErrorDocument     404 /adm/notfound.html
1.18      www       269: ErrorDocument     406 /adm/unauthorized
1.1       harris41  270: ErrorDocument	  500 /adm/errorhandler
                    271: </LocationMatch>
                    272: 
1.21      www       273: <LocationMatch "^/+raw.*">
1.1       harris41  274: PerlAccessHandler Apache::lonracc
                    275: </LocationMatch>
                    276: 
1.21      www       277: <LocationMatch "^/+\~.*">
1.139     albertel  278: AuthType LONCAPA
1.131     albertel  279: Require valid-user
1.125     albertel  280: PerlAuthzHandler Apache::loncacc
1.1       harris41  281: ErrorDocument     403 /adm/login
                    282: ErrorDocument     404 /adm/notfound.html
1.18      www       283: ErrorDocument     406 /adm/unauthorized
1.1       harris41  284: ErrorDocument	  500 /adm/errorhandler
                    285: </LocationMatch>
                    286: 
1.41      bowersj2  287: <LocationMatch "^/adm/helper/.*\.helper$">
1.139     albertel  288: AuthType LONCAPA
1.125     albertel  289: Require valid-user
1.142     albertel  290: PerlAuthzHandler  Apache::lonacc
1.41      bowersj2  291: SetHandler        perl-script
1.126     albertel  292: PerlHandler       Apache::lonhelper
1.41      bowersj2  293: ErrorDocument     403 /adm/login
                    294: ErrorDocument     404 /adm/notfound.html
                    295: ErrorDocument     406 /adm/unauthorized
                    296: ErrorDocument     500 /adm/errorhandler
                    297: </LocationMatch>
                    298: 
1.23      albertel  299: <LocationMatch "/prtspool">
1.139     albertel  300: AuthType LONCAPA
1.125     albertel  301: Require valid-user
                    302: PerlAuthzHandler Apache::lonacc
1.23      albertel  303: ErrorDocument     403 /adm/login
                    304: ErrorDocument     404 /adm/notfound.html
                    305: ErrorDocument     406 /adm/roles
1.99      www       306: ErrorDocument     413 /adm/overloaded.txt
1.23      albertel  307: ErrorDocument	  500 /adm/errorhandler
                    308: </LocationMatch>
1.167     banghart  309: 
                    310: <LocationMatch "/zipspool">
                    311: AuthType LONCAPA
                    312: Require valid-user
                    313: PerlAuthzHandler Apache::lonacc
                    314: ErrorDocument     403 /adm/login
                    315: ErrorDocument     404 /adm/notfound.html
                    316: ErrorDocument     406 /adm/roles
                    317: ErrorDocument     413 /adm/overloaded.txt
                    318: ErrorDocument	  500 /adm/errorhandler
                    319: </LocationMatch>
1.1       harris41  320: # ------------------------------------------------------------------------- RAT
                    321: 
                    322: <LocationMatch "^/\~.*\.sequence$">
                    323: SetHandler perl-script
1.126     albertel  324: PerlHandler Apache::lonratedt
1.1       harris41  325: </LocationMatch>
                    326: 
                    327: <LocationMatch "^/\~.*\.page$">
                    328: SetHandler perl-script
1.126     albertel  329: PerlHandler Apache::lonratedt
1.1       harris41  330: </LocationMatch>
                    331: 
                    332: <LocationMatch "^/\~.*\/ratserver$">
                    333: SetHandler perl-script
1.126     albertel  334: PerlHandler Apache::lonratsrv
1.1       harris41  335: </LocationMatch>
                    336: 
1.100     raeburn   337: <LocationMatch "^/\~.*\/adveditmenu$">
                    338: SetHandler perl-script
1.126     albertel  339: PerlHandler Apache::lonratmenu
1.100     raeburn   340: </LocationMatch>
                    341: 
1.1       harris41  342: <Location /adm/ratparms>
1.139     albertel  343: AuthType LONCAPA
1.125     albertel  344: Require valid-user
                    345: PerlAuthzHandler       Apache::lonacc
1.1       harris41  346: SetHandler perl-script
1.126     albertel  347: PerlHandler Apache::lonratparms
1.1       harris41  348: ErrorDocument     403 /adm/login
                    349: ErrorDocument	  500 /adm/errorhandler
                    350: </Location>
                    351: 
                    352: # --------------------------------------------- Resource Space Content Handlers
                    353: 
1.64      albertel  354: <LocationMatch "^/+res.*/$">
1.1       harris41  355: SetHandler perl-script
1.126     albertel  356: PerlHandler Apache::lonindexer
1.29      www       357: PerlCleanupHandler Apache::lonindexer::cleanup
1.129     albertel  358: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  359: </LocationMatch>
                    360: 
1.190     raeburn   361: <LocationMatch "^/+res.*\.tex$">
1.1       harris41  362: SetHandler perl-script
1.126     albertel  363: PerlHandler Apache::lontex
1.1       harris41  364: </LocationMatch>
                    365: 
1.71      www       366: <LocationMatch "^/+res/.*\.page$">
1.1       harris41  367: SetHandler perl-script
1.126     albertel  368: PerlHandler Apache::lonpage
1.1       harris41  369: </LocationMatch>
                    370: 
1.71      www       371: <LocationMatch "^/+res/.*\.sequence$">
1.1       harris41  372: SetHandler perl-script
1.126     albertel  373: PerlHandler Apache::lonsequence
1.1       harris41  374: </LocationMatch>
                    375: 
1.106     albertel  376: <LocationMatch "^/+(res|\~|public|uploaded|editupload|adm).*\.meta$">
1.132     albertel  377: PerlAccessHandler      Apache::publiccheck
1.1       harris41  378: SetHandler perl-script
1.126     albertel  379: PerlHandler Apache::lonmeta
1.99      www       380: ErrorDocument     413 /adm/overloaded.txt
1.39      www       381: </LocationMatch>
                    382: 
1.71      www       383: <LocationMatch "^/adm/bombs/">
1.139     albertel  384: AuthType LONCAPA
1.125     albertel  385: Require valid-user
1.71      www       386: SetHandler perl-script
1.125     albertel  387: PerlAuthzHandler Apache::lonacc
1.126     albertel  388: PerlHandler Apache::lonmeta
1.71      www       389: </LocationMatch>
                    390: 
                    391: 
                    392: 
                    393: <LocationMatch "^/+(res|\~).*\.rights$">
1.39      www       394: SetHandler perl-script
1.126     albertel  395: PerlHandler Apache::lonrights
1.1       harris41  396: </LocationMatch>
                    397: 
1.78      albertel  398: <LocationMatch "^/+(uploaded|res|\~).*\.(xml|html|htm|xhtml|xhtm|sty)$">
1.1       harris41  399: SetHandler perl-script
1.126     albertel  400: PerlHandler Apache::londatecheck
1.178     raeburn   401: PerlHandler Apache::lonipcheck
1.126     albertel  402: PerlHandler Apache::lonxml
1.1       harris41  403: </LocationMatch>
                    404: 
1.107     albertel  405: <LocationMatch "^/+(res|\~).*\.(task|problem|exam|quiz|assess|survey|form|library)$">
1.1       harris41  406: SetHandler perl-script
1.126     albertel  407: PerlHandler Apache::lonhomework
1.1       harris41  408: </LocationMatch>
                    409: 
1.190     raeburn   410: <LocationMatch "^/+\~.*\.(js|css|txt|tex)$">
1.185     raeburn   411: SetHandler perl-script
                    412: PerlHandler Apache::lonxml
                    413: </LocationMatch>
                    414: 
1.1       harris41  415: <LocationMatch "^/adm/wrapper/">
1.139     albertel  416: AuthType LONCAPA
1.125     albertel  417: Require valid-user
                    418: PerlAuthzHandler       Apache::lonacc
1.172     www       419: PerlHandler Apache::londatecheck
1.178     raeburn   420: PerlHandler Apache::lonipcheck
1.1       harris41  421: SetHandler perl-script
1.126     albertel  422: PerlHandler Apache::lonwrapper
1.66      www       423: ErrorDocument     403 /adm/login
                    424: ErrorDocument	  500 /adm/errorhandler
                    425: </LocationMatch>
                    426: 
1.113     www       427: <LocationMatch "^/adm/source">
1.139     albertel  428: AuthType LONCAPA
1.125     albertel  429: Require valid-user
                    430: PerlAuthzHandler       Apache::lonacc
1.83      taceyjo1  431: SetHandler perl-script
1.126     albertel  432: PerlHandler Apache::lonsource
1.83      taceyjo1  433: ErrorDocument     403 /adm/login
1.85      www       434: ErrorDocument     406 /adm/roles
1.83      taceyjo1  435: ErrorDocument	  500 /adm/errorhandler
                    436: </LocationMatch>
                    437: 
                    438: 
1.66      www       439: <LocationMatch "^/adm/localize/">
1.139     albertel  440: AuthType LONCAPA
1.125     albertel  441: Require valid-user
                    442: PerlAuthzHandler       Apache::lonacc
1.66      www       443: SetHandler perl-script
1.126     albertel  444: PerlHandler Apache::lonlocalize
1.1       harris41  445: ErrorDocument     403 /adm/login
                    446: ErrorDocument	  500 /adm/errorhandler
                    447: </LocationMatch>
                    448: 
                    449: # -------------------------------------------------------------- Admin Programs
1.24      albertel  450: 
                    451: <Location /adm/randomlabel.png>
1.139     albertel  452: AuthType LONCAPA
1.125     albertel  453: Require valid-user
                    454: PerlAuthzHandler       Apache::lonacc
1.24      albertel  455: SetHandler perl-script
1.126     albertel  456: PerlHandler Apache::randomlylabel
1.69      albertel  457: ErrorDocument     403 /adm/login
                    458: ErrorDocument	  500 /adm/errorhandler
                    459: </Location>
                    460: 
                    461: <Location /adm/imagechoice>
1.139     albertel  462: AuthType LONCAPA
1.125     albertel  463: Require valid-user
                    464: PerlAuthzHandler       Apache::lonacc
1.69      albertel  465: SetHandler perl-script
1.126     albertel  466: PerlHandler Apache::imagechoice
1.24      albertel  467: ErrorDocument     403 /adm/login
                    468: ErrorDocument	  500 /adm/errorhandler
                    469: </Location>
1.1       harris41  470: 
1.200     www       471: <Location /adm/searchcourse>
                    472: AuthType LONCAPA
                    473: Require valid-user
                    474: PerlAuthzHandler       Apache::lonacc
                    475: SetHandler perl-script
                    476: PerlHandler Apache::lonsearchcourse
                    477: ErrorDocument     403 /adm/login
                    478: ErrorDocument     500 /adm/errorhandler
                    479: </Location>
                    480: 
1.201     www       481: <Location /adm/indexcourse>
                    482: AuthType LONCAPA
                    483: Require valid-user
                    484: PerlAuthzHandler       Apache::lonacc
                    485: SetHandler perl-script
                    486: PerlHandler Apache::lonindexcourse
                    487: ErrorDocument     403 /adm/login
                    488: ErrorDocument     500 /adm/errorhandler
                    489: </Location>
1.200     www       490: 
1.1       harris41  491: <Location /adm/statistics>
1.139     albertel  492: AuthType LONCAPA
1.125     albertel  493: Require valid-user
                    494: PerlAuthzHandler       Apache::lonacc
1.1       harris41  495: SetHandler perl-script
1.126     albertel  496: PerlHandler Apache::lonstatistics
1.1       harris41  497: ErrorDocument     403 /adm/login
1.20      www       498: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  499: ErrorDocument	  500 /adm/errorhandler
                    500: </Location>
                    501: 
1.92      matthew   502: <Location /adm/trackstudent>
1.139     albertel  503: AuthType LONCAPA
1.125     albertel  504: Require valid-user
                    505: PerlAuthzHandler       Apache::lonacc
1.92      matthew   506: SetHandler perl-script
1.126     albertel  507: PerlHandler Apache::lontrackstudent
1.92      matthew   508: ErrorDocument     403 /adm/login
                    509: ErrorDocument     413 /adm/overloaded.txt
                    510: ErrorDocument	  500 /adm/errorhandler
                    511: </Location>
                    512: 
1.1       harris41  513: <Location /adm/roles>
1.139     albertel  514: AuthType LONCAPA
1.125     albertel  515: Require valid-user
                    516: PerlAuthzHandler       Apache::lonacc
1.1       harris41  517: SetHandler perl-script
1.126     albertel  518: PerlHandler Apache::lonroles
1.33      www       519: ErrorDocument     403 /adm/login
1.174     www       520: ErrorDocument     409 /adm/preferences?action=lockwarning
1.33      www       521: ErrorDocument	  500 /adm/errorhandler
                    522: </Location>
                    523: 
                    524: <Location /adm/menu>
1.139     albertel  525: AuthType LONCAPA
1.125     albertel  526: Require valid-user
                    527: PerlAuthzHandler       Apache::lonacc
1.33      www       528: SetHandler perl-script
1.128     albertel  529: PerlHandler Apache::lonmainmenu
1.42      www       530: ErrorDocument     403 /adm/login
                    531: ErrorDocument	  500 /adm/errorhandler
                    532: </Location>
                    533: 
1.203     www       534: <Location /adm/pickresource>
                    535: AuthType LONCAPA
                    536: Require valid-user
                    537: PerlAuthzHandler       Apache::lonacc
                    538: SetHandler perl-script
                    539: PerlHandler Apache::lonpickresource
                    540: ErrorDocument     403 /adm/login
                    541: ErrorDocument     500 /adm/errorhandler
                    542: </Location>
                    543: 
1.176     raeburn   544: <Location /adm/pickauthor>
                    545: AuthType LONCAPA
                    546: Require valid-user
                    547: PerlAuthzHandler       Apache::lonacc
                    548: SetHandler perl-script
                    549: PerlHandler Apache::lonpickauthor
                    550: ErrorDocument     403 /adm/login
                    551: ErrorDocument     500 /adm/errorhandler
                    552: </Location>
                    553: 
1.27      www       554: <Location /adm/pickstudent>
1.139     albertel  555: AuthType LONCAPA
1.125     albertel  556: Require valid-user
                    557: PerlAuthzHandler       Apache::lonacc
1.27      www       558: SetHandler perl-script
1.126     albertel  559: PerlHandler Apache::lonpickstudent
1.40      www       560: ErrorDocument     403 /adm/login
                    561: ErrorDocument	  500 /adm/errorhandler
                    562: </Location>
                    563: 
1.187     raeburn   564: <Location /adm/pickuser>
                    565: AuthType LONCAPA
                    566: Require valid-user
                    567: PerlAuthzHandler       Apache::lonacc
                    568: SetHandler perl-script
                    569: PerlHandler Apache::lonpickuser
                    570: ErrorDocument     403 /adm/login
                    571: ErrorDocument     406 /adm/roles
                    572: ErrorDocument     500 /adm/errorhandler
                    573: </Location>
                    574: 
1.40      www       575: <Location /adm/pickcourse>
1.139     albertel  576: AuthType LONCAPA
1.125     albertel  577: Require valid-user
                    578: PerlAuthzHandler       Apache::lonacc
1.40      www       579: SetHandler perl-script
1.126     albertel  580: PerlHandler Apache::lonpickcourse
1.77      albertel  581: ErrorDocument     403 /adm/login
                    582: ErrorDocument	  500 /adm/errorhandler
                    583: </Location>
                    584: 
                    585: <Location /adm/pickcode>
1.139     albertel  586: AuthType LONCAPA
1.125     albertel  587: Require valid-user
                    588: PerlAuthzHandler       Apache::lonacc
1.77      albertel  589: SetHandler perl-script
1.126     albertel  590: PerlHandler Apache::lonpickcode
1.1       harris41  591: ErrorDocument     403 /adm/login
                    592: ErrorDocument	  500 /adm/errorhandler
                    593: </Location>
                    594: 
                    595: <Location /adm/login>
                    596: SetHandler perl-script
1.126     albertel  597: PerlHandler Apache::lonlogin
1.1       harris41  598: </Location>
                    599: 
1.148     raeburn   600: <Location /adm/restrictedaccess>
                    601: PerlAccessHandler      Apache::publiccheck
                    602: AuthType LONCAPA
1.152     albertel  603: Require valid-user
1.148     raeburn   604: SetHandler perl-script
1.149     albertel  605: PerlAuthzHandler       Apache::lonacc
1.148     raeburn   606: PerlHandler Apache::restrictedaccess
1.154     albertel  607: ErrorDocument	  500 /adm/errorhandler
1.148     raeburn   608: </Location>
                    609: 
1.162     raeburn   610: <Location /adm/blockedaccess>
                    611: PerlAccessHandler      Apache::publiccheck
                    612: AuthType LONCAPA
                    613: Require valid-user
                    614: SetHandler perl-script
                    615: PerlAuthzHandler       Apache::lonacc
                    616: PerlHandler Apache::blockedaccess
                    617: ErrorDocument     500 /adm/errorhandler
                    618: </Location>
                    619: 
1.1       harris41  620: <Location /adm/logout>
1.139     albertel  621: AuthType LONCAPA
1.125     albertel  622: Require valid-user
                    623: PerlAuthzHandler       Apache::lonacc
1.1       harris41  624: SetHandler perl-script
1.126     albertel  625: PerlHandler Apache::lonlogout
1.1       harris41  626: ErrorDocument     403 /adm/login
1.175     www       627: ErrorDocument     409 /adm/preferences?action=lockwarning
1.154     albertel  628: ErrorDocument	  500 /adm/errorhandler
1.1       harris41  629: </Location>
                    630: 
1.117     albertel  631: <Location /adm/switchserver>
1.139     albertel  632: AuthType LONCAPA
1.125     albertel  633: Require valid-user
                    634: PerlAuthzHandler       Apache::lonacc
1.117     albertel  635: SetHandler perl-script
1.126     albertel  636: PerlHandler Apache::switchserver
1.117     albertel  637: ErrorDocument     403 /adm/login
1.154     albertel  638: ErrorDocument	  500 /adm/errorhandler
1.117     albertel  639: </Location>
                    640: 
1.1       harris41  641: <Location /adm/authenticate>
                    642: SetHandler perl-script
1.126     albertel  643: PerlHandler Apache::lonauth
1.1       harris41  644: </Location>
                    645: 
1.117     albertel  646: <Location /adm/migrateuser>
                    647: SetHandler perl-script
1.126     albertel  648: PerlHandler Apache::migrateuser
1.117     albertel  649: </Location>
                    650: 
1.1       harris41  651: <Location /adm/annotations>
1.139     albertel  652: AuthType LONCAPA
1.125     albertel  653: Require valid-user
                    654: PerlAuthzHandler       Apache::lonacc
1.1       harris41  655: SetHandler perl-script
1.126     albertel  656: PerlHandler Apache::admannotations
1.1       harris41  657: ErrorDocument     403 /adm/login
                    658: ErrorDocument	  500 /adm/errorhandler
                    659: </Location>
                    660: 
1.91      www       661: <Location /adm/spellcheck>
1.139     albertel  662: AuthType LONCAPA
1.125     albertel  663: Require valid-user
                    664: PerlAuthzHandler       Apache::lonacc
1.91      www       665: SetHandler perl-script
1.126     albertel  666: PerlHandler Apache::lonspeller
1.91      www       667: ErrorDocument     403 /adm/login
                    668: ErrorDocument	  500 /adm/errorhandler
                    669: </Location>
                    670: 
1.1       harris41  671: <Location /adm/flip>
1.139     albertel  672: AuthType LONCAPA
1.125     albertel  673: Require valid-user
                    674: PerlAuthzHandler       Apache::lonacc
1.1       harris41  675: SetHandler perl-script
1.126     albertel  676: PerlHandler Apache::lonpageflip
1.30      www       677: PerlCleanupHandler Apache::lonpageflip::cleanup
1.129     albertel  678: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  679: ErrorDocument     406 /adm/roles
                    680: ErrorDocument     403 /adm/login
                    681: ErrorDocument	  500 /adm/errorhandler
                    682: </Location>
                    683: 
                    684: <Location /adm/ambiguous>
1.139     albertel  685: AuthType LONCAPA
1.125     albertel  686: Require valid-user
                    687: PerlAuthzHandler       Apache::lonacc
1.1       harris41  688: SetHandler perl-script
1.126     albertel  689: PerlHandler Apache::lonambiguous
1.30      www       690: PerlCleanupHandler Apache::lonambiguous::cleanup
1.129     albertel  691: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  692: ErrorDocument     403 /adm/login
                    693: ErrorDocument	  500 /adm/errorhandler
                    694: </Location>
                    695: 
                    696: <Location /adm/email>
1.139     albertel  697: AuthType LONCAPA
1.125     albertel  698: Require valid-user
                    699: PerlAuthzHandler       Apache::lonacc
1.1       harris41  700: SetHandler perl-script
1.130     albertel  701: PerlHandler Apache::lonmsgdisplay
1.1       harris41  702: ErrorDocument     403 /adm/login
                    703: ErrorDocument	  500 /adm/errorhandler
                    704: </Location>
                    705: 
1.116     raeburn   706: <Location /adm/notify>
1.139     albertel  707: AuthType LONCAPA
1.125     albertel  708: Require valid-user
                    709: PerlAuthzHandler       Apache::lonacc
1.116     raeburn   710: SetHandler perl-script
1.126     albertel  711: PerlHandler Apache::lonnotify
1.116     raeburn   712: ErrorDocument     403 /adm/login
                    713: ErrorDocument     500 /adm/errorhandler
                    714: </Location>
                    715: 
1.1       harris41  716: <Location /adm/parmset>
1.139     albertel  717: AuthType LONCAPA
1.125     albertel  718: Require valid-user
                    719: PerlAuthzHandler       Apache::lonacc
1.1       harris41  720: SetHandler perl-script
1.126     albertel  721: PerlHandler Apache::lonparmset
1.31      bowersj2  722: ErrorDocument     403 /adm/login
                    723: ErrorDocument     406 /adm/roles
                    724: ErrorDocument	  500 /adm/errorhandler
                    725: </Location>
                    726: 
1.185     raeburn   727: <Location /adm/courseprefs>
                    728: AuthType LONCAPA
                    729: Require valid-user
                    730: PerlAuthzHandler       Apache::lonacc
                    731: SetHandler perl-script
                    732: PerlHandler Apache::courseprefs
                    733: ErrorDocument     403 /adm/login
                    734: ErrorDocument     406 /adm/roles
                    735: ErrorDocument     500 /adm/errorhandler
                    736: </Location>
                    737: 
1.110     albertel  738: <Location /adm/slotrequest>
1.139     albertel  739: AuthType LONCAPA
1.125     albertel  740: Require valid-user
                    741: PerlAuthzHandler       Apache::lonacc
1.110     albertel  742: SetHandler perl-script
1.126     albertel  743: PerlHandler Apache::slotrequest
1.110     albertel  744: ErrorDocument     403 /adm/login
                    745: ErrorDocument     406 /adm/roles
                    746: ErrorDocument	  500 /adm/errorhandler
                    747: </Location>
                    748: 
1.31      bowersj2  749: <Location /adm/wizard>
1.139     albertel  750: AuthType LONCAPA
1.125     albertel  751: Require valid-user
                    752: PerlAuthzHandler       Apache::lonacc
1.31      bowersj2  753: SetHandler perl-script
1.126     albertel  754: PerlHandler Apache::lonwizard
1.1       harris41  755: ErrorDocument     403 /adm/login
                    756: ErrorDocument     406 /adm/roles
                    757: ErrorDocument	  500 /adm/errorhandler
                    758: </Location>
                    759: 
                    760: <Location /adm/grades>
1.139     albertel  761: AuthType LONCAPA
1.125     albertel  762: Require valid-user
                    763: PerlAuthzHandler       Apache::lonacc
1.1       harris41  764: SetHandler perl-script
1.126     albertel  765: PerlHandler Apache::grades
1.1       harris41  766: ErrorDocument     403 /adm/login
                    767: ErrorDocument     406 /adm/roles
                    768: ErrorDocument	  500 /adm/errorhandler
                    769: </Location>
                    770: 
1.187     raeburn   771: <Location /adm/requestcourse>
                    772: AuthType LONCAPA
                    773: Require valid-user
                    774: PerlAuthzHandler       Apache::lonacc
                    775: SetHandler perl-script
                    776: PerlHandler Apache::lonrequestcourse
                    777: ErrorDocument     403 /adm/login
                    778: ErrorDocument     406 /adm/roles
                    779: ErrorDocument     500 /adm/errorhandler
                    780: </Location>
                    781: 
1.1       harris41  782: <Location /adm/createcourse>
1.139     albertel  783: AuthType LONCAPA
1.125     albertel  784: Require valid-user
                    785: PerlAuthzHandler       Apache::lonacc
1.1       harris41  786: SetHandler perl-script
1.126     albertel  787: PerlHandler Apache::loncreatecourse
1.1       harris41  788: ErrorDocument     403 /adm/login
                    789: ErrorDocument     406 /adm/roles
                    790: ErrorDocument	  500 /adm/errorhandler
1.67      raeburn   791: </Location>
                    792: 
                    793: <Location /adm/modifycourse>
1.139     albertel  794: AuthType LONCAPA
1.125     albertel  795: Require valid-user
                    796: PerlAuthzHandler       Apache::lonacc
1.67      raeburn   797: SetHandler perl-script
1.126     albertel  798: PerlHandler Apache::lonmodifycourse
1.67      raeburn   799: ErrorDocument     403 /adm/login
                    800: ErrorDocument     406 /adm/roles
                    801: ErrorDocument     500 /adm/errorhandler
1.1       harris41  802: </Location>
                    803: 
1.163     raeburn   804: <Location /adm/domainprefs>
                    805: AuthType LONCAPA
                    806: Require valid-user
                    807: PerlAuthzHandler       Apache::lonacc
                    808: SetHandler perl-script
                    809: PerlHandler Apache::domainprefs
                    810: ErrorDocument     403 /adm/login
                    811: ErrorDocument     406 /adm/roles
                    812: ErrorDocument     500 /adm/errorhandler
                    813: </Location>
                    814: 
1.182     raeburn   815: <Location /adm/domainstatus>
                    816: PerlAccessHandler       Apache::lonstatusacc
                    817: SetHandler perl-script
                    818: PerlHandler Apache::domainstatus
                    819: ErrorDocument     403 /adm/login
                    820: ErrorDocument     406 /adm/roles
                    821: ErrorDocument     500 /adm/errorhandler
                    822: </Location>
                    823: 
1.1       harris41  824: <Location /adm/createuser>
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::loncreateuser
1.1       harris41  830: ErrorDocument     403 /adm/login
                    831: ErrorDocument     406 /adm/roles
                    832: ErrorDocument	  500 /adm/errorhandler
                    833: </Location>
                    834: 
                    835: <Location /adm/publish>
1.139     albertel  836: AuthType LONCAPA
1.125     albertel  837: Require valid-user
                    838: PerlAuthzHandler       Apache::lonacc
1.1       harris41  839: SetHandler perl-script
1.126     albertel  840: PerlHandler Apache::lonpublisher
1.1       harris41  841: ErrorDocument     403 /adm/login
                    842: ErrorDocument     404 /adm/notfound.html
1.18      www       843: ErrorDocument     406 /adm/unauthorized
1.1       harris41  844: ErrorDocument	  500 /adm/errorhandler
                    845: </Location>
                    846: 
1.64      albertel  847: <LocationMatch "^/+\~.*/$">
1.139     albertel  848: AuthType LONCAPA
1.131     albertel  849: Require valid-user
1.125     albertel  850: PerlAuthzHandler       Apache::loncacc
1.1       harris41  851: SetHandler perl-script
1.126     albertel  852: PerlHandler Apache::lonpubdir
1.1       harris41  853: ErrorDocument     403 /adm/login
                    854: ErrorDocument     404 /adm/notfound.html
1.18      www       855: ErrorDocument     406 /adm/unauthorized
1.1       harris41  856: ErrorDocument	  500 /adm/errorhandler
                    857: </LocationMatch>
                    858: 
                    859: <Location /adm/pubdir>
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::lonpubdir
1.1       harris41  865: ErrorDocument     403 /adm/login
                    866: ErrorDocument     404 /adm/notfound.html
1.18      www       867: ErrorDocument     406 /adm/unauthorized
                    868: ErrorDocument	  500 /adm/errorhandler
                    869: </Location>
                    870: 
                    871: <Location /adm/unauthorized>
1.139     albertel  872: AuthType LONCAPA
1.125     albertel  873: Require valid-user
                    874: PerlAuthzHandler       Apache::lonacc
1.18      www       875: SetHandler perl-script
1.126     albertel  876: PerlHandler Apache::lonunauthorized
1.18      www       877: ErrorDocument     403 /adm/login
                    878: ErrorDocument     404 /adm/notfound.html
1.1       harris41  879: ErrorDocument	  500 /adm/errorhandler
                    880: </Location>
                    881: 
                    882: <Location /adm/retrieve>
1.139     albertel  883: AuthType LONCAPA
1.125     albertel  884: Require valid-user
                    885: PerlAuthzHandler       Apache::lonacc
1.1       harris41  886: SetHandler perl-script
1.126     albertel  887: PerlHandler Apache::lonretrieve
1.1       harris41  888: ErrorDocument     403 /adm/login
                    889: ErrorDocument     404 /adm/notfound.html
1.18      www       890: ErrorDocument     406 /adm/unauthorized
1.1       harris41  891: ErrorDocument	  500 /adm/errorhandler
                    892: </Location>
                    893: 
1.109     www       894: <Location /adm/cleanup>
1.139     albertel  895: AuthType LONCAPA
1.125     albertel  896: Require valid-user
                    897: PerlAuthzHandler       Apache::lonacc
1.109     www       898: SetHandler perl-script
1.126     albertel  899: PerlHandler Apache::loncleanup
1.109     www       900: ErrorDocument     403 /adm/login
                    901: ErrorDocument     404 /adm/notfound.html
                    902: ErrorDocument     406 /adm/unauthorized
                    903: ErrorDocument	  500 /adm/errorhandler
                    904: </Location>
                    905: 
1.1       harris41  906: <Location /adm/cfile>
1.139     albertel  907: AuthType LONCAPA
1.125     albertel  908: Require valid-user
                    909: PerlAuthzHandler       Apache::lonacc
1.1       harris41  910: SetHandler perl-script
1.126     albertel  911: PerlHandler Apache::loncfile
1.1       harris41  912: ErrorDocument     403 /adm/login
                    913: ErrorDocument     404 /adm/notfound.html
1.18      www       914: ErrorDocument     406 /adm/unauthorized
1.1       harris41  915: ErrorDocument	  500 /adm/errorhandler
                    916: </Location>
                    917: 
                    918: <Location /adm/diff>
1.139     albertel  919: AuthType LONCAPA
1.125     albertel  920: Require valid-user
                    921: PerlAuthzHandler       Apache::lonacc
1.1       harris41  922: SetHandler perl-script
1.126     albertel  923: PerlHandler Apache::londiff
1.1       harris41  924: ErrorDocument     403 /adm/login
                    925: ErrorDocument     404 /adm/notfound.html
1.18      www       926: ErrorDocument     406 /adm/unauthorized
1.1       harris41  927: ErrorDocument	  500 /adm/errorhandler
                    928: </Location>
                    929: 
                    930: <Location /adm/upload>
1.139     albertel  931: AuthType LONCAPA
1.125     albertel  932: Require valid-user
                    933: PerlAuthzHandler       Apache::lonacc
1.1       harris41  934: SetHandler perl-script
1.126     albertel  935: PerlHandler Apache::lonupload
1.1       harris41  936: ErrorDocument     403 /adm/login
                    937: ErrorDocument     404 /adm/notfound.html
1.18      www       938: ErrorDocument     406 /adm/unauthorized
1.1       harris41  939: ErrorDocument	  500 /adm/errorhandler
1.72      raeburn   940: </Location>
                    941: 
1.73      raeburn   942: <Location /adm/imsimport>
1.139     albertel  943: AuthType LONCAPA
1.125     albertel  944: Require valid-user
                    945: PerlAuthzHandler       Apache::lonacc
1.73      raeburn   946: SetHandler perl-script
1.126     albertel  947: PerlHandler Apache::imsimport
1.73      raeburn   948: ErrorDocument     403 /adm/login
                    949: ErrorDocument     404 /adm/notfound.html
                    950: ErrorDocument     406 /adm/unauthorized
                    951: ErrorDocument     500 /adm/errorhandler
                    952: </Location>
                    953: 
1.72      raeburn   954: <Location /adm/testbank>
1.139     albertel  955: AuthType LONCAPA
1.125     albertel  956: Require valid-user
                    957: PerlAuthzHandler       Apache::lonacc
1.72      raeburn   958: SetHandler perl-script
1.126     albertel  959: PerlHandler Apache::testbankimport
1.72      raeburn   960: ErrorDocument     403 /adm/login
                    961: ErrorDocument     404 /adm/notfound.html
                    962: ErrorDocument     406 /adm/unauthorized
                    963: ErrorDocument     500 /adm/errorhandler
1.1       harris41  964: </Location>
                    965: 
                    966: <Location /adm/assesscalc>
1.139     albertel  967: AuthType LONCAPA
1.125     albertel  968: Require valid-user
                    969: PerlAuthzHandler       Apache::lonacc
1.1       harris41  970: SetHandler perl-script
1.126     albertel  971: PerlHandler Apache::lonspreadsheet
1.1       harris41  972: ErrorDocument     403 /adm/login
                    973: ErrorDocument     406 /adm/roles
1.20      www       974: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  975: ErrorDocument	  500 /adm/errorhandler
                    976: </Location>
                    977: 
                    978: <Location /adm/studentcalc>
1.139     albertel  979: AuthType LONCAPA
1.125     albertel  980: Require valid-user
                    981: PerlAuthzHandler       Apache::lonacc
1.1       harris41  982: SetHandler perl-script
1.126     albertel  983: PerlHandler Apache::lonspreadsheet
1.1       harris41  984: ErrorDocument     403 /adm/login
                    985: ErrorDocument     406 /adm/roles
1.20      www       986: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  987: ErrorDocument	  500 /adm/errorhandler
                    988: </Location>
                    989: 
                    990: <Location /adm/classcalc>
1.139     albertel  991: AuthType LONCAPA
1.125     albertel  992: Require valid-user
                    993: PerlAuthzHandler       Apache::lonacc
1.1       harris41  994: SetHandler perl-script
1.126     albertel  995: PerlHandler Apache::lonspreadsheet
1.1       harris41  996: ErrorDocument     403 /adm/login
                    997: ErrorDocument     406 /adm/roles
1.20      www       998: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  999: ErrorDocument	  500 /adm/errorhandler
                   1000: </Location>
                   1001: 
                   1002: <Location /adm/dropadd>
1.139     albertel 1003: AuthType LONCAPA
1.125     albertel 1004: Require valid-user
                   1005: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1006: SetHandler perl-script
1.126     albertel 1007: PerlHandler Apache::londropadd
1.44      www      1008: ErrorDocument     403 /adm/login
                   1009: ErrorDocument     406 /adm/roles
                   1010: ErrorDocument	  500 /adm/errorhandler
1.65      raeburn  1011: </Location>
                   1012: 
1.92      matthew  1013: <Location /adm/viewclasslist>
1.139     albertel 1014: AuthType LONCAPA
1.125     albertel 1015: Require valid-user
                   1016: PerlAuthzHandler       Apache::lonacc
1.92      matthew  1017: SetHandler perl-script
1.126     albertel 1018: PerlHandler Apache::lonviewclasslist
1.92      matthew  1019: ErrorDocument     403 /adm/login
                   1020: ErrorDocument     406 /adm/roles
                   1021: ErrorDocument	  500 /adm/errorhandler
                   1022: </Location>
                   1023: 
1.118     raeburn  1024: <Location /adm/coursegroups>
1.139     albertel 1025: AuthType LONCAPA
1.125     albertel 1026: Require valid-user
                   1027: PerlAuthzHandler       Apache::lonacc
1.118     raeburn  1028: SetHandler perl-script
1.126     albertel 1029: PerlHandler Apache::loncoursegroups
1.118     raeburn  1030: ErrorDocument     403 /adm/login
                   1031: ErrorDocument     406 /adm/roles
                   1032: ErrorDocument     500 /adm/errorhandler
                   1033: </Location>
                   1034: 
1.143     raeburn  1035: <Location /adm/groupboards>
                   1036: AuthType LONCAPA
                   1037: Require valid-user
                   1038: PerlAuthzHandler       Apache::lonacc
                   1039: SetHandler perl-script
                   1040: PerlHandler Apache::groupboards
                   1041: ErrorDocument     403 /adm/login
                   1042: ErrorDocument     406 /adm/roles
                   1043: ErrorDocument     500 /adm/errorhandler
                   1044: </Location>
                   1045: 
1.144     raeburn  1046: <Location /adm/grouproster>
                   1047: AuthType LONCAPA
                   1048: Require valid-user
                   1049: PerlAuthzHandler       Apache::lonacc
                   1050: SetHandler perl-script
                   1051: PerlHandler Apache::grouproster
                   1052: ErrorDocument     403 /adm/login
                   1053: ErrorDocument     406 /adm/roles
                   1054: ErrorDocument     500 /adm/errorhandler
                   1055: </Location>
                   1056: 
1.112     raeburn  1057: <Location /adm/whatsnew>
1.139     albertel 1058: AuthType LONCAPA
1.125     albertel 1059: Require valid-user
                   1060: PerlAuthzHandler       Apache::lonacc
1.112     raeburn  1061: SetHandler perl-script
1.126     albertel 1062: PerlHandler Apache::lonwhatsnew
1.112     raeburn  1063: ErrorDocument     403 /adm/login
                   1064: ErrorDocument     406 /adm/roles
                   1065: ErrorDocument     500 /adm/errorhandler
                   1066: </Location>
                   1067: 
1.65      raeburn  1068: <Location /adm/populate>
1.139     albertel 1069: AuthType LONCAPA
1.125     albertel 1070: Require valid-user
                   1071: PerlAuthzHandler       Apache::lonacc
1.65      raeburn  1072: SetHandler perl-script
1.126     albertel 1073: PerlHandler Apache::lonpopulate
1.65      raeburn  1074: ErrorDocument     403 /adm/login
                   1075: ErrorDocument     406 /adm/roles
                   1076: ErrorDocument     500 /adm/errorhandler
1.44      www      1077: </Location>
                   1078: 
                   1079: <Location /adm/managekeys>
1.139     albertel 1080: AuthType LONCAPA
1.125     albertel 1081: Require valid-user
                   1082: PerlAuthzHandler       Apache::lonacc
1.44      www      1083: SetHandler perl-script
1.126     albertel 1084: PerlHandler Apache::lonmanagekeys
1.1       harris41 1085: ErrorDocument     403 /adm/login
                   1086: ErrorDocument     406 /adm/roles
                   1087: ErrorDocument	  500 /adm/errorhandler
                   1088: </Location>
                   1089: 
                   1090: <Location /adm/printout>
1.139     albertel 1091: AuthType LONCAPA
1.125     albertel 1092: Require valid-user
                   1093: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1094: SetHandler perl-script
1.126     albertel 1095: PerlHandler Apache::lonprintout
1.1       harris41 1096: ErrorDocument     403 /adm/login
1.20      www      1097: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1098: ErrorDocument	  500 /adm/errorhandler
                   1099: </Location>
                   1100: 
                   1101: <Location /adm/feedback>
1.139     albertel 1102: AuthType LONCAPA
1.125     albertel 1103: Require valid-user
                   1104: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1105: SetHandler perl-script
1.126     albertel 1106: PerlHandler Apache::lonfeedback
1.10      www      1107: ErrorDocument     403 /adm/login
                   1108: ErrorDocument	  500 /adm/errorhandler
                   1109: </Location>
                   1110: 
                   1111: <Location /adm/coursedocs>
1.139     albertel 1112: AuthType LONCAPA
1.125     albertel 1113: Require valid-user
                   1114: PerlAuthzHandler       Apache::lonacc
1.10      www      1115: SetHandler perl-script
1.126     albertel 1116: PerlHandler Apache::londocs
1.108     albertel 1117: PerlCleanupHandler Apache::londocs::untiehash
1.129     albertel 1118: PerlCleanupHandler	Apache::lonacc::cleanup
1.10      www      1119: ErrorDocument     403 /adm/login
                   1120: ErrorDocument	  500 /adm/errorhandler
1.73      raeburn  1121: </Location>
                   1122: 
                   1123: <Location /adm/imsimportdocs>
1.139     albertel 1124: AuthType LONCAPA
1.125     albertel 1125: Require valid-user
                   1126: PerlAuthzHandler       Apache::lonacc
1.73      raeburn  1127: SetHandler perl-script
1.126     albertel 1128: PerlHandler Apache::imsimportdocs
1.73      raeburn  1129: ErrorDocument     403 /adm/login
                   1130: ErrorDocument     500 /adm/errorhandler
1.10      www      1131: </Location>
                   1132: 
1.135     www      1133: <LocationMatch "^/adm/announcements">
1.139     albertel 1134: AuthType LONCAPA
1.125     albertel 1135: Require valid-user
                   1136: PerlAuthzHandler       Apache::lonacc
1.10      www      1137: SetHandler perl-script
1.126     albertel 1138: PerlHandler Apache::lonannounce
1.10      www      1139: ErrorDocument     403 /adm/login
                   1140: ErrorDocument	  500 /adm/errorhandler
1.135     www      1141: </LocationMatch>
1.10      www      1142: 
                   1143: <Location /adm/chat>
1.139     albertel 1144: AuthType LONCAPA
1.125     albertel 1145: Require valid-user
                   1146: PerlAuthzHandler       Apache::lonacc
1.10      www      1147: SetHandler perl-script
1.126     albertel 1148: PerlHandler Apache::lonchat
1.13      www      1149: ErrorDocument	  500 /adm/errorhandler
                   1150: </Location>
                   1151: 
                   1152: <Location /adm/chatfetch>
1.139     albertel 1153: AuthType LONCAPA
1.125     albertel 1154: Require valid-user
                   1155: PerlAuthzHandler       Apache::lonacc
1.13      www      1156: SetHandler perl-script
1.126     albertel 1157: PerlHandler Apache::lonchatfetch
1.20      www      1158: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1159: ErrorDocument	  500 /adm/errorhandler
                   1160: </Location>
                   1161: 
1.137     albertel 1162: <Location /adm/groupchat>
1.139     albertel 1163: AuthType LONCAPA
1.137     albertel 1164: Require valid-user
                   1165: PerlAuthzHandler       Apache::lonacc
                   1166: SetHandler perl-script
                   1167: PerlHandler Apache::longroupchat
                   1168: ErrorDocument     403 /adm/login
                   1169: ErrorDocument     500 /adm/errorhandler
                   1170: </Location>
                   1171: 
1.1       harris41 1172: <Location /adm/evaluate>
1.139     albertel 1173: AuthType LONCAPA
1.125     albertel 1174: Require valid-user
                   1175: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1176: SetHandler perl-script
1.126     albertel 1177: PerlHandler Apache::lonevaluate
1.1       harris41 1178: ErrorDocument     403 /adm/login
                   1179: ErrorDocument	  500 /adm/errorhandler
                   1180: </Location>
                   1181: 
                   1182: <Location /adm/preferences>
1.139     albertel 1183: AuthType LONCAPA
1.125     albertel 1184: Require valid-user
                   1185: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1186: SetHandler perl-script
1.126     albertel 1187: PerlHandler Apache::lonpreferences
1.1       harris41 1188: ErrorDocument     403 /adm/login
                   1189: ErrorDocument	  500 /adm/errorhandler
                   1190: </Location>
                   1191: 
                   1192: <Location /adm/communicate>
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.126     albertel 1197: PerlHandler Apache::loncommunicate
1.1       harris41 1198: ErrorDocument     403 /adm/login
                   1199: ErrorDocument	  500 /adm/errorhandler
                   1200: </Location>
                   1201: 
                   1202: <Location /adm/searchcat>
1.139     albertel 1203: AuthType LONCAPA
1.125     albertel 1204: Require valid-user
                   1205: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1206: SetHandler perl-script
1.126     albertel 1207: PerlHandler Apache::lonsearchcat
1.28      www      1208: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.129     albertel 1209: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1210: ErrorDocument     403 /adm/login
1.20      www      1211: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1212: ErrorDocument	  500 /adm/errorhandler
                   1213: </Location>
                   1214: 
                   1215: <Location /adm/navmaps>
1.139     albertel 1216: AuthType LONCAPA
1.125     albertel 1217: Require valid-user
                   1218: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1219: SetHandler perl-script
1.160     albertel 1220: PerlHandler Apache::lonnavdisplay
1.1       harris41 1221: ErrorDocument     403 /adm/login
                   1222: ErrorDocument     406 /adm/roles
                   1223: ErrorDocument	  500 /adm/errorhandler
1.26      bowersj2 1224: </Location>
                   1225: 
                   1226: <Location /adm/quickgrades>
1.139     albertel 1227: AuthType LONCAPA
1.125     albertel 1228: Require valid-user
                   1229: PerlAuthzHandler       Apache::lonacc
1.26      bowersj2 1230: SetHandler perl-script
1.126     albertel 1231: PerlHandler Apache::lonquickgrades
1.26      bowersj2 1232: ErrorDocument     403 /adm/login
                   1233: ErrorDocument     406 /adm/roles
                   1234: ErrorDocument     500 /adm/errorhandler
1.1       harris41 1235: </Location>
                   1236: 
                   1237: <Location /adm/groupsort>
1.139     albertel 1238: AuthType LONCAPA
1.125     albertel 1239: Require valid-user
                   1240: PerlAuthzHandler	Apache::lonacc
1.1       harris41 1241: SetHandler perl-script
1.126     albertel 1242: PerlHandler Apache::groupsort
1.29      www      1243: PerlCleanupHandler Apache::groupsort::cleanup
1.129     albertel 1244: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1245: ErrorDocument     403 /adm/login
                   1246: ErrorDocument	  500 /adm/errorhandler
                   1247: </Location>
                   1248: 
1.197     wenzelju 1249: <Location /adm/wishlist>
                   1250: AuthType LONCAPA
                   1251: Require valid-user
                   1252: PerlAuthzHandler       Apache::lonacc
                   1253: SetHandler perl-script
1.202     wenzelju 1254: PerlHandler Apache::lonwishlistdisplay
1.197     wenzelju 1255: ErrorDocument     403 /adm/login
                   1256: ErrorDocument     406 /adm/roles
                   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>