Annotation of loncom/loncapa_apache.conf, revision 1.192.2.3

1.1       harris41    1: ##
                      2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
                      3: ##
1.192.2.3! raeburn     4: ## $Id: loncapa_apache.conf,v 1.192.2.2 2010/08/12 21:06:47 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.192.2.3! 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.192.2.1  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: 
                    471: <Location /adm/statistics>
1.139     albertel  472: AuthType LONCAPA
1.125     albertel  473: Require valid-user
                    474: PerlAuthzHandler       Apache::lonacc
1.1       harris41  475: SetHandler perl-script
1.126     albertel  476: PerlHandler Apache::lonstatistics
1.1       harris41  477: ErrorDocument     403 /adm/login
1.20      www       478: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  479: ErrorDocument	  500 /adm/errorhandler
                    480: </Location>
                    481: 
1.92      matthew   482: <Location /adm/trackstudent>
1.139     albertel  483: AuthType LONCAPA
1.125     albertel  484: Require valid-user
                    485: PerlAuthzHandler       Apache::lonacc
1.92      matthew   486: SetHandler perl-script
1.126     albertel  487: PerlHandler Apache::lontrackstudent
1.92      matthew   488: ErrorDocument     403 /adm/login
                    489: ErrorDocument     413 /adm/overloaded.txt
                    490: ErrorDocument	  500 /adm/errorhandler
                    491: </Location>
                    492: 
1.1       harris41  493: <Location /adm/roles>
1.139     albertel  494: AuthType LONCAPA
1.125     albertel  495: Require valid-user
                    496: PerlAuthzHandler       Apache::lonacc
1.1       harris41  497: SetHandler perl-script
1.126     albertel  498: PerlHandler Apache::lonroles
1.33      www       499: ErrorDocument     403 /adm/login
1.174     www       500: ErrorDocument     409 /adm/preferences?action=lockwarning
1.33      www       501: ErrorDocument	  500 /adm/errorhandler
                    502: </Location>
                    503: 
                    504: <Location /adm/menu>
1.139     albertel  505: AuthType LONCAPA
1.125     albertel  506: Require valid-user
                    507: PerlAuthzHandler       Apache::lonacc
1.33      www       508: SetHandler perl-script
1.128     albertel  509: PerlHandler Apache::lonmainmenu
1.42      www       510: ErrorDocument     403 /adm/login
                    511: ErrorDocument	  500 /adm/errorhandler
                    512: </Location>
                    513: 
                    514: <Location /adm/remote>
1.139     albertel  515: AuthType LONCAPA
1.125     albertel  516: Require valid-user
                    517: PerlAuthzHandler       Apache::lonacc
1.42      www       518: SetHandler perl-script
1.126     albertel  519: PerlHandler Apache::lonremote
1.27      www       520: ErrorDocument     403 /adm/login
                    521: ErrorDocument	  500 /adm/errorhandler
                    522: </Location>
                    523: 
1.176     raeburn   524: <Location /adm/pickauthor>
                    525: AuthType LONCAPA
                    526: Require valid-user
                    527: PerlAuthzHandler       Apache::lonacc
                    528: SetHandler perl-script
                    529: PerlHandler Apache::lonpickauthor
                    530: ErrorDocument     403 /adm/login
                    531: ErrorDocument     500 /adm/errorhandler
                    532: </Location>
                    533: 
1.27      www       534: <Location /adm/pickstudent>
1.139     albertel  535: AuthType LONCAPA
1.125     albertel  536: Require valid-user
                    537: PerlAuthzHandler       Apache::lonacc
1.27      www       538: SetHandler perl-script
1.126     albertel  539: PerlHandler Apache::lonpickstudent
1.40      www       540: ErrorDocument     403 /adm/login
                    541: ErrorDocument	  500 /adm/errorhandler
                    542: </Location>
                    543: 
1.187     raeburn   544: <Location /adm/pickuser>
                    545: AuthType LONCAPA
                    546: Require valid-user
                    547: PerlAuthzHandler       Apache::lonacc
                    548: SetHandler perl-script
                    549: PerlHandler Apache::lonpickuser
                    550: ErrorDocument     403 /adm/login
                    551: ErrorDocument     406 /adm/roles
                    552: ErrorDocument     500 /adm/errorhandler
                    553: </Location>
                    554: 
1.40      www       555: <Location /adm/pickcourse>
1.139     albertel  556: AuthType LONCAPA
1.125     albertel  557: Require valid-user
                    558: PerlAuthzHandler       Apache::lonacc
1.40      www       559: SetHandler perl-script
1.126     albertel  560: PerlHandler Apache::lonpickcourse
1.77      albertel  561: ErrorDocument     403 /adm/login
                    562: ErrorDocument	  500 /adm/errorhandler
                    563: </Location>
                    564: 
                    565: <Location /adm/pickcode>
1.139     albertel  566: AuthType LONCAPA
1.125     albertel  567: Require valid-user
                    568: PerlAuthzHandler       Apache::lonacc
1.77      albertel  569: SetHandler perl-script
1.126     albertel  570: PerlHandler Apache::lonpickcode
1.1       harris41  571: ErrorDocument     403 /adm/login
                    572: ErrorDocument	  500 /adm/errorhandler
                    573: </Location>
                    574: 
                    575: <Location /adm/login>
                    576: SetHandler perl-script
1.126     albertel  577: PerlHandler Apache::lonlogin
1.1       harris41  578: </Location>
                    579: 
1.148     raeburn   580: <Location /adm/restrictedaccess>
                    581: PerlAccessHandler      Apache::publiccheck
                    582: AuthType LONCAPA
1.152     albertel  583: Require valid-user
1.148     raeburn   584: SetHandler perl-script
1.149     albertel  585: PerlAuthzHandler       Apache::lonacc
1.148     raeburn   586: PerlHandler Apache::restrictedaccess
1.154     albertel  587: ErrorDocument	  500 /adm/errorhandler
1.148     raeburn   588: </Location>
                    589: 
1.162     raeburn   590: <Location /adm/blockedaccess>
                    591: PerlAccessHandler      Apache::publiccheck
                    592: AuthType LONCAPA
                    593: Require valid-user
                    594: SetHandler perl-script
                    595: PerlAuthzHandler       Apache::lonacc
                    596: PerlHandler Apache::blockedaccess
                    597: ErrorDocument     500 /adm/errorhandler
                    598: </Location>
                    599: 
1.1       harris41  600: <Location /adm/logout>
1.139     albertel  601: AuthType LONCAPA
1.125     albertel  602: Require valid-user
                    603: PerlAuthzHandler       Apache::lonacc
