Annotation of loncom/loncapa_apache.conf, revision 1.213

1.1       harris41    1: ##
                      2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
                      3: ##
1.213   ! raeburn     4: ## $Id: loncapa_apache.conf,v 1.212 2012/03/05 20:51: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>
1.213   ! raeburn   682:   <IfModule !mod_shib>
        !           683:     PerlTypeHandler        Apache::lonnoshib
        !           684:   </IfModule>
1.212     raeburn   685: </Location>
                    686: 
1.1       harris41  687: <Location /adm/annotations>
1.139     albertel  688: AuthType LONCAPA
1.125     albertel  689: Require valid-user
                    690: PerlAuthzHandler       Apache::lonacc
1.1       harris41  691: SetHandler perl-script
1.126     albertel  692: PerlHandler Apache::admannotations
1.1       harris41  693: ErrorDocument     403 /adm/login
                    694: ErrorDocument	  500 /adm/errorhandler
                    695: </Location>
                    696: 
1.91      www       697: <Location /adm/spellcheck>
1.139     albertel  698: AuthType LONCAPA
1.125     albertel  699: Require valid-user
                    700: PerlAuthzHandler       Apache::lonacc
1.91      www       701: SetHandler perl-script
1.126     albertel  702: PerlHandler Apache::lonspeller
1.91      www       703: ErrorDocument     403 /adm/login
                    704: ErrorDocument	  500 /adm/errorhandler
                    705: </Location>
                    706: 
1.1       harris41  707: <Location /adm/flip>
1.139     albertel  708: AuthType LONCAPA
1.125     albertel  709: Require valid-user
                    710: PerlAuthzHandler       Apache::lonacc
1.1       harris41  711: SetHandler perl-script
1.126     albertel  712: PerlHandler Apache::lonpageflip
1.30      www       713: PerlCleanupHandler Apache::lonpageflip::cleanup
1.129     albertel  714: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  715: ErrorDocument     406 /adm/roles
                    716: ErrorDocument     403 /adm/login
                    717: ErrorDocument	  500 /adm/errorhandler
                    718: </Location>
                    719: 
                    720: <Location /adm/ambiguous>
1.139     albertel  721: AuthType LONCAPA
1.125     albertel  722: Require valid-user
                    723: PerlAuthzHandler       Apache::lonacc
1.1       harris41  724: SetHandler perl-script
1.126     albertel  725: PerlHandler Apache::lonambiguous
1.30      www       726: PerlCleanupHandler Apache::lonambiguous::cleanup
1.129     albertel  727: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  728: ErrorDocument     403 /adm/login
                    729: ErrorDocument	  500 /adm/errorhandler
                    730: </Location>
                    731: 
                    732: <Location /adm/email>
1.139     albertel  733: AuthType LONCAPA
1.125     albertel  734: Require valid-user
                    735: PerlAuthzHandler       Apache::lonacc
1.1       harris41  736: SetHandler perl-script
1.130     albertel  737: PerlHandler Apache::lonmsgdisplay
1.1       harris41  738: ErrorDocument     403 /adm/login
                    739: ErrorDocument	  500 /adm/errorhandler
                    740: </Location>
                    741: 
1.116     raeburn   742: <Location /adm/notify>
1.139     albertel  743: AuthType LONCAPA
1.125     albertel  744: Require valid-user
                    745: PerlAuthzHandler       Apache::lonacc
1.116     raeburn   746: SetHandler perl-script
1.126     albertel  747: PerlHandler Apache::lonnotify
1.116     raeburn   748: ErrorDocument     403 /adm/login
                    749: ErrorDocument     500 /adm/errorhandler
                    750: </Location>
                    751: 
1.1       harris41  752: <Location /adm/parmset>
1.139     albertel  753: AuthType LONCAPA
1.125     albertel  754: Require valid-user
                    755: PerlAuthzHandler       Apache::lonacc
1.1       harris41  756: SetHandler perl-script
1.126     albertel  757: PerlHandler Apache::lonparmset
1.31      bowersj2  758: ErrorDocument     403 /adm/login
                    759: ErrorDocument     406 /adm/roles
                    760: ErrorDocument	  500 /adm/errorhandler
                    761: </Location>
                    762: 
1.185     raeburn   763: <Location /adm/courseprefs>
                    764: AuthType LONCAPA
                    765: Require valid-user
                    766: PerlAuthzHandler       Apache::lonacc
                    767: SetHandler perl-script
                    768: PerlHandler Apache::courseprefs
                    769: ErrorDocument     403 /adm/login
                    770: ErrorDocument     406 /adm/roles
                    771: ErrorDocument     500 /adm/errorhandler
                    772: </Location>
                    773: 
1.110     albertel  774: <Location /adm/slotrequest>
1.139     albertel  775: AuthType LONCAPA
1.125     albertel  776: Require valid-user
                    777: PerlAuthzHandler       Apache::lonacc
1.110     albertel  778: SetHandler perl-script
1.126     albertel  779: PerlHandler Apache::slotrequest
1.110     albertel  780: ErrorDocument     403 /adm/login
                    781: ErrorDocument     406 /adm/roles
                    782: ErrorDocument	  500 /adm/errorhandler
                    783: </Location>
                    784: 
1.31      bowersj2  785: <Location /adm/wizard>
1.139     albertel  786: AuthType LONCAPA
1.125     albertel  787: Require valid-user
                    788: PerlAuthzHandler       Apache::lonacc
1.31      bowersj2  789: SetHandler perl-script
1.126     albertel  790: PerlHandler Apache::lonwizard
1.1       harris41  791: ErrorDocument     403 /adm/login
                    792: ErrorDocument     406 /adm/roles
                    793: ErrorDocument	  500 /adm/errorhandler
                    794: </Location>
                    795: 
                    796: <Location /adm/grades>
