Annotation of loncom/loncapa_apache.conf, revision 1.185.8.2

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