1.1       harris41  604: SetHandler perl-script
1.126     albertel  605: PerlHandler Apache::lonlogout
1.1       harris41  606: ErrorDocument     403 /adm/login
1.175     www       607: ErrorDocument     409 /adm/preferences?action=lockwarning
1.154     albertel  608: ErrorDocument	  500 /adm/errorhandler
1.1       harris41  609: </Location>
                    610: 
1.117     albertel  611: <Location /adm/switchserver>
1.139     albertel  612: AuthType LONCAPA
1.125     albertel  613: Require valid-user
                    614: PerlAuthzHandler       Apache::lonacc
1.117     albertel  615: SetHandler perl-script
1.126     albertel  616: PerlHandler Apache::switchserver
1.117     albertel  617: ErrorDocument     403 /adm/login
1.154     albertel  618: ErrorDocument	  500 /adm/errorhandler
1.117     albertel  619: </Location>
                    620: 
1.1       harris41  621: <Location /adm/authenticate>
                    622: SetHandler perl-script
1.126     albertel  623: PerlHandler Apache::lonauth
1.1       harris41  624: </Location>
                    625: 
1.117     albertel  626: <Location /adm/migrateuser>
                    627: SetHandler perl-script
1.126     albertel  628: PerlHandler Apache::migrateuser
1.117     albertel  629: </Location>
                    630: 
1.1       harris41  631: <Location /adm/annotations>
1.139     albertel  632: AuthType LONCAPA
1.125     albertel  633: Require valid-user
                    634: PerlAuthzHandler       Apache::lonacc
1.1       harris41  635: SetHandler perl-script
1.126     albertel  636: PerlHandler Apache::admannotations
1.1       harris41  637: ErrorDocument     403 /adm/login
                    638: ErrorDocument	  500 /adm/errorhandler
                    639: </Location>
                    640: 
1.91      www       641: <Location /adm/spellcheck>
1.139     albertel  642: AuthType LONCAPA
1.125     albertel  643: Require valid-user
                    644: PerlAuthzHandler       Apache::lonacc
1.91      www       645: SetHandler perl-script
1.126     albertel  646: PerlHandler Apache::lonspeller
1.91      www       647: ErrorDocument     403 /adm/login
                    648: ErrorDocument	  500 /adm/errorhandler
                    649: </Location>
                    650: 
1.1       harris41  651: <Location /adm/bookmarks>
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::admbookmarks
1.1       harris41  657: ErrorDocument     403 /adm/login
                    658: ErrorDocument	  500 /adm/errorhandler
                    659: </Location>
                    660: 
                    661: <Location /adm/flip>
1.139     albertel  662: AuthType LONCAPA
1.125     albertel  663: Require valid-user
                    664: PerlAuthzHandler       Apache::lonacc
1.1       harris41  665: SetHandler perl-script
1.126     albertel  666: PerlHandler Apache::lonpageflip
1.30      www       667: PerlCleanupHandler Apache::lonpageflip::cleanup
1.129     albertel  668: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  669: ErrorDocument     406 /adm/roles
                    670: ErrorDocument     403 /adm/login
                    671: ErrorDocument	  500 /adm/errorhandler
                    672: </Location>
                    673: 
                    674: <Location /adm/ambiguous>
1.139     albertel  675: AuthType LONCAPA
1.125     albertel  676: Require valid-user
                    677: PerlAuthzHandler       Apache::lonacc
1.1       harris41  678: SetHandler perl-script
1.126     albertel  679: PerlHandler Apache::lonambiguous
1.30      www       680: PerlCleanupHandler Apache::lonambiguous::cleanup
1.129     albertel  681: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  682: ErrorDocument     403 /adm/login
                    683: ErrorDocument	  500 /adm/errorhandler
                    684: </Location>
                    685: 
                    686: <Location /adm/email>
1.139     albertel  687: AuthType LONCAPA
1.125     albertel  688: Require valid-user
                    689: PerlAuthzHandler       Apache::lonacc
1.1       harris41  690: SetHandler perl-script
1.130     albertel  691: PerlHandler Apache::lonmsgdisplay
1.1       harris41  692: ErrorDocument     403 /adm/login
                    693: ErrorDocument	  500 /adm/errorhandler
                    694: </Location>
                    695: 
1.116     raeburn   696: <Location /adm/notify>
1.139     albertel  697: AuthType LONCAPA
1.125     albertel  698: Require valid-user
                    699: PerlAuthzHandler       Apache::lonacc
1.116     raeburn   700: SetHandler perl-script
1.126     albertel  701: PerlHandler Apache::lonnotify
1.116     raeburn   702: ErrorDocument     403 /adm/login
                    703: ErrorDocument     500 /adm/errorhandler
                    704: </Location>
                    705: 
1.1       harris41  706: <Location /adm/parmset>
1.139     albertel  707: AuthType LONCAPA
1.125     albertel  708: Require valid-user
                    709: PerlAuthzHandler       Apache::lonacc
1.1       harris41  710: SetHandler perl-script
1.126     albertel  711: PerlHandler Apache::lonparmset
1.31      bowersj2  712: ErrorDocument     403 /adm/login
                    713: ErrorDocument     406 /adm/roles
                    714: ErrorDocument	  500 /adm/errorhandler
                    715: </Location>
                    716: 
1.185     raeburn   717: <Location /adm/courseprefs>
                    718: AuthType LONCAPA
                    719: Require valid-user
                    720: PerlAuthzHandler       Apache::lonacc
                    721: SetHandler perl-script
                    722: PerlHandler Apache::courseprefs
                    723: ErrorDocument     403 /adm/login
                    724: ErrorDocument     406 /adm/roles
                    725: ErrorDocument     500 /adm/errorhandler
                    726: </Location>
                    727: 
1.110     albertel  728: <Location /adm/slotrequest>
1.139     albertel  729: AuthType LONCAPA
1.125     albertel  730: Require valid-user
                    731: PerlAuthzHandler       Apache::lonacc
1.110     albertel  732: SetHandler perl-script
1.126     albertel  733: PerlHandler Apache::slotrequest
1.110     albertel  734: ErrorDocument     403 /adm/login
                    735: ErrorDocument     406 /adm/roles
                    736: ErrorDocument	  500 /adm/errorhandler
                    737: </Location>
                    738: 
1.31      bowersj2  739: <Location /adm/wizard>
1.139     albertel  740: AuthType LONCAPA
1.125     albertel  741: Require valid-user
                    742: PerlAuthzHandler       Apache::lonacc