1.139     albertel  797: AuthType LONCAPA
1.125     albertel  798: Require valid-user
                    799: PerlAuthzHandler       Apache::lonacc
1.1       harris41  800: SetHandler perl-script
1.126     albertel  801: PerlHandler Apache::grades
1.1       harris41  802: ErrorDocument     403 /adm/login
                    803: ErrorDocument     406 /adm/roles
                    804: ErrorDocument	  500 /adm/errorhandler
                    805: </Location>
                    806: 
1.187     raeburn   807: <Location /adm/requestcourse>
                    808: AuthType LONCAPA
                    809: Require valid-user
                    810: PerlAuthzHandler       Apache::lonacc
                    811: SetHandler perl-script
                    812: PerlHandler Apache::lonrequestcourse
                    813: ErrorDocument     403 /adm/login
                    814: ErrorDocument     406 /adm/roles
                    815: ErrorDocument     500 /adm/errorhandler
                    816: </Location>
                    817: 
1.1       harris41  818: <Location /adm/createcourse>
1.139     albertel  819: AuthType LONCAPA
1.125     albertel  820: Require valid-user
                    821: PerlAuthzHandler       Apache::lonacc
1.1       harris41  822: SetHandler perl-script
1.126     albertel  823: PerlHandler Apache::loncreatecourse
1.1       harris41  824: ErrorDocument     403 /adm/login
                    825: ErrorDocument     406 /adm/roles
                    826: ErrorDocument	  500 /adm/errorhandler
1.67      raeburn   827: </Location>
                    828: 
                    829: <Location /adm/modifycourse>
1.139     albertel  830: AuthType LONCAPA
1.125     albertel  831: Require valid-user
                    832: PerlAuthzHandler       Apache::lonacc
1.67      raeburn   833: SetHandler perl-script
1.126     albertel  834: PerlHandler Apache::lonmodifycourse
1.67      raeburn   835: ErrorDocument     403 /adm/login
                    836: ErrorDocument     406 /adm/roles
                    837: ErrorDocument     500 /adm/errorhandler
1.1       harris41  838: </Location>
                    839: 
1.163     raeburn   840: <Location /adm/domainprefs>
                    841: AuthType LONCAPA
                    842: Require valid-user
                    843: PerlAuthzHandler       Apache::lonacc
                    844: SetHandler perl-script
                    845: PerlHandler Apache::domainprefs
                    846: ErrorDocument     403 /adm/login
                    847: ErrorDocument     406 /adm/roles
                    848: ErrorDocument     500 /adm/errorhandler
                    849: </Location>
                    850: 
1.182     raeburn   851: <Location /adm/domainstatus>
                    852: PerlAccessHandler       Apache::lonstatusacc
                    853: SetHandler perl-script
                    854: PerlHandler Apache::domainstatus
                    855: ErrorDocument     403 /adm/login
                    856: ErrorDocument     406 /adm/roles
                    857: ErrorDocument     500 /adm/errorhandler
                    858: </Location>
                    859: 
1.1       harris41  860: <Location /adm/createuser>
1.139     albertel  861: AuthType LONCAPA
1.125     albertel  862: Require valid-user
                    863: PerlAuthzHandler       Apache::lonacc
1.1       harris41  864: SetHandler perl-script
1.126     albertel  865: PerlHandler Apache::loncreateuser
1.1       harris41  866: ErrorDocument     403 /adm/login
                    867: ErrorDocument     406 /adm/roles
                    868: ErrorDocument	  500 /adm/errorhandler
                    869: </Location>
                    870: 
                    871: <Location /adm/publish>
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::lonpublisher
1.1       harris41  877: ErrorDocument     403 /adm/login
                    878: ErrorDocument     404 /adm/notfound.html
1.18      www       879: ErrorDocument     406 /adm/unauthorized
1.1       harris41  880: ErrorDocument	  500 /adm/errorhandler
                    881: </Location>
                    882: 
1.205     www       883: <LocationMatch "^/+priv/.*/$">
1.139     albertel  884: AuthType LONCAPA
1.131     albertel  885: Require valid-user
1.125     albertel  886: PerlAuthzHandler       Apache::loncacc
1.1       harris41  887: SetHandler perl-script
1.126     albertel  888: PerlHandler Apache::lonpubdir
1.1       harris41  889: ErrorDocument     403 /adm/login
                    890: ErrorDocument     404 /adm/notfound.html
1.18      www       891: ErrorDocument     406 /adm/unauthorized
1.1       harris41  892: ErrorDocument	  500 /adm/errorhandler
                    893: </LocationMatch>
                    894: 
1.18      www       895: <Location /adm/unauthorized>
1.139     albertel  896: AuthType LONCAPA
1.125     albertel  897: Require valid-user
                    898: PerlAuthzHandler       Apache::lonacc
1.18      www       899: SetHandler perl-script
1.126     albertel  900: PerlHandler Apache::lonunauthorized
1.18      www       901: ErrorDocument     403 /adm/login
                    902: ErrorDocument     404 /adm/notfound.html
1.1       harris41  903: ErrorDocument	  500 /adm/errorhandler
                    904: </Location>
                    905: 
                    906: <Location /adm/retrieve>
1.139     albertel  907: AuthType LONCAPA
1.125     albertel  908: Require valid-user
                    909: PerlAuthzHandler       Apache::lonacc
1.1       harris41  910: SetHandler perl-script
1.126     albertel  911: PerlHandler Apache::lonretrieve
1.1       harris41  912: ErrorDocument     403 /adm/login
                    913: ErrorDocument     404 /adm/notfound.html
1.18      www       914: ErrorDocument     406 /adm/unauthorized
1.1       harris41  915: ErrorDocument	  500 /adm/errorhandler
                    916: </Location>
                    917: 
