Annotation of loncom/loncapa_apache.conf, revision 1.211

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

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