Annotation of loncom/loncapa_apache.conf, revision 1.210

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

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