1.109     www       918: <Location /adm/cleanup>
1.139     albertel  919: AuthType LONCAPA
1.125     albertel  920: Require valid-user
                    921: PerlAuthzHandler       Apache::lonacc
1.109     www       922: SetHandler perl-script
1.126     albertel  923: PerlHandler Apache::loncleanup
1.109     www       924: ErrorDocument     403 /adm/login
                    925: ErrorDocument     404 /adm/notfound.html
                    926: ErrorDocument     406 /adm/unauthorized
                    927: ErrorDocument	  500 /adm/errorhandler
                    928: </Location>
                    929: 
1.1       harris41  930: <Location /adm/cfile>
1.139     albertel  931: AuthType LONCAPA
1.125     albertel  932: Require valid-user
                    933: PerlAuthzHandler       Apache::lonacc
1.1       harris41  934: SetHandler perl-script
1.126     albertel  935: PerlHandler Apache::loncfile
1.1       harris41  936: ErrorDocument     403 /adm/login
                    937: ErrorDocument     404 /adm/notfound.html
1.18      www       938: ErrorDocument     406 /adm/unauthorized
1.1       harris41  939: ErrorDocument	  500 /adm/errorhandler
                    940: </Location>
                    941: 
                    942: <Location /adm/diff>
1.139     albertel  943: AuthType LONCAPA
1.125     albertel  944: Require valid-user
                    945: PerlAuthzHandler       Apache::lonacc
1.1       harris41  946: SetHandler perl-script
1.126     albertel  947: PerlHandler Apache::londiff
1.1       harris41  948: ErrorDocument     403 /adm/login
                    949: ErrorDocument     404 /adm/notfound.html
1.18      www       950: ErrorDocument     406 /adm/unauthorized
1.1       harris41  951: ErrorDocument	  500 /adm/errorhandler
                    952: </Location>
                    953: 
                    954: <Location /adm/upload>
1.139     albertel  955: AuthType LONCAPA
1.125     albertel  956: Require valid-user
                    957: PerlAuthzHandler       Apache::lonacc
1.1       harris41  958: SetHandler perl-script
1.126     albertel  959: PerlHandler Apache::lonupload
1.1       harris41  960: ErrorDocument     403 /adm/login
                    961: ErrorDocument     404 /adm/notfound.html
1.18      www       962: ErrorDocument     406 /adm/unauthorized
1.1       harris41  963: ErrorDocument	  500 /adm/errorhandler
1.72      raeburn   964: </Location>
                    965: 
1.73      raeburn   966: <Location /adm/imsimport>
1.139     albertel  967: AuthType LONCAPA
1.125     albertel  968: Require valid-user
                    969: PerlAuthzHandler       Apache::lonacc
1.73      raeburn   970: SetHandler perl-script
1.126     albertel  971: PerlHandler Apache::imsimport
1.73      raeburn   972: ErrorDocument     403 /adm/login
                    973: ErrorDocument     404 /adm/notfound.html
                    974: ErrorDocument     406 /adm/unauthorized
                    975: ErrorDocument     500 /adm/errorhandler
                    976: </Location>
                    977: 
1.72      raeburn   978: <Location /adm/testbank>
1.139     albertel  979: AuthType LONCAPA
1.125     albertel  980: Require valid-user
                    981: PerlAuthzHandler       Apache::lonacc
1.72      raeburn   982: SetHandler perl-script
1.126     albertel  983: PerlHandler Apache::testbankimport
1.72      raeburn   984: ErrorDocument     403 /adm/login
                    985: ErrorDocument     404 /adm/notfound.html
                    986: ErrorDocument     406 /adm/unauthorized
                    987: ErrorDocument     500 /adm/errorhandler
1.1       harris41  988: </Location>
                    989: 
                    990: <Location /adm/assesscalc>
1.139     albertel  991: AuthType LONCAPA
1.125     albertel  992: Require valid-user
                    993: PerlAuthzHandler       Apache::lonacc
1.1       harris41  994: SetHandler perl-script
1.126     albertel  995: PerlHandler Apache::lonspreadsheet
1.1       harris41  996: ErrorDocument     403 /adm/login
                    997: ErrorDocument     406 /adm/roles
1.20      www       998: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  999: ErrorDocument	  500 /adm/errorhandler
                   1000: </Location>
                   1001: 
                   1002: <Location /adm/studentcalc>
1.139     albertel 1003: AuthType LONCAPA
1.125     albertel 1004: Require valid-user
                   1005: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1006: SetHandler perl-script
1.126     albertel 1007: PerlHandler Apache::lonspreadsheet
1.1       harris41 1008: ErrorDocument     403 /adm/login
                   1009: ErrorDocument     406 /adm/roles
1.20      www      1010: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1011: ErrorDocument	  500 /adm/errorhandler
                   1012: </Location>
                   1013: 
                   1014: <Location /adm/classcalc>
1.139     albertel 1015: AuthType LONCAPA
1.125     albertel 1016: Require valid-user
                   1017: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1018: SetHandler perl-script
1.126     albertel 1019: PerlHandler Apache::lonspreadsheet
1.1       harris41 1020: ErrorDocument     403 /adm/login
                   1021: ErrorDocument     406 /adm/roles
1.20      www      1022: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1023: ErrorDocument	  500 /adm/errorhandler
                   1024: </Location>
                   1025: 
                   1026: <Location /adm/dropadd>
1.139     albertel 1027: AuthType LONCAPA
1.125     albertel 1028: Require valid-user
                   1029: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1030: SetHandler perl-script
1.126     albertel 1031: PerlHandler Apache::londropadd
1.44      www      1032: ErrorDocument     403 /adm/login
                   1033: ErrorDocument     406 /adm/roles
                   1034: ErrorDocument	  500 /adm/errorhandler
1.65      raeburn  1035: </Location>
                   1036: 
