Annotation of loncom/loncapa_apache.conf, revision 1.212

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

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