1.31      bowersj2  743: SetHandler perl-script
1.126     albertel  744: PerlHandler Apache::lonwizard
1.1       harris41  745: ErrorDocument     403 /adm/login
                    746: ErrorDocument     406 /adm/roles
                    747: ErrorDocument	  500 /adm/errorhandler
                    748: </Location>
                    749: 
                    750: <Location /adm/grades>
1.139     albertel  751: AuthType LONCAPA
1.125     albertel  752: Require valid-user
                    753: PerlAuthzHandler       Apache::lonacc
1.1       harris41  754: SetHandler perl-script
1.126     albertel  755: PerlHandler Apache::grades
1.1       harris41  756: ErrorDocument     403 /adm/login
                    757: ErrorDocument     406 /adm/roles
                    758: ErrorDocument	  500 /adm/errorhandler
                    759: </Location>
                    760: 
1.187     raeburn   761: <Location /adm/requestcourse>
                    762: AuthType LONCAPA
                    763: Require valid-user
                    764: PerlAuthzHandler       Apache::lonacc
                    765: SetHandler perl-script
                    766: PerlHandler Apache::lonrequestcourse
                    767: ErrorDocument     403 /adm/login
                    768: ErrorDocument     406 /adm/roles
                    769: ErrorDocument     500 /adm/errorhandler
                    770: </Location>
                    771: 
1.1       harris41  772: <Location /adm/createcourse>
1.139     albertel  773: AuthType LONCAPA
1.125     albertel  774: Require valid-user
                    775: PerlAuthzHandler       Apache::lonacc
1.1       harris41  776: SetHandler perl-script
1.126     albertel  777: PerlHandler Apache::loncreatecourse
1.1       harris41  778: ErrorDocument     403 /adm/login
                    779: ErrorDocument     406 /adm/roles
                    780: ErrorDocument	  500 /adm/errorhandler
1.67      raeburn   781: </Location>
                    782: 
                    783: <Location /adm/modifycourse>
1.139     albertel  784: AuthType LONCAPA
1.125     albertel  785: Require valid-user
                    786: PerlAuthzHandler       Apache::lonacc
1.67      raeburn   787: SetHandler perl-script
1.126     albertel  788: PerlHandler Apache::lonmodifycourse
1.67      raeburn   789: ErrorDocument     403 /adm/login
                    790: ErrorDocument     406 /adm/roles
                    791: ErrorDocument     500 /adm/errorhandler
1.1       harris41  792: </Location>
                    793: 
1.163     raeburn   794: <Location /adm/domainprefs>
                    795: AuthType LONCAPA
                    796: Require valid-user
                    797: PerlAuthzHandler       Apache::lonacc
                    798: SetHandler perl-script
                    799: PerlHandler Apache::domainprefs
                    800: ErrorDocument     403 /adm/login
                    801: ErrorDocument     406 /adm/roles
                    802: ErrorDocument     500 /adm/errorhandler
                    803: </Location>
                    804: 
1.182     raeburn   805: <Location /adm/domainstatus>
                    806: PerlAccessHandler       Apache::lonstatusacc
                    807: SetHandler perl-script
                    808: PerlHandler Apache::domainstatus
                    809: ErrorDocument     403 /adm/login
                    810: ErrorDocument     406 /adm/roles
                    811: ErrorDocument     500 /adm/errorhandler
                    812: </Location>
                    813: 
1.1       harris41  814: <Location /adm/createuser>
1.139     albertel  815: AuthType LONCAPA
1.125     albertel  816: Require valid-user
                    817: PerlAuthzHandler       Apache::lonacc
1.1       harris41  818: SetHandler perl-script
1.126     albertel  819: PerlHandler Apache::loncreateuser
1.1       harris41  820: ErrorDocument     403 /adm/login
                    821: ErrorDocument     406 /adm/roles
                    822: ErrorDocument	  500 /adm/errorhandler
                    823: </Location>
                    824: 
                    825: <Location /adm/publish>
1.139     albertel  826: AuthType LONCAPA
1.125     albertel  827: Require valid-user
                    828: PerlAuthzHandler       Apache::lonacc
1.1       harris41  829: SetHandler perl-script
1.126     albertel  830: PerlHandler Apache::lonpublisher
1.1       harris41  831: ErrorDocument     403 /adm/login
                    832: ErrorDocument     404 /adm/notfound.html
1.18      www       833: ErrorDocument     406 /adm/unauthorized
1.1       harris41  834: ErrorDocument	  500 /adm/errorhandler
                    835: </Location>
                    836: 
1.64      albertel  837: <LocationMatch "^/+\~.*/$">
1.139     albertel  838: AuthType LONCAPA
1.131     albertel  839: Require valid-user
1.125     albertel  840: PerlAuthzHandler       Apache::loncacc
1.1       harris41  841: SetHandler perl-script
1.126     albertel  842: PerlHandler Apache::lonpubdir
1.1       harris41  843: ErrorDocument     403 /adm/login
                    844: ErrorDocument     404 /adm/notfound.html
1.18      www       845: ErrorDocument     406 /adm/unauthorized
1.1       harris41  846: ErrorDocument	  500 /adm/errorhandler
                    847: </LocationMatch>
                    848: 
                    849: <Location /adm/pubdir>
1.139     albertel  850: AuthType LONCAPA
1.125     albertel  851: Require valid-user
                    852: PerlAuthzHandler       Apache::lonacc
1.1       harris41  853: SetHandler perl-script
1.126     albertel  854: PerlHandler Apache::lonpubdir
1.1       harris41  855: ErrorDocument     403 /adm/login
                    856: ErrorDocument     404 /adm/notfound.html
1.18      www       857: ErrorDocument     406 /adm/unauthorized
                    858: ErrorDocument	  500 /adm/errorhandler
                    859: </Location>
                    860: 
                    861: <Location /adm/unauthorized>
1.139     albertel  862: AuthType LONCAPA
1.125     albertel  863: Require valid-user
                    864: PerlAuthzHandler       Apache::lonacc
1.18      www       865: SetHandler perl-script
1.126     albertel  866: PerlHandler Apache::lonunauthorized
1.18      www       867: ErrorDocument     403 /adm/login
                    868: ErrorDocument     404 /adm/notfound.html
1.1       harris41  869: ErrorDocument	  500 /adm/errorhandler
                    870: </Location>
                    871: 
                    872: <Location /adm/retrieve>
1.139     albertel  873: AuthType LONCAPA
1.125     albertel  874: Require valid-user
                    875: PerlAuthzHandler       Apache::lonacc