1.92      matthew  1037: <Location /adm/viewclasslist>
1.139     albertel 1038: AuthType LONCAPA
1.125     albertel 1039: Require valid-user
                   1040: PerlAuthzHandler       Apache::lonacc
1.92      matthew  1041: SetHandler perl-script
1.126     albertel 1042: PerlHandler Apache::lonviewclasslist
1.92      matthew  1043: ErrorDocument     403 /adm/login
                   1044: ErrorDocument     406 /adm/roles
                   1045: ErrorDocument	  500 /adm/errorhandler
                   1046: </Location>
                   1047: 
1.118     raeburn  1048: <Location /adm/coursegroups>
1.139     albertel 1049: AuthType LONCAPA
1.125     albertel 1050: Require valid-user
                   1051: PerlAuthzHandler       Apache::lonacc
1.118     raeburn  1052: SetHandler perl-script
1.126     albertel 1053: PerlHandler Apache::loncoursegroups
1.118     raeburn  1054: ErrorDocument     403 /adm/login
                   1055: ErrorDocument     406 /adm/roles
                   1056: ErrorDocument     500 /adm/errorhandler
                   1057: </Location>
                   1058: 
1.143     raeburn  1059: <Location /adm/groupboards>
                   1060: AuthType LONCAPA
                   1061: Require valid-user
                   1062: PerlAuthzHandler       Apache::lonacc
                   1063: SetHandler perl-script
                   1064: PerlHandler Apache::groupboards
                   1065: ErrorDocument     403 /adm/login
                   1066: ErrorDocument     406 /adm/roles
                   1067: ErrorDocument     500 /adm/errorhandler
                   1068: </Location>
                   1069: 
1.144     raeburn  1070: <Location /adm/grouproster>
                   1071: AuthType LONCAPA
                   1072: Require valid-user
                   1073: PerlAuthzHandler       Apache::lonacc
                   1074: SetHandler perl-script
                   1075: PerlHandler Apache::grouproster
                   1076: ErrorDocument     403 /adm/login
                   1077: ErrorDocument     406 /adm/roles
                   1078: ErrorDocument     500 /adm/errorhandler
                   1079: </Location>
                   1080: 
1.112     raeburn  1081: <Location /adm/whatsnew>
1.139     albertel 1082: AuthType LONCAPA
1.125     albertel 1083: Require valid-user
                   1084: PerlAuthzHandler       Apache::lonacc
1.112     raeburn  1085: SetHandler perl-script
1.126     albertel 1086: PerlHandler Apache::lonwhatsnew
1.112     raeburn  1087: ErrorDocument     403 /adm/login
                   1088: ErrorDocument     406 /adm/roles
                   1089: ErrorDocument     500 /adm/errorhandler
                   1090: </Location>
                   1091: 
1.65      raeburn  1092: <Location /adm/populate>
1.139     albertel 1093: AuthType LONCAPA
1.125     albertel 1094: Require valid-user
                   1095: PerlAuthzHandler       Apache::lonacc
1.65      raeburn  1096: SetHandler perl-script
1.126     albertel 1097: PerlHandler Apache::lonpopulate
1.65      raeburn  1098: ErrorDocument     403 /adm/login
                   1099: ErrorDocument     406 /adm/roles
                   1100: ErrorDocument     500 /adm/errorhandler
1.44      www      1101: </Location>
                   1102: 
                   1103: <Location /adm/managekeys>
1.139     albertel 1104: AuthType LONCAPA
1.125     albertel 1105: Require valid-user
                   1106: PerlAuthzHandler       Apache::lonacc
1.44      www      1107: SetHandler perl-script
1.126     albertel 1108: PerlHandler Apache::lonmanagekeys
1.1       harris41 1109: ErrorDocument     403 /adm/login
                   1110: ErrorDocument     406 /adm/roles
                   1111: ErrorDocument	  500 /adm/errorhandler
                   1112: </Location>
                   1113: 
                   1114: <Location /adm/printout>
1.139     albertel 1115: AuthType LONCAPA
1.125     albertel 1116: Require valid-user
                   1117: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1118: SetHandler perl-script
1.126     albertel 1119: PerlHandler Apache::lonprintout
1.1       harris41 1120: ErrorDocument     403 /adm/login
1.20      www      1121: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1122: ErrorDocument	  500 /adm/errorhandler
                   1123: </Location>
                   1124: 
                   1125: <Location /adm/feedback>
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::lonfeedback
1.10      www      1131: ErrorDocument     403 /adm/login
                   1132: ErrorDocument	  500 /adm/errorhandler
                   1133: </Location>
                   1134: 
                   1135: <Location /adm/coursedocs>
1.139     albertel 1136: AuthType LONCAPA
1.125     albertel 1137: Require valid-user
                   1138: PerlAuthzHandler       Apache::lonacc
1.10      www      1139: SetHandler perl-script
1.126     albertel 1140: PerlHandler Apache::londocs
1.108     albertel 1141: PerlCleanupHandler Apache::londocs::untiehash
1.129     albertel 1142: PerlCleanupHandler	Apache::lonacc::cleanup
1.10      www      1143: ErrorDocument     403 /adm/login
                   1144: ErrorDocument	  500 /adm/errorhandler
1.73      raeburn  1145: </Location>
                   1146: 
1.207     raeburn  1147: <Location /adm/supplemental>
                   1148: AuthType LONCAPA
                   1149: Require valid-user
                   1150: PerlAuthzHandler       Apache::lonacc
                   1151: SetHandler perl-script
                   1152: PerlHandler Apache::londocs
                   1153: PerlCleanupHandler Apache::londocs::untiehash
                   1154: PerlCleanupHandler      Apache::lonacc::cleanup
                   1155: ErrorDocument     403 /adm/login
                   1156: ErrorDocument     500 /adm/errorhandler
                   1157: </Location>
                   1158: 
