Annotation of loncom/loncapa_apache.conf, revision 1.190.4.3

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

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