1.1       harris41  876: SetHandler perl-script
1.126     albertel  877: PerlHandler Apache::lonretrieve
1.1       harris41  878: ErrorDocument     403 /adm/login
                    879: ErrorDocument     404 /adm/notfound.html
1.18      www       880: ErrorDocument     406 /adm/unauthorized
1.1       harris41  881: ErrorDocument	  500 /adm/errorhandler
                    882: </Location>
                    883: 
1.109     www       884: <Location /adm/cleanup>
1.139     albertel  885: AuthType LONCAPA
1.125     albertel  886: Require valid-user
                    887: PerlAuthzHandler       Apache::lonacc
1.109     www       888: SetHandler perl-script
1.126     albertel  889: PerlHandler Apache::loncleanup
1.109     www       890: ErrorDocument     403 /adm/login
                    891: ErrorDocument     404 /adm/notfound.html
                    892: ErrorDocument     406 /adm/unauthorized
                    893: ErrorDocument	  500 /adm/errorhandler
                    894: </Location>
                    895: 
1.1       harris41  896: <Location /adm/cfile>
1.139     albertel  897: AuthType LONCAPA
1.125     albertel  898: Require valid-user
                    899: PerlAuthzHandler       Apache::lonacc
1.1       harris41  900: SetHandler perl-script
1.126     albertel  901: PerlHandler Apache::loncfile
1.1       harris41  902: ErrorDocument     403 /adm/login
                    903: ErrorDocument     404 /adm/notfound.html
1.18      www       904: ErrorDocument     406 /adm/unauthorized
1.1       harris41  905: ErrorDocument	  500 /adm/errorhandler
                    906: </Location>
                    907: 
                    908: <Location /adm/diff>
1.139     albertel  909: AuthType LONCAPA
1.125     albertel  910: Require valid-user
                    911: PerlAuthzHandler       Apache::lonacc
1.1       harris41  912: SetHandler perl-script
1.126     albertel  913: PerlHandler Apache::londiff
1.1       harris41  914: ErrorDocument     403 /adm/login
                    915: ErrorDocument     404 /adm/notfound.html
1.18      www       916: ErrorDocument     406 /adm/unauthorized
1.1       harris41  917: ErrorDocument	  500 /adm/errorhandler
                    918: </Location>
                    919: 
                    920: <Location /adm/upload>
1.139     albertel  921: AuthType LONCAPA
1.125     albertel  922: Require valid-user
                    923: PerlAuthzHandler       Apache::lonacc
1.1       harris41  924: SetHandler perl-script
1.126     albertel  925: PerlHandler Apache::lonupload
1.1       harris41  926: ErrorDocument     403 /adm/login
                    927: ErrorDocument     404 /adm/notfound.html
1.18      www       928: ErrorDocument     406 /adm/unauthorized
1.1       harris41  929: ErrorDocument	  500 /adm/errorhandler
1.72      raeburn   930: </Location>
                    931: 
1.73      raeburn   932: <Location /adm/imsimport>
1.139     albertel  933: AuthType LONCAPA
1.125     albertel  934: Require valid-user
                    935: PerlAuthzHandler       Apache::lonacc
1.73      raeburn   936: SetHandler perl-script
1.126     albertel  937: PerlHandler Apache::imsimport
1.73      raeburn   938: ErrorDocument     403 /adm/login
                    939: ErrorDocument     404 /adm/notfound.html
                    940: ErrorDocument     406 /adm/unauthorized
                    941: ErrorDocument     500 /adm/errorhandler
                    942: </Location>
                    943: 
1.72      raeburn   944: <Location /adm/testbank>
1.139     albertel  945: AuthType LONCAPA
1.125     albertel  946: Require valid-user
                    947: PerlAuthzHandler       Apache::lonacc
1.72      raeburn   948: SetHandler perl-script
1.126     albertel  949: PerlHandler Apache::testbankimport
1.72      raeburn   950: ErrorDocument     403 /adm/login
                    951: ErrorDocument     404 /adm/notfound.html
                    952: ErrorDocument     406 /adm/unauthorized
                    953: ErrorDocument     500 /adm/errorhandler
1.1       harris41  954: </Location>
                    955: 
                    956: <Location /adm/assesscalc>
1.139     albertel  957: AuthType LONCAPA
1.125     albertel  958: Require valid-user
                    959: PerlAuthzHandler       Apache::lonacc
1.1       harris41  960: SetHandler perl-script
1.126     albertel  961: PerlHandler Apache::lonspreadsheet
1.1       harris41  962: ErrorDocument     403 /adm/login
                    963: ErrorDocument     406 /adm/roles
1.20      www       964: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  965: ErrorDocument	  500 /adm/errorhandler
                    966: </Location>
                    967: 
                    968: <Location /adm/studentcalc>
1.139     albertel  969: AuthType LONCAPA
1.125     albertel  970: Require valid-user
                    971: PerlAuthzHandler       Apache::lonacc
1.1       harris41  972: SetHandler perl-script
1.126     albertel  973: PerlHandler Apache::lonspreadsheet
1.1       harris41  974: ErrorDocument     403 /adm/login
                    975: ErrorDocument     406 /adm/roles
1.20      www       976: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  977: ErrorDocument	  500 /adm/errorhandler
                    978: </Location>
                    979: 
                    980: <Location /adm/classcalc>
1.139     albertel  981: AuthType LONCAPA
1.125     albertel  982: Require valid-user
                    983: PerlAuthzHandler       Apache::lonacc
1.1       harris41  984: SetHandler perl-script
1.126     albertel  985: PerlHandler Apache::lonspreadsheet
1.1       harris41  986: ErrorDocument     403 /adm/login
                    987: ErrorDocument     406 /adm/roles
1.20      www       988: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  989: ErrorDocument	  500 /adm/errorhandler
                    990: </Location>
                    991: 
                    992: <Location /adm/dropadd>
1.139     albertel  993: AuthType LONCAPA
1.125     albertel  994: Require valid-user
                    995: PerlAuthzHandler       Apache::lonacc
1.1       harris41  996: SetHandler perl-script
1.126     albertel  997: PerlHandler Apache::londropadd
1.44      www       998: ErrorDocument     403 /adm/login
                    999: ErrorDocument     406 /adm/roles
                   1000: ErrorDocument	  500 /adm/errorhandler
1.65      raeburn  1001: </Location>
                   1002: 
1.92      matthew  1003: <Location /adm/viewclasslist>
1.139     albertel 1004: AuthType LONCAPA
1.125     albertel 1005: Require valid-user
                   1006: PerlAuthzHandler       Apache::lonacc