1.73      raeburn  1159: <Location /adm/imsimportdocs>
1.139     albertel 1160: AuthType LONCAPA
1.125     albertel 1161: Require valid-user
                   1162: PerlAuthzHandler       Apache::lonacc
1.73      raeburn  1163: SetHandler perl-script
1.126     albertel 1164: PerlHandler Apache::imsimportdocs
1.73      raeburn  1165: ErrorDocument     403 /adm/login
                   1166: ErrorDocument     500 /adm/errorhandler
1.10      www      1167: </Location>
                   1168: 
1.135     www      1169: <LocationMatch "^/adm/announcements">
1.139     albertel 1170: AuthType LONCAPA
1.125     albertel 1171: Require valid-user
                   1172: PerlAuthzHandler       Apache::lonacc
1.10      www      1173: SetHandler perl-script
1.126     albertel 1174: PerlHandler Apache::lonannounce
1.10      www      1175: ErrorDocument     403 /adm/login
                   1176: ErrorDocument	  500 /adm/errorhandler
1.135     www      1177: </LocationMatch>
1.10      www      1178: 
                   1179: <Location /adm/chat>
1.139     albertel 1180: AuthType LONCAPA
1.125     albertel 1181: Require valid-user
                   1182: PerlAuthzHandler       Apache::lonacc
1.10      www      1183: SetHandler perl-script
1.126     albertel 1184: PerlHandler Apache::lonchat
1.13      www      1185: ErrorDocument	  500 /adm/errorhandler
                   1186: </Location>
                   1187: 
                   1188: <Location /adm/chatfetch>
1.139     albertel 1189: AuthType LONCAPA
1.125     albertel 1190: Require valid-user
                   1191: PerlAuthzHandler       Apache::lonacc
1.13      www      1192: SetHandler perl-script
1.126     albertel 1193: PerlHandler Apache::lonchatfetch
1.20      www      1194: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1195: ErrorDocument	  500 /adm/errorhandler
                   1196: </Location>
                   1197: 
1.137     albertel 1198: <Location /adm/groupchat>
1.139     albertel 1199: AuthType LONCAPA
1.137     albertel 1200: Require valid-user
                   1201: PerlAuthzHandler       Apache::lonacc
                   1202: SetHandler perl-script
                   1203: PerlHandler Apache::longroupchat
                   1204: ErrorDocument     403 /adm/login
                   1205: ErrorDocument     500 /adm/errorhandler
                   1206: </Location>
                   1207: 
1.1       harris41 1208: <Location /adm/evaluate>
1.139     albertel 1209: AuthType LONCAPA
1.125     albertel 1210: Require valid-user
                   1211: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1212: SetHandler perl-script
1.126     albertel 1213: PerlHandler Apache::lonevaluate
1.1       harris41 1214: ErrorDocument     403 /adm/login
                   1215: ErrorDocument	  500 /adm/errorhandler
                   1216: </Location>
                   1217: 
                   1218: <Location /adm/preferences>
1.139     albertel 1219: AuthType LONCAPA
1.125     albertel 1220: Require valid-user
                   1221: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1222: SetHandler perl-script
1.126     albertel 1223: PerlHandler Apache::lonpreferences
1.1       harris41 1224: ErrorDocument     403 /adm/login
                   1225: ErrorDocument	  500 /adm/errorhandler
                   1226: </Location>
                   1227: 
                   1228: <Location /adm/communicate>
1.139     albertel 1229: AuthType LONCAPA
1.125     albertel 1230: Require valid-user
                   1231: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1232: SetHandler perl-script
1.126     albertel 1233: PerlHandler Apache::loncommunicate
1.1       harris41 1234: ErrorDocument     403 /adm/login
                   1235: ErrorDocument	  500 /adm/errorhandler
                   1236: </Location>
                   1237: 
                   1238: <Location /adm/searchcat>
1.139     albertel 1239: AuthType LONCAPA
1.125     albertel 1240: Require valid-user
                   1241: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1242: SetHandler perl-script
1.126     albertel 1243: PerlHandler Apache::lonsearchcat
1.28      www      1244: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.129     albertel 1245: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1246: ErrorDocument     403 /adm/login
1.20      www      1247: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1248: ErrorDocument	  500 /adm/errorhandler
                   1249: </Location>
                   1250: 
                   1251: <Location /adm/navmaps>
1.139     albertel 1252: AuthType LONCAPA
1.125     albertel 1253: Require valid-user
                   1254: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1255: SetHandler perl-script
1.160     albertel 1256: PerlHandler Apache::lonnavdisplay
1.1       harris41 1257: ErrorDocument     403 /adm/login
                   1258: ErrorDocument     406 /adm/roles
                   1259: ErrorDocument	  500 /adm/errorhandler
1.26      bowersj2 1260: </Location>
                   1261: 
                   1262: <Location /adm/quickgrades>
1.139     albertel 1263: AuthType LONCAPA
1.125     albertel 1264: Require valid-user
                   1265: PerlAuthzHandler       Apache::lonacc
1.26      bowersj2 1266: SetHandler perl-script
1.126     albertel 1267: PerlHandler Apache::lonquickgrades
1.26      bowersj2 1268: ErrorDocument     403 /adm/login
                   1269: ErrorDocument     406 /adm/roles
                   1270: ErrorDocument     500 /adm/errorhandler
1.1       harris41 1271: </Location>
                   1272: 
                   1273: <Location /adm/groupsort>
1.139     albertel 1274: AuthType LONCAPA
1.125     albertel 1275: Require valid-user
                   1276: PerlAuthzHandler	Apache::lonacc
1.1       harris41 1277: SetHandler perl-script
1.126     albertel 1278: PerlHandler Apache::groupsort
1.29      www      1279: PerlCleanupHandler Apache::groupsort::cleanup
1.129     albertel 1280: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1281: ErrorDocument     403 /adm/login
                   1282: ErrorDocument	  500 /adm/errorhandler
                   1283: </Location>
                   1284: 
