Annotation of loncom/loncapa_apache.conf, revision 1.215.2.5

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

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