1.92      matthew  1007: SetHandler perl-script
1.126     albertel 1008: PerlHandler Apache::lonviewclasslist
1.92      matthew  1009: ErrorDocument     403 /adm/login
                   1010: ErrorDocument     406 /adm/roles
                   1011: ErrorDocument	  500 /adm/errorhandler
                   1012: </Location>
                   1013: 
1.118     raeburn  1014: <Location /adm/coursegroups>
1.139     albertel 1015: AuthType LONCAPA
1.125     albertel 1016: Require valid-user
                   1017: PerlAuthzHandler       Apache::lonacc
1.118     raeburn  1018: SetHandler perl-script
1.126     albertel 1019: PerlHandler Apache::loncoursegroups
1.118     raeburn  1020: ErrorDocument     403 /adm/login
                   1021: ErrorDocument     406 /adm/roles
                   1022: ErrorDocument     500 /adm/errorhandler
                   1023: </Location>
                   1024: 
1.143     raeburn  1025: <Location /adm/groupboards>
                   1026: AuthType LONCAPA
                   1027: Require valid-user
                   1028: PerlAuthzHandler       Apache::lonacc
                   1029: SetHandler perl-script
                   1030: PerlHandler Apache::groupboards
                   1031: ErrorDocument     403 /adm/login
                   1032: ErrorDocument     406 /adm/roles
                   1033: ErrorDocument     500 /adm/errorhandler
                   1034: </Location>
                   1035: 
1.144     raeburn  1036: <Location /adm/grouproster>
                   1037: AuthType LONCAPA
                   1038: Require valid-user
                   1039: PerlAuthzHandler       Apache::lonacc
                   1040: SetHandler perl-script
                   1041: PerlHandler Apache::grouproster
                   1042: ErrorDocument     403 /adm/login
                   1043: ErrorDocument     406 /adm/roles
                   1044: ErrorDocument     500 /adm/errorhandler
                   1045: </Location>
                   1046: 
1.112     raeburn  1047: <Location /adm/whatsnew>
1.139     albertel 1048: AuthType LONCAPA
1.125     albertel 1049: Require valid-user
                   1050: PerlAuthzHandler       Apache::lonacc
1.112     raeburn  1051: SetHandler perl-script
1.126     albertel 1052: PerlHandler Apache::lonwhatsnew
1.112     raeburn  1053: ErrorDocument     403 /adm/login
                   1054: ErrorDocument     406 /adm/roles
                   1055: ErrorDocument     500 /adm/errorhandler
                   1056: </Location>
                   1057: 
1.65      raeburn  1058: <Location /adm/populate>
1.139     albertel 1059: AuthType LONCAPA
1.125     albertel 1060: Require valid-user
                   1061: PerlAuthzHandler       Apache::lonacc
1.65      raeburn  1062: SetHandler perl-script
1.126     albertel 1063: PerlHandler Apache::lonpopulate
1.65      raeburn  1064: ErrorDocument     403 /adm/login
                   1065: ErrorDocument     406 /adm/roles
                   1066: ErrorDocument     500 /adm/errorhandler
1.44      www      1067: </Location>
                   1068: 
                   1069: <Location /adm/managekeys>
1.139     albertel 1070: AuthType LONCAPA
1.125     albertel 1071: Require valid-user
                   1072: PerlAuthzHandler       Apache::lonacc
1.44      www      1073: SetHandler perl-script
1.126     albertel 1074: PerlHandler Apache::lonmanagekeys
1.1       harris41 1075: ErrorDocument     403 /adm/login
                   1076: ErrorDocument     406 /adm/roles
                   1077: ErrorDocument	  500 /adm/errorhandler
                   1078: </Location>
                   1079: 
                   1080: <Location /adm/printout>
1.139     albertel 1081: AuthType LONCAPA
1.125     albertel 1082: Require valid-user
                   1083: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1084: SetHandler perl-script
1.126     albertel 1085: PerlHandler Apache::lonprintout
1.1       harris41 1086: ErrorDocument     403 /adm/login
1.20      www      1087: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1088: ErrorDocument	  500 /adm/errorhandler
                   1089: </Location>
                   1090: 
                   1091: <Location /adm/feedback>
1.139     albertel 1092: AuthType LONCAPA
1.125     albertel 1093: Require valid-user
                   1094: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1095: SetHandler perl-script
1.126     albertel 1096: PerlHandler Apache::lonfeedback
1.10      www      1097: ErrorDocument     403 /adm/login
                   1098: ErrorDocument	  500 /adm/errorhandler
                   1099: </Location>
                   1100: 
                   1101: <Location /adm/coursedocs>
1.139     albertel 1102: AuthType LONCAPA
1.125     albertel 1103: Require valid-user
                   1104: PerlAuthzHandler       Apache::lonacc
1.10      www      1105: SetHandler perl-script
1.126     albertel 1106: PerlHandler Apache::londocs
1.108     albertel 1107: PerlCleanupHandler Apache::londocs::untiehash
1.129     albertel 1108: PerlCleanupHandler	Apache::lonacc::cleanup
1.10      www      1109: ErrorDocument     403 /adm/login
                   1110: ErrorDocument	  500 /adm/errorhandler
1.73      raeburn  1111: </Location>
                   1112: 
                   1113: <Location /adm/imsimportdocs>
1.139     albertel 1114: AuthType LONCAPA
1.125     albertel 1115: Require valid-user
                   1116: PerlAuthzHandler       Apache::lonacc
1.73      raeburn  1117: SetHandler perl-script
1.126     albertel 1118: PerlHandler Apache::imsimportdocs
1.73      raeburn  1119: ErrorDocument     403 /adm/login
                   1120: ErrorDocument     500 /adm/errorhandler
1.10      www      1121: </Location>
                   1122: 
1.135     www      1123: <LocationMatch "^/adm/announcements">
1.139     albertel 1124: AuthType LONCAPA
1.125     albertel 1125: Require valid-user
                   1126: PerlAuthzHandler       Apache::lonacc
1.10      www      1127: SetHandler perl-script
1.126     albertel 1128: PerlHandler Apache::lonannounce
1.10      www      1129: ErrorDocument     403 /adm/login
                   1130: ErrorDocument	  500 /adm/errorhandler
1.135     www      1131: </LocationMatch>
1.10      www      1132: 
                   1133: <Location /adm/chat>
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::lonchat
1.13      www      1139: ErrorDocument	  500 /adm/errorhandler
                   1140: </Location>
                   1141: 
                   1142: <Location /adm/chatfetch>