1.197     wenzelju 1285: <Location /adm/wishlist>
                   1286: AuthType LONCAPA
                   1287: Require valid-user
                   1288: PerlAuthzHandler       Apache::lonacc
                   1289: SetHandler perl-script
1.202     wenzelju 1290: PerlHandler Apache::lonwishlistdisplay
1.197     wenzelju 1291: ErrorDocument     403 /adm/login
                   1292: ErrorDocument     406 /adm/roles
                   1293: ErrorDocument	  500 /adm/errorhandler
                   1294: </Location>
                   1295: 
1.208     raeburn  1296: <Location /adm/setblock>
                   1297: AuthType LONCAPA
                   1298: Require valid-user
                   1299: PerlAuthzHandler       Apache::lonacc
                   1300: SetHandler             perl-script
                   1301: PerlHandler            Apache::lonblockingmenu
                   1302: ErrorDocument     403 /adm/login
1.209     raeburn  1303: ErrorDocument     406 /adm/roles
1.208     raeburn  1304: ErrorDocument     500 /adm/errorhandler
                   1305: </Location>
                   1306: 
1.186     droeschl 1307: <Location /adm/blockingstatus>
1.188     droeschl 1308: PerlAccessHandler      Apache::publiccheck
1.186     droeschl 1309: AuthType LONCAPA
                   1310: Require valid-user
                   1311: PerlAuthzHandler       Apache::lonacc
1.188     droeschl 1312: SetHandler             perl-script
                   1313: PerlHandler            Apache::lonblockingstatus
1.186     droeschl 1314: </Location>
                   1315: 
1.1       harris41 1316: <Location /adm/errorhandler>
                   1317: SetHandler perl-script
1.126     albertel 1318: PerlHandler Apache::lonerrorhandler
1.1       harris41 1319: </Location>
                   1320: 
1.7       bowersj2 1321: <LocationMatch "^/adm/help/.*\.hlp$">
1.139     albertel 1322: AuthType LONCAPA
1.125     albertel 1323: Require valid-user
1.147     albertel 1324: PerlAccessHandler      Apache::publiccheck
1.125     albertel 1325: PerlAuthzHandler	Apache::lonacc
1.7       bowersj2 1326: SetHandler perl-script
1.126     albertel 1327: PerlHandler Apache::lonhelp
1.154     albertel 1328: ErrorDocument	  500 /adm/errorhandler
1.7       bowersj2 1329: </LocationMatch>
                   1330: 
1.90      raeburn  1331: <LocationMatch "^/adm/helpmenu">
1.139     albertel 1332: AuthType LONCAPA
1.125     albertel 1333: Require valid-user
                   1334: PerlAuthzHandler       Apache::lonacc
1.90      raeburn  1335: SetHandler perl-script
1.126     albertel 1336: PerlHandler Apache::lonhelpmenu
1.154     albertel 1337: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1338: </LocationMatch>
                   1339: 
                   1340: <LocationMatch "^/adm/support">
1.139     albertel 1341: AuthType LONCAPA
1.125     albertel 1342: Require valid-user
                   1343: PerlAuthzHandler       Apache::lonacc
1.90      raeburn  1344: SetHandler perl-script
1.126     albertel 1345: PerlHandler Apache::lonsupportreq
1.154     albertel 1346: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1347: </LocationMatch>
                   1348: 
1.100     raeburn  1349: <LocationMatch "^/adm/helpdesk">
                   1350: SetHandler perl-script
1.126     albertel 1351: PerlHandler Apache::lonsupportreq
1.154     albertel 1352: ErrorDocument	  500 /adm/errorhandler
1.100     raeburn  1353: </LocationMatch>
                   1354: 
1.133     albertel 1355: <LocationMatch "^/adm/css">
                   1356: SetHandler perl-script
                   1357: PerlHandler Apache::loncss
1.154     albertel 1358: ErrorDocument	  500 /adm/errorhandler
1.133     albertel 1359: </LocationMatch>
                   1360: 
1.155     raeburn  1361: <LocationMatch "^/adm/coursecatalog">
                   1362: SetHandler perl-script
                   1363: PerlHandler Apache::coursecatalog
1.156     albertel 1364: ErrorDocument	  500 /adm/errorhandler
1.155     raeburn  1365: </LocationMatch>
                   1366: 
1.161     raeburn  1367: <LocationMatch "^/adm/resetpw">
                   1368: SetHandler perl-script
                   1369: PerlHandler Apache::resetpw
                   1370: ErrorDocument     500 /adm/errorhandler
                   1371: </LocationMatch>
1.155     raeburn  1372: 
1.173     raeburn  1373: <LocationMatch "^/adm/selfenroll">
                   1374: SetHandler perl-script
                   1375: PerlHandler Apache::selfenroll
                   1376: ErrorDocument     500 /adm/errorhandler
                   1377: </LocationMatch>
                   1378: 
1.171     raeburn  1379: <LocationMatch "^/adm/createaccount">
                   1380: SetHandler perl-script
                   1381: PerlHandler Apache::createaccount
                   1382: ErrorDocument     500 /adm/errorhandler
                   1383: </LocationMatch>
                   1384: 
1.165     albertel 1385: <LocationMatch "^/adm/dns">
                   1386: SetHandler perl-script
                   1387: PerlHandler Apache::londns
                   1388: ErrorDocument     500 /adm/errorhandler
                   1389: </LocationMatch>
1.164     albertel 1390: 
1.1       harris41 1391: # ------------------------------------------------- Backdoor Adm Tests/Programs
                   1392: 
                   1393: <Location /adm/test>
