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