1.139     albertel 1143: AuthType LONCAPA
1.125     albertel 1144: Require valid-user
                   1145: PerlAuthzHandler       Apache::lonacc
1.13      www      1146: SetHandler perl-script
1.126     albertel 1147: PerlHandler Apache::lonchatfetch
1.20      www      1148: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1149: ErrorDocument	  500 /adm/errorhandler
                   1150: </Location>
                   1151: 
1.137     albertel 1152: <Location /adm/groupchat>
1.139     albertel 1153: AuthType LONCAPA
1.137     albertel 1154: Require valid-user
                   1155: PerlAuthzHandler       Apache::lonacc
                   1156: SetHandler perl-script
                   1157: PerlHandler Apache::longroupchat
                   1158: ErrorDocument     403 /adm/login
                   1159: ErrorDocument     500 /adm/errorhandler
                   1160: </Location>
                   1161: 
1.1       harris41 1162: <Location /adm/evaluate>
1.139     albertel 1163: AuthType LONCAPA
1.125     albertel 1164: Require valid-user
                   1165: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1166: SetHandler perl-script
1.126     albertel 1167: PerlHandler Apache::lonevaluate
1.1       harris41 1168: ErrorDocument     403 /adm/login
                   1169: ErrorDocument	  500 /adm/errorhandler
                   1170: </Location>
                   1171: 
                   1172: <Location /adm/preferences>
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::lonpreferences
1.1       harris41 1178: ErrorDocument     403 /adm/login
                   1179: ErrorDocument	  500 /adm/errorhandler
                   1180: </Location>
                   1181: 
                   1182: <Location /adm/communicate>
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::loncommunicate
1.1       harris41 1188: ErrorDocument     403 /adm/login
                   1189: ErrorDocument	  500 /adm/errorhandler
                   1190: </Location>
                   1191: 
                   1192: <Location /adm/searchcat>
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::lonsearchcat
1.28      www      1198: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.129     albertel 1199: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1200: ErrorDocument     403 /adm/login
1.20      www      1201: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1202: ErrorDocument	  500 /adm/errorhandler
                   1203: </Location>
                   1204: 
                   1205: <Location /adm/navmaps>
1.139     albertel 1206: AuthType LONCAPA
1.125     albertel 1207: Require valid-user
                   1208: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1209: SetHandler perl-script
1.160     albertel 1210: PerlHandler Apache::lonnavdisplay
1.1       harris41 1211: ErrorDocument     403 /adm/login
                   1212: ErrorDocument     406 /adm/roles
                   1213: ErrorDocument	  500 /adm/errorhandler
1.26      bowersj2 1214: </Location>
                   1215: 
                   1216: <Location /adm/quickgrades>
1.139     albertel 1217: AuthType LONCAPA
1.125     albertel 1218: Require valid-user
                   1219: PerlAuthzHandler       Apache::lonacc
1.26      bowersj2 1220: SetHandler perl-script
1.126     albertel 1221: PerlHandler Apache::lonquickgrades
1.26      bowersj2 1222: ErrorDocument     403 /adm/login
                   1223: ErrorDocument     406 /adm/roles
                   1224: ErrorDocument     500 /adm/errorhandler
1.1       harris41 1225: </Location>
                   1226: 
                   1227: <Location /adm/groupsort>
1.139     albertel 1228: AuthType LONCAPA
1.125     albertel 1229: Require valid-user
                   1230: PerlAuthzHandler	Apache::lonacc
1.1       harris41 1231: SetHandler perl-script
1.126     albertel 1232: PerlHandler Apache::groupsort
1.29      www      1233: PerlCleanupHandler Apache::groupsort::cleanup
1.129     albertel 1234: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1235: ErrorDocument     403 /adm/login
                   1236: ErrorDocument	  500 /adm/errorhandler
                   1237: </Location>
                   1238: 
1.186     droeschl 1239: <Location /adm/blockingstatus>
1.188     droeschl 1240: PerlAccessHandler      Apache::publiccheck
1.186     droeschl 1241: AuthType LONCAPA
                   1242: Require valid-user
                   1243: PerlAuthzHandler       Apache::lonacc
1.188     droeschl 1244: SetHandler             perl-script
                   1245: PerlHandler            Apache::lonblockingstatus
1.186     droeschl 1246: </Location>
                   1247: 
1.1       harris41 1248: <Location /adm/errorhandler>
                   1249: SetHandler perl-script
1.126     albertel 1250: PerlHandler Apache::lonerrorhandler
1.1       harris41 1251: </Location>
                   1252: 
1.7       bowersj2 1253: <LocationMatch "^/adm/help/.*\.hlp$">
1.139     albertel 1254: AuthType LONCAPA
1.125     albertel 1255: Require valid-user
1.147     albertel 1256: PerlAccessHandler      Apache::publiccheck
1.125     albertel 1257: PerlAuthzHandler	Apache::lonacc
1.7       bowersj2 1258: SetHandler perl-script
1.126     albertel 1259: PerlHandler Apache::lonhelp
1.154     albertel 1260: ErrorDocument	  500 /adm/errorhandler
1.7       bowersj2 1261: </LocationMatch>
                   1262: 
1.90      raeburn  1263: <LocationMatch "^/adm/helpmenu">
1.139     albertel 1264: AuthType LONCAPA
1.125     albertel 1265: Require valid-user
                   1266: PerlAuthzHandler       Apache::lonacc
1.90      raeburn  1267: SetHandler perl-script
1.126     albertel 1268: PerlHandler Apache::lonhelpmenu
1.154     albertel 1269: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1270: </LocationMatch>
                   1271: 
                   1272: <LocationMatch "^/adm/support">
1.139     albertel 1273: AuthType LONCAPA
1.125     albertel 1274: Require valid-user
                   1275: PerlAuthzHandler       Apache::lonacc
1.90      raeburn  1276: SetHandler perl-script
1.126     albertel 1277: PerlHandler Apache::lonsupportreq
1.154     albertel 1278: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1279: </LocationMatch>
                   1280: 
1.100     raeburn  1281: <LocationMatch "^/adm/helpdesk">
                   1282: SetHandler perl-script
1.126     albertel 1283: PerlHandler Apache::lonsupportreq
1.154     albertel 1284: ErrorDocument	  500 /adm/errorhandler
1.100     raeburn  1285: </LocationMatch>
                   1286: 
1.133     albertel 1287: <LocationMatch "^/adm/css">
                   1288: SetHandler perl-script
                   1289: PerlHandler Apache::loncss
1.154     albertel 1290: ErrorDocument	  500 /adm/errorhandler
1.133     albertel 1291: </LocationMatch>
                   1292: 