1.181     raeburn  1394: PerlAccessHandler Apache::lonstatusacc
1.1       harris41 1395: SetHandler perl-script
1.126     albertel 1396: PerlHandler Apache::lontest
1.1       harris41 1397: </Location>
                   1398: 
                   1399: # ------------------------------------------------------- Shutting down a child
                   1400: 
1.129     albertel 1401: PerlChildExitHandler Apache::lonacc::goodbye
1.1       harris41 1402: 
                   1403: #
                   1404: # LON-CAPA Section (extensions to access.conf permission configuration)
                   1405: #
                   1406: # =========================================================== Directory Options
                   1407: 
                   1408: # Start out with "no"
                   1409: 
                   1410: <Directory />
                   1411: Options None
                   1412: AllowOverride None
1.158     raeburn  1413: order deny,allow
                   1414: deny from all
                   1415: </Directory>
                   1416: 
                   1417: # Allow uploaded files to be served
                   1418: 
                   1419: <Directory "/home/httpd/lonUsers">
                   1420: Options Includes FollowSymLinks
                   1421: AllowOverride None
                   1422: order allow,deny
                   1423: allow from all
                   1424: </Directory>
                   1425:  
                   1426: # Allow construction space files to be served
                   1427: 
                   1428: <Directory "/home/*/public_html/" >
                   1429: Options Includes FollowSymLinks
                   1430: AllowOverride
                   1431: order allow,deny
                   1432: allow from all
1.1       harris41 1433: </Directory>
                   1434: 
                   1435: # Yes to symbolic links and server-side includes
                   1436: 
                   1437: <Directory /home/httpd/html>
                   1438: Options Includes FollowSymLinks
                   1439: AllowOverride None
                   1440: order allow,deny
                   1441: allow from all
                   1442: </Directory>
                   1443: 
                   1444: # If it is in cgi-bin, then it can be executed as a CGI script.
                   1445: 
                   1446: <Directory /home/httpd/cgi-bin>
                   1447: AllowOverride None
1.157     albertel 1448: Options ExecCGI FollowSymLinks
1.159     raeburn  1449: order allow,deny
                   1450: allow from all
                   1451: </Directory>
                   1452: 
                   1453: # Allow serving of files in prtspool
                   1454: 
                   1455: <Directory "/home/httpd/prtspool/">
                   1456: Options Includes FollowSymLinks
                   1457: AllowOverride None
                   1458: order allow,deny
                   1459: allow from all
1.1       harris41 1460: </Directory>
                   1461: 
1.167     banghart 1462: # Allow serving of files in zipspool
                   1463: 
                   1464: <Directory "/home/httpd/zipspool/">
                   1465: Options Includes FollowSymLinks
                   1466: AllowOverride None
                   1467: order allow,deny
                   1468: allow from all
                   1469: </Directory>
                   1470: 
1.177     raeburn  1471: # Allow serving of files in captchaspool
                   1472: 
                   1473: <Directory "/home/httpd/captchaspool/">
                   1474: Options Includes FollowSymLinks
                   1475: AllowOverride None
                   1476: order allow,deny
                   1477: allow from all
                   1478: </Directory>
                   1479: 
1.1       harris41 1480: # ============================================================= Access Handlers
                   1481: 
                   1482: # ------------------------------------------------- Allow server-status reports
                   1483: <Location /server-status>
1.181     raeburn  1484: PerlAccessHandler Apache::lonstatusacc
1.1       harris41 1485: SetHandler server-status
                   1486: </Location>
                   1487: 
                   1488: # ------------------------ Allow LON-CAPA "low-level" connection status reports
1.181     raeburn  1489: <LocationMatch "^/+lon-status/.*">
                   1490: PerlAccessHandler Apache::lonstatusacc
                   1491: ErrorDocument     406 /adm/roles
                   1492: ErrorDocument     500 /adm/errorhandler
                   1493: </LocationMatch>
1.1       harris41 1494: 
                   1495: # ------------------- Allow access to local system documentation from localhost
                   1496: Alias /doc /usr/doc
                   1497: <Directory /usr/doc>
                   1498: order deny,allow
                   1499: deny from all
                   1500: allow from localhost
                   1501: Options Indexes FollowSymLinks
                   1502: </Directory>
                   1503: 
                   1504: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
                   1505: # ====================================== Internal Settings / Perl Configuration
                   1506: 
1.59      www      1507: PerlSetVar	 lonVersion   '<!-- VERSION -->'
1.1       harris41 1508: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
1.210     raeburn  1509: PerlSetVar       lonDAVsessDir /home/httpd/webdav/sessionIDs
1.1       harris41 1510: PerlSetVar       lonTabDir    /home/httpd/lonTabs
                   1511: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
                   1512: PerlSetVar       lonIconsURL  /adm/lonIcons
                   1513: PerlSetVar       londPort     5663
                   1514: PerlSetVar       lonSysEMail  korte@lite.msu.edu
                   1515: PerlSetVar       lonDaemons   /home/httpd/perl
1.184     foxr     1516: PerlSetVar       lonLib       /home/httpd/lib
1.1       harris41 1517: PerlSetVar       lonSockDir   /home/httpd/sockets
1.164     albertel 1518: PerlSetVar       lonSockCreate   /home/httpd/sockets/common
1.1       harris41 1519: PerlSetVar       lonDocRoot   /home/httpd/html
1.98      albertel 1520: PerlSetVar       lonPrtDir    /home/httpd/prtspool
1.1       harris41 1521: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
1.166     banghart 1522: PerlSetVar       lonZipDir    /home/httpd/zipspool
1.177     raeburn  1523: PerlSetVar       lonCaptchaDir     /home/httpd/captchaspool
                   1524: PerlSetVar       lonCaptchaDb     /home/httpd/captchadb 