1.155     raeburn  1293: <LocationMatch "^/adm/coursecatalog">
                   1294: SetHandler perl-script
                   1295: PerlHandler Apache::coursecatalog
1.156     albertel 1296: ErrorDocument	  500 /adm/errorhandler
1.155     raeburn  1297: </LocationMatch>
                   1298: 
1.161     raeburn  1299: <LocationMatch "^/adm/resetpw">
                   1300: SetHandler perl-script
                   1301: PerlHandler Apache::resetpw
                   1302: ErrorDocument     500 /adm/errorhandler
                   1303: </LocationMatch>
1.155     raeburn  1304: 
1.173     raeburn  1305: <LocationMatch "^/adm/selfenroll">
                   1306: SetHandler perl-script
                   1307: PerlHandler Apache::selfenroll
                   1308: ErrorDocument     500 /adm/errorhandler
                   1309: </LocationMatch>
                   1310: 
1.171     raeburn  1311: <LocationMatch "^/adm/createaccount">
                   1312: SetHandler perl-script
                   1313: PerlHandler Apache::createaccount
                   1314: ErrorDocument     500 /adm/errorhandler
                   1315: </LocationMatch>
                   1316: 
1.165     albertel 1317: <LocationMatch "^/adm/dns">
                   1318: SetHandler perl-script
                   1319: PerlHandler Apache::londns
                   1320: ErrorDocument     500 /adm/errorhandler
                   1321: </LocationMatch>
1.164     albertel 1322: 
1.1       harris41 1323: # ------------------------------------------------- Backdoor Adm Tests/Programs
                   1324: 
                   1325: <Location /adm/test>
1.181     raeburn  1326: PerlAccessHandler Apache::lonstatusacc
1.1       harris41 1327: SetHandler perl-script
1.126     albertel 1328: PerlHandler Apache::lontest
1.1       harris41 1329: </Location>
                   1330: 
                   1331: # ------------------------------------------------------- Shutting down a child
                   1332: 
1.129     albertel 1333: PerlChildExitHandler Apache::lonacc::goodbye
1.1       harris41 1334: 
                   1335: #
                   1336: # LON-CAPA Section (extensions to access.conf permission configuration)
                   1337: #
                   1338: # =========================================================== Directory Options
                   1339: 
                   1340: # Start out with "no"
                   1341: 
                   1342: <Directory />
                   1343: Options None
                   1344: AllowOverride None
1.158     raeburn  1345: order deny,allow
                   1346: deny from all
                   1347: </Directory>
                   1348: 
                   1349: # Allow uploaded files to be served
                   1350: 
                   1351: <Directory "/home/httpd/lonUsers">
                   1352: Options Includes FollowSymLinks
                   1353: AllowOverride None
                   1354: order allow,deny
                   1355: allow from all
                   1356: </Directory>
                   1357:  
                   1358: # Allow construction space files to be served
                   1359: 
                   1360: <Directory "/home/*/public_html/" >
                   1361: Options Includes FollowSymLinks
                   1362: AllowOverride
                   1363: order allow,deny
                   1364: allow from all
1.1       harris41 1365: </Directory>
                   1366: 
                   1367: # Yes to symbolic links and server-side includes
                   1368: 
                   1369: <Directory /home/httpd/html>
                   1370: Options Includes FollowSymLinks
                   1371: AllowOverride None
                   1372: order allow,deny
                   1373: allow from all
                   1374: </Directory>
                   1375: 
                   1376: # If it is in cgi-bin, then it can be executed as a CGI script.
                   1377: 
                   1378: <Directory /home/httpd/cgi-bin>
                   1379: AllowOverride None
1.157     albertel 1380: Options ExecCGI FollowSymLinks
1.159     raeburn  1381: order allow,deny
                   1382: allow from all
                   1383: </Directory>
                   1384: 
                   1385: # Allow serving of files in prtspool
                   1386: 
                   1387: <Directory "/home/httpd/prtspool/">
                   1388: Options Includes FollowSymLinks
                   1389: AllowOverride None
                   1390: order allow,deny
                   1391: allow from all
1.1       harris41 1392: </Directory>
                   1393: 
1.167     banghart 1394: # Allow serving of files in zipspool
                   1395: 
                   1396: <Directory "/home/httpd/zipspool/">
                   1397: Options Includes FollowSymLinks
                   1398: AllowOverride None
                   1399: order allow,deny
                   1400: allow from all
                   1401: </Directory>
                   1402: 
1.177     raeburn  1403: # Allow serving of files in captchaspool
                   1404: 
                   1405: <Directory "/home/httpd/captchaspool/">
                   1406: Options Includes FollowSymLinks
                   1407: AllowOverride None
                   1408: order allow,deny
                   1409: allow from all
                   1410: </Directory>
                   1411: 
1.1       harris41 1412: # ============================================================= Access Handlers
                   1413: 
                   1414: # ------------------------------------------------- Allow server-status reports
                   1415: <Location /server-status>
1.181     raeburn  1416: PerlAccessHandler Apache::lonstatusacc
1.1       harris41 1417: SetHandler server-status
                   1418: </Location>
                   1419: 
                   1420: # ------------------------ Allow LON-CAPA "low-level" connection status reports
1.181     raeburn  1421: <LocationMatch "^/+lon-status/.*">
                   1422: PerlAccessHandler Apache::lonstatusacc
                   1423: ErrorDocument     406 /adm/roles
                   1424: ErrorDocument     500 /adm/errorhandler
                   1425: </LocationMatch>
1.1       harris41 1426: 
                   1427: # ------------------- Allow access to local system documentation from localhost
                   1428: Alias /doc /usr/doc
                   1429: <Directory /usr/doc>
                   1430: order deny,allow
                   1431: deny from all
                   1432: allow from localhost
                   1433: Options Indexes FollowSymLinks
                   1434: </Directory>
                   1435: 
                   1436: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
                   1437: # ====================================== Internal Settings / Perl Configuration
                   1438: 
1.59      www      1439: PerlSetVar	 lonVersion   '<!-- VERSION -->'
1.1       harris41 1440: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
                   1441: PerlSetVar       lonTabDir    /home/httpd/lonTabs
                   1442: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
                   1443: PerlSetVar       lonIconsURL  /adm/lonIcons
                   1444: PerlSetVar       londPort     5663
                   1445: PerlSetVar       lonSysEMail  korte@lite.msu.edu
                   1446: PerlSetVar       lonDaemons   /home/httpd/perl
1.184     foxr     1447: PerlSetVar       lonLib       /home/httpd/lib
1.1       harris41 1448: PerlSetVar       lonSockDir   /home/httpd/sockets
1.164     albertel 1449: PerlSetVar       lonSockCreate   /home/httpd/sockets/common
1.1       harris41 1450: PerlSetVar       lonDocRoot   /home/httpd/html
1.98      albertel 1451: PerlSetVar       lonPrtDir    /home/httpd/prtspool
1.1       harris41 1452: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
1.166     banghart 1453: PerlSetVar       lonZipDir    /home/httpd/zipspool
1.177     raeburn  1454: PerlSetVar       lonCaptchaDir     /home/httpd/captchaspool
                   1455: PerlSetVar       lonCaptchaDb     /home/httpd/captchadb 
1.168     albertel 1456: PerlSetVar       lonFontsDir     /home/httpd/html/adm/fonts
1.166     banghart 1457: # & separated list of : separated fields in order of
1.119     albertel 1458: # - internal name to call it, 
                   1459: # - regexp that it should match (done case-insensitively)
                   1460: # - regexp that is should not match (done case-insensitively)
                   1461: # - regexp that will pull out the version number into $1
                   1462: # - a number that describes the minimum version that has mathml support
                   1463: # - a number that describes the minimum number version that has unicode support
                   1464: 
1.192.2.2  raeburn  1465: 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 1466: 
1.105     albertel 1467: PerlSetVar       lonTextBrowsers windows\s+ce:lynx
1.43      albertel 1468: PerlSetVar       lonScansDir  /home/httpd/scantron
                   1469: PerlSetVar       lonScriptTimeout 10
1.70      www      1470: PerlSetVar	 BugzillaHost	http://bugs.lon-capa.org/
                   1471: PerlSetVar	 FAQHost	http://help.lon-capa.org/
1.2       harris41 1472: # -----------------------------------------------------------------------------
                   1473: # NOTE: lonSqlAccess key is the password for the MySQL user
                   1474: # www@localhost.  This value must always be "localhostkey".
                   1475: # The only security risk occurs when somebody logs in as 'www' on your system
                   1476: # (in which case you have much bigger problems than whether or not they
                   1477: # can access the non-authoritative loncapa database on your machine).
                   1478: 
                   1479: PerlSetVar       lonSqlAccess   localhostkey
                   1480: 
1.86      foxr     1481: #----------------------------------------------------------------------------
                   1482: #
1.79      foxr     1483: #   Parameters used by secure lond/lonc
                   1484: 
                   1485: #
                   1486: #   Secure lond/lonc require ssl certificate and private
                   1487: #   key files to function correctly.  The certificate
                   1488: #   files need not be terribly secure, but the private key files
                   1489: #   should be set up so that only www (the lonc/lond effective user)
                   1490: #   can read them.
                   1491: # 
                   1492: #   The definition below is the full path to the directory that
                   1493: #   contains the certificate and key files:
1.82      foxr     1494: 
1.79      foxr     1495: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
                   1496: 
                   1497: #
                   1498: #  Secure lond/lonc require two certificates and a private host key.
                   1499: #  The certificates required are that of the lonCAPA certificate authority
                   1500: #  and the certificate that authority issued to this host.
                   1501: #  lonnetCertificateAuthority is the name of the file that contains the
                   1502: #                            lonCAPA certificate authority's certificate.
                   1503: #  lonnetCertificate is the name of the file that contains the certificate
                   1504: #                    issued to the host by the certificate authority.
                   1505: #  Both of these variables are names of files assumed to be in 
                   1506: #  lonCertificateDirectory:
                   1507: 
                   1508: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
                   1509: PerlSetVar lonnetCertificate          lonhostcert.pem
                   1510: 
                   1511: #
                   1512: #  To generate the request for a certificate, and to negotiate the
                   1513: #  initial ssl connection, the host requires a private key.  This key
                   1514: #  is created at lonCAPA install time.  Did we mention above that it
                   1515: #  should be set so that only www can read it?  The variale below
                   1516: #  is the name of the file relative to lonnetCertificateDirectory
                   1517: #  that has the host's private key.  Did we remember to tell you to
                   1518: #  keep the permissions on that file set to rw-------  (0600)?
                   1519: #  
                   1520: 
                   1521: PerlSetVar lonnetPrivateKey         lonKey.pem
                   1522: 
                   1523: # Did we mention that the file described above must have
                   1524: # permissions really locked down so that it can't be stolen?
                   1525: 
1.86      foxr     1526: #-------------------------------------------------------------------------
                   1527: 
                   1528: #   Parameters that define where all the ssl stuff is that's needed
                   1529: #   to generate certificate requests and, on a system that's a CA
                   1530: #   the certificate authority.
                   1531: #    
                   1532: #    SSLProgram    -> Path to the openssl command
                   1533: #    SSLDirectory  -> Directory containing ssl configuration files etc.
                   1534: #    SSLCAConfig   -> Name of the SSL config file for the certificate 
                   1535: #                     Authority.
1.87      foxr     1536: #    SSLCAFile     -> Full path to the Certificate authority file 
                   1537: #                    (on the cert manager system).
                   1538: #    SSLEmail      -> E-mail address of loncapa certificate manager.
1.86      foxr     1539: #    The following are good for the loncapa redhat installs and
                   1540: #    the loncapa certificate authority system:
                   1541: #
                   1542: PerlSetVar SSLProgram	/usr/bin/openssl
                   1543: PerlSetVar SSLDirectory /usr/share/ssl
                   1544: PerlSetVar SSLCAConfig  loncapaca
1.87      foxr     1545: PerlSetVar SSLCAFile    /usr/share/ssl/loncapaca/cacert.pem
1.93      albertel 1546: PerlSetVar SSLEmail     certificate@lon-capa.org
1.86      foxr     1547: 
                   1548: #-------------------------------------------------------------------------
                   1549: 
1.79      foxr     1550: 
                   1551: 
1.2       harris41 1552: 
1.8       harris41 1553: # ====================================== Include machine-specific configuration
1.2       harris41 1554: 
                   1555: Include conf/loncapa.conf
1.61      albertel 1556: 
                   1557: # ================================================= Include local configuration
                   1558: 
                   1559: Include conf/loncapa_apache_local*.conf
1.1       harris41 1560: 
                   1561: # ================================================== Initiate mod_perl starting
                   1562: 
                   1563: PerlRequire      conf/startup.pl
1.47      albertel 1564: <IfDefine !MODPERL2>
1.1       harris41 1565: PerlFreshRestart On
1.47      albertel 1566: </IfDefine>

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