1.168     albertel 1525: PerlSetVar       lonFontsDir     /home/httpd/html/adm/fonts
1.166     banghart 1526: # & separated list of : separated fields in order of
1.119     albertel 1527: # - internal name to call it, 
                   1528: # - regexp that it should match (done case-insensitively)
                   1529: # - regexp that is should not match (done case-insensitively)
                   1530: # - regexp that will pull out the version number into $1
                   1531: # - a number that describes the minimum version that has mathml support
                   1532: # - a number that describes the minimum number version that has unicode support
                   1533: 
1.196     raeburn  1534: 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 1535: 
1.105     albertel 1536: PerlSetVar       lonTextBrowsers windows\s+ce:lynx
1.43      albertel 1537: PerlSetVar       lonScansDir  /home/httpd/scantron
                   1538: PerlSetVar       lonScriptTimeout 10
1.70      www      1539: PerlSetVar	 BugzillaHost	http://bugs.lon-capa.org/
                   1540: PerlSetVar	 FAQHost	http://help.lon-capa.org/
1.2       harris41 1541: # -----------------------------------------------------------------------------
                   1542: # NOTE: lonSqlAccess key is the password for the MySQL user
                   1543: # www@localhost.  This value must always be "localhostkey".
                   1544: # The only security risk occurs when somebody logs in as 'www' on your system
                   1545: # (in which case you have much bigger problems than whether or not they
                   1546: # can access the non-authoritative loncapa database on your machine).
                   1547: 
                   1548: PerlSetVar       lonSqlAccess   localhostkey
                   1549: 
1.86      foxr     1550: #----------------------------------------------------------------------------
                   1551: #
1.79      foxr     1552: #   Parameters used by secure lond/lonc
                   1553: 
                   1554: #
                   1555: #   Secure lond/lonc require ssl certificate and private
                   1556: #   key files to function correctly.  The certificate
                   1557: #   files need not be terribly secure, but the private key files
                   1558: #   should be set up so that only www (the lonc/lond effective user)
                   1559: #   can read them.
                   1560: # 
                   1561: #   The definition below is the full path to the directory that
                   1562: #   contains the certificate and key files:
1.82      foxr     1563: 
1.79      foxr     1564: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
                   1565: 
                   1566: #
                   1567: #  Secure lond/lonc require two certificates and a private host key.
                   1568: #  The certificates required are that of the lonCAPA certificate authority
                   1569: #  and the certificate that authority issued to this host.
                   1570: #  lonnetCertificateAuthority is the name of the file that contains the
                   1571: #                            lonCAPA certificate authority's certificate.
                   1572: #  lonnetCertificate is the name of the file that contains the certificate
                   1573: #                    issued to the host by the certificate authority.
                   1574: #  Both of these variables are names of files assumed to be in 
                   1575: #  lonCertificateDirectory:
                   1576: 
                   1577: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
                   1578: PerlSetVar lonnetCertificate          lonhostcert.pem
                   1579: 
                   1580: #
                   1581: #  To generate the request for a certificate, and to negotiate the
                   1582: #  initial ssl connection, the host requires a private key.  This key
                   1583: #  is created at lonCAPA install time.  Did we mention above that it
                   1584: #  should be set so that only www can read it?  The variale below
                   1585: #  is the name of the file relative to lonnetCertificateDirectory
                   1586: #  that has the host's private key.  Did we remember to tell you to
                   1587: #  keep the permissions on that file set to rw-------  (0600)?
                   1588: #  
                   1589: 
                   1590: PerlSetVar lonnetPrivateKey         lonKey.pem
                   1591: 
                   1592: # Did we mention that the file described above must have
                   1593: # permissions really locked down so that it can't be stolen?
                   1594: 
1.86      foxr     1595: #-------------------------------------------------------------------------
                   1596: 
                   1597: #   Parameters that define where all the ssl stuff is that's needed
                   1598: #   to generate certificate requests and, on a system that's a CA
                   1599: #   the certificate authority.
                   1600: #    
                   1601: #    SSLProgram    -> Path to the openssl command
                   1602: #    SSLDirectory  -> Directory containing ssl configuration files etc.
                   1603: #    SSLCAConfig   -> Name of the SSL config file for the certificate 
                   1604: #                     Authority.
1.87      foxr     1605: #    SSLCAFile     -> Full path to the Certificate authority file 
                   1606: #                    (on the cert manager system).
                   1607: #    SSLEmail      -> E-mail address of loncapa certificate manager.
1.86      foxr     1608: #    The following are good for the loncapa redhat installs and
                   1609: #    the loncapa certificate authority system:
                   1610: #
                   1611: PerlSetVar SSLProgram	/usr/bin/openssl
                   1612: PerlSetVar SSLDirectory /usr/share/ssl
                   1613: PerlSetVar SSLCAConfig  loncapaca
1.87      foxr     1614: PerlSetVar SSLCAFile    /usr/share/ssl/loncapaca/cacert.pem
1.93      albertel 1615: PerlSetVar SSLEmail     certificate@lon-capa.org
1.86      foxr     1616: 
                   1617: #-------------------------------------------------------------------------
                   1618: 
1.79      foxr     1619: 
1.204     raeburn  1620: # ====================================== Include support for SSL rewrites
                   1621: 
                   1622: Include conf/loncapa_rewrite.conf
1.79      foxr     1623: 
1.2       harris41 1624: 
1.8       harris41 1625: # ====================================== Include machine-specific configuration
1.2       harris41 1626: 
                   1627: Include conf/loncapa.conf
1.61      albertel 1628: 
                   1629: # ================================================= Include local configuration
                   1630: 
                   1631: Include conf/loncapa_apache_local*.conf
1.1       harris41 1632: 
                   1633: # ================================================== Initiate mod_perl starting
                   1634: 
                   1635: PerlRequire      conf/startup.pl
1.47      albertel 1636: <IfDefine !MODPERL2>
1.1       harris41 1637: PerlFreshRestart On
1.47      albertel 1638: </IfDefine>

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