Annotation of loncom/loncapa_apache.conf, revision 1.148
1.1 harris41 1: ##
2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
3: ##
1.148 ! raeburn 4: ## $Id: loncapa_apache.conf,v 1.147 2006/07/13 21:30:58 albertel 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:
38: Alias /prtspool/ /home/httpd/prtspool/
1.8 harris41 39: ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
1.1 harris41 40:
41: # ================================================================= Directories
42:
43: # ------------------------------------------------------------- Access Handlers
44:
1.12 www 45: PerlTransHandler Apache::lontrans
1.129 albertel 46: PerlCleanupHandler Apache::lonacc::cleanup
1.12 www 47:
1.125 albertel 48: PerlAuthenHandler Apache::checkauthen
49: PerlSetVar lonOtherAuthen no
50:
1.45 albertel 51: #PerlWarn On
1.21 www 52: <LocationMatch "^/+res.*">
1.125 albertel 53:
1.139 albertel 54: AuthType LONCAPA
1.125 albertel 55: Require valid-user
56:
57: PerlAccessHandler Apache::publiccheck
58: PerlAuthzHandler Apache::lonacc
1.1 harris41 59: PerlHeaderParserHandler Apache::lonrep
60: ErrorDocument 403 /adm/login
61: ErrorDocument 404 /adm/notfound.html
62: ErrorDocument 406 /adm/roles
1.74 www 63: ErrorDocument 500 /adm/errorhandler
64: </LocationMatch>
65:
1.125 albertel 66:
67: <LocationMatch "/.*">
68: </LocationMatch>
69:
70:
1.74 www 71: <LocationMatch "^/+enc.*">
1.115 raeburn 72: SetHandler perl-script
1.127 albertel 73: PerlHandler Apache::lonencurl
1.74 www 74: ErrorDocument 403 /adm/login
1.80 albertel 75: ErrorDocument 404 /adm/notfound.html
76: ErrorDocument 406 /adm/roles
1.11 www 77: ErrorDocument 500 /adm/errorhandler
78: </LocationMatch>
79:
1.84 banghart 80: <Location /adm/portfolio>
1.139 albertel 81: AuthType LONCAPA
1.125 albertel 82: Require valid-user
83: PerlAuthzHandler Apache::lonacc
1.123 raeburn 84: SetHandler perl-script
1.126 albertel 85: PerlHandler Apache::portfolio
1.123 raeburn 86: </Location>
87:
1.136 raeburn 88: <Location /adm/coursegrp_portfolio>
1.139 albertel 89: AuthType LONCAPA
1.136 raeburn 90: Require valid-user
91: PerlAuthzHandler Apache::lonacc
92: SetHandler perl-script
93: PerlHandler Apache::portfolio
94: </Location>
95:
1.21 www 96: <LocationMatch "^/+userfiles.*">
1.11 www 97: PerlAccessHandler Apache::lontokacc
1.58 www 98: PerlCleanupHandler Apache::lontokacc::removefile
1.129 albertel 99: PerlCleanupHandler Apache::lonacc::cleanup
1.12 www 100: </LocationMatch>
101:
1.76 albertel 102: <LocationMatch "^/+uploaded.*">
1.139 albertel 103: AuthType LONCAPA
1.125 albertel 104: Require valid-user
105: PerlAuthzHandler Apache::lonacc
1.75 raeburn 106: PerlHeaderParserHandler Apache::lonuploadrep
1.80 albertel 107: ErrorDocument 403 /adm/login
1.16 www 108: ErrorDocument 404 /adm/notfound.html
1.80 albertel 109: ErrorDocument 406 /adm/roles
1.16 www 110: ErrorDocument 500 /adm/errorhandler
1.75 raeburn 111: </LocationMatch>
112:
1.106 albertel 113: <LocationMatch "^/+editupload.*">
1.139 albertel 114: AuthType LONCAPA
1.125 albertel 115: Require valid-user
116: PerlAuthzHandler Apache::lonacc
1.106 albertel 117: ErrorDocument 403 /adm/login
118: ErrorDocument 406 /adm/roles
119: ErrorDocument 500 /adm/errorhandler
120: </LocationMatch>
121:
1.98 albertel 122: <LocationMatch "^/+uploaded/.*/.*/internal/.*">
1.138 albertel 123: PerlAuthzHandler Apache::lonuploadedacc
1.98 albertel 124: </LocationMatch>
125:
1.140 raeburn 126: <LocationMatch "^/+uploaded/.*/.*/portfolio/.*">
127: PerlAccessHandler Apache::publiccheck
1.141 albertel 128: AuthType LONCAPA
1.140 raeburn 129: Require valid-user
130: PerlAuthzHandler Apache::lonacc
131: </LocationMatch>
132:
133: <LocationMatch "^/+uploaded/.*/.*/groups/.*/portfolio/.*">
134: PerlAccessHandler Apache::publiccheck
1.141 albertel 135: AuthType LONCAPA
1.140 raeburn 136: Require valid-user
137: PerlAuthzHandler Apache::lonacc
138: </LocationMatch>
1.98 albertel 139:
1.76 albertel 140: <LocationMatch "^/+uploaded/.*\.page$">
1.75 raeburn 141: SetHandler perl-script
1.126 albertel 142: PerlHandler Apache::lonpage
1.75 raeburn 143: </LocationMatch>
144:
1.76 albertel 145: <LocationMatch "^/+uploaded/.*\.sequence$">
1.75 raeburn 146: SetHandler perl-script
1.126 albertel 147: PerlHandler Apache::lonsequence
1.16 www 148: </LocationMatch>
149:
1.44 www 150: <LocationMatch "^/+public/.*/syllabus$">
1.132 albertel 151: PerlAccessHandler Apache::publiccheck
1.139 albertel 152: AuthType LONCAPA
1.125 albertel 153: Require valid-user
154: PerlAuthzHandler Apache::lonacc
1.16 www 155: SetHandler perl-script
1.126 albertel 156: PerlHandler Apache::lonsyllabus
1.16 www 157: ErrorDocument 404 /adm/notfound.html
158: ErrorDocument 500 /adm/errorhandler
159: </LocationMatch>
160:
1.122 www 161: <LocationMatch "^/+(public|adm)/.*(\.rss|_rss\.html)$">
1.132 albertel 162: PerlAccessHandler Apache::publiccheck
1.139 albertel 163: AuthType LONCAPA
1.125 albertel 164: Require valid-user
165: PerlAuthzHandler Apache::lonacc
1.121 www 166: SetHandler perl-script
1.126 albertel 167: PerlHandler Apache::lonrss
1.121 www 168: ErrorDocument 404 /adm/notfound.html
169: ErrorDocument 500 /adm/errorhandler
170: </LocationMatch>
171:
1.44 www 172: <LocationMatch "^/adm/.*/aboutme$">
1.139 albertel 173: AuthType LONCAPA
1.125 albertel 174: Require valid-user
175: PerlAuthzHandler Apache::lonacc
1.16 www 176: SetHandler perl-script
1.126 albertel 177: PerlHandler Apache::lonaboutme
1.19 www 178: ErrorDocument 404 /adm/notfound.html
1.54 www 179: ErrorDocument 406 /adm/notinit.html
1.19 www 180: ErrorDocument 500 /adm/errorhandler
181: </LocationMatch>
182:
1.44 www 183: <LocationMatch "^/adm/.*/smppg$">
1.139 albertel 184: AuthType LONCAPA
1.125 albertel 185: Require valid-user
186: PerlAuthzHandler Apache::lonacc
1.19 www 187: SetHandler perl-script
1.126 albertel 188: PerlHandler Apache::lonsimplepage
1.19 www 189: ErrorDocument 404 /adm/notfound.html
1.54 www 190: ErrorDocument 406 /adm/notinit.html
1.19 www 191: ErrorDocument 500 /adm/errorhandler
192: </LocationMatch>
193:
1.44 www 194: <LocationMatch "^/adm/.*/bulletinboard$">
1.139 albertel 195: AuthType LONCAPA
1.125 albertel 196: Require valid-user
197: PerlAuthzHandler Apache::lonacc
1.19 www 198: SetHandler perl-script
1.126 albertel 199: PerlHandler Apache::londatecheck
200: PerlHandler Apache::lonbulletin
1.55 www 201: ErrorDocument 404 /adm/notfound.html
202: ErrorDocument 406 /adm/notinit.html
203: ErrorDocument 500 /adm/errorhandler
204: </LocationMatch>
205:
206: <LocationMatch "\.problem/smpedit$">
1.139 albertel 207: AuthType LONCAPA
1.125 albertel 208: Require valid-user
209: PerlAuthzHandler Apache::lonacc
1.55 www 210: SetHandler perl-script
1.126 albertel 211: PerlHandler Apache::lonsimpleproblemedit
1.11 www 212: ErrorDocument 404 /adm/notfound.html
1.54 www 213: ErrorDocument 406 /adm/notinit.html
1.1 harris41 214: ErrorDocument 500 /adm/errorhandler
215: </LocationMatch>
216:
1.21 www 217: <LocationMatch "^/+priv.*">
1.139 albertel 218: AuthType LONCAPA
1.131 albertel 219: Require valid-user
1.125 albertel 220: PerlAuthzHandler Apache::loncacc
1.1 harris41 221: SetHandler perl-script
1.126 albertel 222: PerlHandler Apache::lonconstruct
1.1 harris41 223: ErrorDocument 403 /adm/login
224: ErrorDocument 404 /adm/notfound.html
1.18 www 225: ErrorDocument 406 /adm/unauthorized
1.1 harris41 226: ErrorDocument 500 /adm/errorhandler
227: </LocationMatch>
228:
1.21 www 229: <LocationMatch "^/+raw.*">
1.1 harris41 230: PerlAccessHandler Apache::lonracc
231: </LocationMatch>
232:
1.21 www 233: <LocationMatch "^/+\~.*">
1.139 albertel 234: AuthType LONCAPA
1.131 albertel 235: Require valid-user
1.125 albertel 236: PerlAuthzHandler Apache::loncacc
1.1 harris41 237: ErrorDocument 403 /adm/login
238: ErrorDocument 404 /adm/notfound.html
1.18 www 239: ErrorDocument 406 /adm/unauthorized
1.1 harris41 240: ErrorDocument 500 /adm/errorhandler
241: </LocationMatch>
242:
1.41 bowersj2 243: <LocationMatch "^/adm/helper/.*\.helper$">
1.139 albertel 244: AuthType LONCAPA
1.125 albertel 245: Require valid-user
1.142 albertel 246: PerlAuthzHandler Apache::lonacc
1.41 bowersj2 247: SetHandler perl-script
1.126 albertel 248: PerlHandler Apache::lonhelper
1.41 bowersj2 249: ErrorDocument 403 /adm/login
250: ErrorDocument 404 /adm/notfound.html
251: ErrorDocument 406 /adm/unauthorized
252: ErrorDocument 500 /adm/errorhandler
253: </LocationMatch>
254:
1.23 albertel 255: <LocationMatch "/prtspool">
1.139 albertel 256: AuthType LONCAPA
1.125 albertel 257: Require valid-user
258: PerlAuthzHandler Apache::lonacc
1.23 albertel 259: ErrorDocument 403 /adm/login
260: ErrorDocument 404 /adm/notfound.html
261: ErrorDocument 406 /adm/roles
1.99 www 262: ErrorDocument 413 /adm/overloaded.txt
1.23 albertel 263: ErrorDocument 500 /adm/errorhandler
264: </LocationMatch>
1.1 harris41 265: # ------------------------------------------------------------------------- RAT
266:
267: <LocationMatch "^/\~.*\.sequence$">
268: SetHandler perl-script
1.126 albertel 269: PerlHandler Apache::lonratedt
1.1 harris41 270: </LocationMatch>
271:
272: <LocationMatch "^/\~.*\.page$">
273: SetHandler perl-script
1.126 albertel 274: PerlHandler Apache::lonratedt
1.1 harris41 275: </LocationMatch>
276:
277: <LocationMatch "^/\~.*\/ratserver$">
278: SetHandler perl-script
1.126 albertel 279: PerlHandler Apache::lonratsrv
1.1 harris41 280: </LocationMatch>
281:
1.100 raeburn 282: <LocationMatch "^/\~.*\/adveditmenu$">
283: SetHandler perl-script
1.126 albertel 284: PerlHandler Apache::lonratmenu
1.100 raeburn 285: </LocationMatch>
286:
1.1 harris41 287: <Location /adm/ratparms>
1.139 albertel 288: AuthType LONCAPA
1.125 albertel 289: Require valid-user
290: PerlAuthzHandler Apache::lonacc
1.1 harris41 291: SetHandler perl-script
1.126 albertel 292: PerlHandler Apache::lonratparms
1.1 harris41 293: ErrorDocument 403 /adm/login
294: ErrorDocument 500 /adm/errorhandler
295: </Location>
296:
297: # --------------------------------------------- Resource Space Content Handlers
298:
1.64 albertel 299: <LocationMatch "^/+res.*/$">
1.1 harris41 300: SetHandler perl-script
1.126 albertel 301: PerlHandler Apache::lonindexer
1.29 www 302: PerlCleanupHandler Apache::lonindexer::cleanup
1.129 albertel 303: PerlCleanupHandler Apache::lonacc::cleanup
1.1 harris41 304: </LocationMatch>
305:
1.64 albertel 306: <LocationMatch "^/+(res|\~).*\.tex$">
1.1 harris41 307: SetHandler perl-script
1.126 albertel 308: PerlHandler Apache::lontex
1.1 harris41 309: </LocationMatch>
310:
1.71 www 311: <LocationMatch "^/+res/.*\.page$">
1.1 harris41 312: SetHandler perl-script
1.126 albertel 313: PerlHandler Apache::lonpage
1.1 harris41 314: </LocationMatch>
315:
1.71 www 316: <LocationMatch "^/+res/.*\.sequence$">
1.1 harris41 317: SetHandler perl-script
1.126 albertel 318: PerlHandler Apache::lonsequence
1.1 harris41 319: </LocationMatch>
320:
1.106 albertel 321: <LocationMatch "^/+(res|\~|public|uploaded|editupload|adm).*\.meta$">
1.132 albertel 322: PerlAccessHandler Apache::publiccheck
1.1 harris41 323: SetHandler perl-script
1.126 albertel 324: PerlHandler Apache::lonmeta
1.99 www 325: ErrorDocument 413 /adm/overloaded.txt
1.39 www 326: </LocationMatch>
327:
1.71 www 328: <LocationMatch "^/adm/bombs/">
1.139 albertel 329: AuthType LONCAPA
1.125 albertel 330: Require valid-user
1.71 www 331: SetHandler perl-script
1.125 albertel 332: PerlAuthzHandler Apache::lonacc
1.126 albertel 333: PerlHandler Apache::lonmeta
1.71 www 334: </LocationMatch>
335:
336:
337:
338: <LocationMatch "^/+(res|\~).*\.rights$">
1.39 www 339: SetHandler perl-script
1.126 albertel 340: PerlHandler Apache::lonrights
1.1 harris41 341: </LocationMatch>
342:
1.78 albertel 343: <LocationMatch "^/+(uploaded|res|\~).*\.(xml|html|htm|xhtml|xhtm|sty)$">
1.1 harris41 344: SetHandler perl-script
1.126 albertel 345: PerlHandler Apache::londatecheck
346: PerlHandler Apache::lonxml
1.1 harris41 347: </LocationMatch>
348:
1.107 albertel 349: <LocationMatch "^/+(res|\~).*\.(task|problem|exam|quiz|assess|survey|form|library)$">
1.1 harris41 350: SetHandler perl-script
1.126 albertel 351: PerlHandler Apache::lonhomework
1.1 harris41 352: </LocationMatch>
353:
354: <LocationMatch "^/adm/wrapper/">
1.139 albertel 355: AuthType LONCAPA
1.125 albertel 356: Require valid-user
357: PerlAuthzHandler Apache::lonacc
1.1 harris41 358: SetHandler perl-script
1.126 albertel 359: PerlHandler Apache::lonwrapper
1.66 www 360: ErrorDocument 403 /adm/login
361: ErrorDocument 500 /adm/errorhandler
362: </LocationMatch>
363:
1.113 www 364: <LocationMatch "^/adm/source">
1.139 albertel 365: AuthType LONCAPA
1.125 albertel 366: Require valid-user
367: PerlAuthzHandler Apache::lonacc
1.83 taceyjo1 368: SetHandler perl-script
1.126 albertel 369: PerlHandler Apache::lonsource
1.83 taceyjo1 370: ErrorDocument 403 /adm/login
1.85 www 371: ErrorDocument 406 /adm/roles
1.83 taceyjo1 372: ErrorDocument 500 /adm/errorhandler
373: </LocationMatch>
374:
375:
1.66 www 376: <LocationMatch "^/adm/localize/">
1.139 albertel 377: AuthType LONCAPA
1.125 albertel 378: Require valid-user
379: PerlAuthzHandler Apache::lonacc
1.66 www 380: SetHandler perl-script
1.126 albertel 381: PerlHandler Apache::lonlocalize
1.1 harris41 382: ErrorDocument 403 /adm/login
383: ErrorDocument 500 /adm/errorhandler
384: </LocationMatch>
385:
386: # -------------------------------------------------------------- Admin Programs
1.24 albertel 387:
388: <Location /adm/randomlabel.png>
1.139 albertel 389: AuthType LONCAPA
1.125 albertel 390: Require valid-user
391: PerlAuthzHandler Apache::lonacc
1.24 albertel 392: SetHandler perl-script
1.126 albertel 393: PerlHandler Apache::randomlylabel
1.69 albertel 394: ErrorDocument 403 /adm/login
395: ErrorDocument 500 /adm/errorhandler
396: </Location>
397:
398: <Location /adm/imagechoice>
1.139 albertel 399: AuthType LONCAPA
1.125 albertel 400: Require valid-user
401: PerlAuthzHandler Apache::lonacc
1.69 albertel 402: SetHandler perl-script
1.126 albertel 403: PerlHandler Apache::imagechoice
1.24 albertel 404: ErrorDocument 403 /adm/login
405: ErrorDocument 500 /adm/errorhandler
406: </Location>
1.1 harris41 407:
408: <Location /adm/statistics>
1.139 albertel 409: AuthType LONCAPA
1.125 albertel 410: Require valid-user
411: PerlAuthzHandler Apache::lonacc
1.1 harris41 412: SetHandler perl-script
1.126 albertel 413: PerlHandler Apache::lonstatistics
1.1 harris41 414: ErrorDocument 403 /adm/login
1.20 www 415: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 416: ErrorDocument 500 /adm/errorhandler
417: </Location>
418:
1.92 matthew 419: <Location /adm/trackstudent>
1.139 albertel 420: AuthType LONCAPA
1.125 albertel 421: Require valid-user
422: PerlAuthzHandler Apache::lonacc
1.92 matthew 423: SetHandler perl-script
1.126 albertel 424: PerlHandler Apache::lontrackstudent
1.92 matthew 425: ErrorDocument 403 /adm/login
426: ErrorDocument 413 /adm/overloaded.txt
427: ErrorDocument 500 /adm/errorhandler
428: </Location>
429:
1.1 harris41 430: <Location /adm/roles>
1.139 albertel 431: AuthType LONCAPA
1.125 albertel 432: Require valid-user
433: PerlAuthzHandler Apache::lonacc
1.1 harris41 434: SetHandler perl-script
1.126 albertel 435: PerlHandler Apache::lonroles
1.33 www 436: ErrorDocument 403 /adm/login
437: ErrorDocument 500 /adm/errorhandler
438: </Location>
439:
440: <Location /adm/menu>
1.139 albertel 441: AuthType LONCAPA
1.125 albertel 442: Require valid-user
443: PerlAuthzHandler Apache::lonacc
1.33 www 444: SetHandler perl-script
1.128 albertel 445: PerlHandler Apache::lonmainmenu
1.42 www 446: ErrorDocument 403 /adm/login
447: ErrorDocument 500 /adm/errorhandler
448: </Location>
449:
450: <Location /adm/remote>
1.139 albertel 451: AuthType LONCAPA
1.125 albertel 452: Require valid-user
453: PerlAuthzHandler Apache::lonacc
1.42 www 454: SetHandler perl-script
1.126 albertel 455: PerlHandler Apache::lonremote
1.27 www 456: ErrorDocument 403 /adm/login
457: ErrorDocument 500 /adm/errorhandler
458: </Location>
459:
460: <Location /adm/pickstudent>
1.139 albertel 461: AuthType LONCAPA
1.125 albertel 462: Require valid-user
463: PerlAuthzHandler Apache::lonacc
1.27 www 464: SetHandler perl-script
1.126 albertel 465: PerlHandler Apache::lonpickstudent
1.40 www 466: ErrorDocument 403 /adm/login
467: ErrorDocument 500 /adm/errorhandler
468: </Location>
469:
470: <Location /adm/pickcourse>
1.139 albertel 471: AuthType LONCAPA
1.125 albertel 472: Require valid-user
473: PerlAuthzHandler Apache::lonacc
1.40 www 474: SetHandler perl-script
1.126 albertel 475: PerlHandler Apache::lonpickcourse
1.77 albertel 476: ErrorDocument 403 /adm/login
477: ErrorDocument 500 /adm/errorhandler
478: </Location>
479:
480: <Location /adm/pickcode>
1.139 albertel 481: AuthType LONCAPA
1.125 albertel 482: Require valid-user
483: PerlAuthzHandler Apache::lonacc
1.77 albertel 484: SetHandler perl-script
1.126 albertel 485: PerlHandler Apache::lonpickcode
1.1 harris41 486: ErrorDocument 403 /adm/login
487: ErrorDocument 500 /adm/errorhandler
488: </Location>
489:
490: <Location /adm/login>
491: SetHandler perl-script
1.126 albertel 492: PerlHandler Apache::lonlogin
1.1 harris41 493: </Location>
494:
1.148 ! raeburn 495: <Location /adm/restrictedaccess>
! 496: PerlAccessHandler Apache::publiccheck
! 497: AuthType LONCAPA
! 498: SetHandler perl-script
! 499: PerlHandler Apache::restrictedaccess
! 500: </Location>
! 501:
1.1 harris41 502: <Location /adm/logout>
1.139 albertel 503: AuthType LONCAPA
1.125 albertel 504: Require valid-user
505: PerlAuthzHandler Apache::lonacc
1.1 harris41 506: SetHandler perl-script
1.126 albertel 507: PerlHandler Apache::lonlogout
1.1 harris41 508: ErrorDocument 403 /adm/login
509: </Location>
510:
1.117 albertel 511: <Location /adm/switchserver>
1.139 albertel 512: AuthType LONCAPA
1.125 albertel 513: Require valid-user
514: PerlAuthzHandler Apache::lonacc
1.117 albertel 515: SetHandler perl-script
1.126 albertel 516: PerlHandler Apache::switchserver
1.117 albertel 517: ErrorDocument 403 /adm/login
518: </Location>
519:
1.1 harris41 520: <Location /adm/authenticate>
521: SetHandler perl-script
1.126 albertel 522: PerlHandler Apache::lonauth
1.1 harris41 523: </Location>
524:
1.117 albertel 525: <Location /adm/migrateuser>
526: SetHandler perl-script
1.126 albertel 527: PerlHandler Apache::migrateuser
1.117 albertel 528: </Location>
529:
1.1 harris41 530: <Location /adm/annotations>
1.139 albertel 531: AuthType LONCAPA
1.125 albertel 532: Require valid-user
533: PerlAuthzHandler Apache::lonacc
1.1 harris41 534: SetHandler perl-script
1.126 albertel 535: PerlHandler Apache::admannotations
1.1 harris41 536: ErrorDocument 403 /adm/login
537: ErrorDocument 500 /adm/errorhandler
538: </Location>
539:
1.91 www 540: <Location /adm/spellcheck>
1.139 albertel 541: AuthType LONCAPA
1.125 albertel 542: Require valid-user
543: PerlAuthzHandler Apache::lonacc
1.91 www 544: SetHandler perl-script
1.126 albertel 545: PerlHandler Apache::lonspeller
1.91 www 546: ErrorDocument 403 /adm/login
547: ErrorDocument 500 /adm/errorhandler
548: </Location>
549:
1.1 harris41 550: <Location /adm/bookmarks>
1.139 albertel 551: AuthType LONCAPA
1.125 albertel 552: Require valid-user
553: PerlAuthzHandler Apache::lonacc
1.1 harris41 554: SetHandler perl-script
1.126 albertel 555: PerlHandler Apache::admbookmarks
1.1 harris41 556: ErrorDocument 403 /adm/login
557: ErrorDocument 500 /adm/errorhandler
558: </Location>
559:
560: <Location /adm/flip>
1.139 albertel 561: AuthType LONCAPA
1.125 albertel 562: Require valid-user
563: PerlAuthzHandler Apache::lonacc
1.1 harris41 564: SetHandler perl-script
1.126 albertel 565: PerlHandler Apache::lonpageflip
1.30 www 566: PerlCleanupHandler Apache::lonpageflip::cleanup
1.129 albertel 567: PerlCleanupHandler Apache::lonacc::cleanup
1.1 harris41 568: ErrorDocument 406 /adm/roles
569: ErrorDocument 403 /adm/login
570: ErrorDocument 500 /adm/errorhandler
571: </Location>
572:
573: <Location /adm/ambiguous>
1.139 albertel 574: AuthType LONCAPA
1.125 albertel 575: Require valid-user
576: PerlAuthzHandler Apache::lonacc
1.1 harris41 577: SetHandler perl-script
1.126 albertel 578: PerlHandler Apache::lonambiguous
1.30 www 579: PerlCleanupHandler Apache::lonambiguous::cleanup
1.129 albertel 580: PerlCleanupHandler Apache::lonacc::cleanup
1.1 harris41 581: ErrorDocument 403 /adm/login
582: ErrorDocument 500 /adm/errorhandler
583: </Location>
584:
585: <Location /adm/email>
1.139 albertel 586: AuthType LONCAPA
1.125 albertel 587: Require valid-user
588: PerlAuthzHandler Apache::lonacc
1.1 harris41 589: SetHandler perl-script
1.130 albertel 590: PerlHandler Apache::lonmsgdisplay
1.1 harris41 591: ErrorDocument 403 /adm/login
592: ErrorDocument 500 /adm/errorhandler
593: </Location>
594:
1.116 raeburn 595: <Location /adm/notify>
1.139 albertel 596: AuthType LONCAPA
1.125 albertel 597: Require valid-user
598: PerlAuthzHandler Apache::lonacc
1.116 raeburn 599: SetHandler perl-script
1.126 albertel 600: PerlHandler Apache::lonnotify
1.116 raeburn 601: ErrorDocument 403 /adm/login
602: ErrorDocument 500 /adm/errorhandler
603: </Location>
604:
1.1 harris41 605: <Location /adm/parmset>
1.139 albertel 606: AuthType LONCAPA
1.125 albertel 607: Require valid-user
608: PerlAuthzHandler Apache::lonacc
1.1 harris41 609: SetHandler perl-script
1.126 albertel 610: PerlHandler Apache::lonparmset
1.31 bowersj2 611: ErrorDocument 403 /adm/login
612: ErrorDocument 406 /adm/roles
613: ErrorDocument 500 /adm/errorhandler
614: </Location>
615:
1.110 albertel 616: <Location /adm/slotrequest>
1.139 albertel 617: AuthType LONCAPA
1.125 albertel 618: Require valid-user
619: PerlAuthzHandler Apache::lonacc
1.110 albertel 620: SetHandler perl-script
1.126 albertel 621: PerlHandler Apache::slotrequest
1.110 albertel 622: ErrorDocument 403 /adm/login
623: ErrorDocument 406 /adm/roles
624: ErrorDocument 500 /adm/errorhandler
625: </Location>
626:
1.31 bowersj2 627: <Location /adm/wizard>
1.139 albertel 628: AuthType LONCAPA
1.125 albertel 629: Require valid-user
630: PerlAuthzHandler Apache::lonacc
1.31 bowersj2 631: SetHandler perl-script
1.126 albertel 632: PerlHandler Apache::lonwizard
1.1 harris41 633: ErrorDocument 403 /adm/login
634: ErrorDocument 406 /adm/roles
635: ErrorDocument 500 /adm/errorhandler
636: </Location>
637:
638: <Location /adm/grades>
1.139 albertel 639: AuthType LONCAPA
1.125 albertel 640: Require valid-user
641: PerlAuthzHandler Apache::lonacc
1.1 harris41 642: SetHandler perl-script
1.126 albertel 643: PerlHandler Apache::grades
1.1 harris41 644: ErrorDocument 403 /adm/login
645: ErrorDocument 406 /adm/roles
646: ErrorDocument 500 /adm/errorhandler
647: </Location>
648:
649: <Location /adm/createcourse>
1.139 albertel 650: AuthType LONCAPA
1.125 albertel 651: Require valid-user
652: PerlAuthzHandler Apache::lonacc
1.1 harris41 653: SetHandler perl-script
1.126 albertel 654: PerlHandler Apache::loncreatecourse
1.1 harris41 655: ErrorDocument 403 /adm/login
656: ErrorDocument 406 /adm/roles
657: ErrorDocument 500 /adm/errorhandler
1.67 raeburn 658: </Location>
659:
660: <Location /adm/modifycourse>
1.139 albertel 661: AuthType LONCAPA
1.125 albertel 662: Require valid-user
663: PerlAuthzHandler Apache::lonacc
1.67 raeburn 664: SetHandler perl-script
1.126 albertel 665: PerlHandler Apache::lonmodifycourse
1.67 raeburn 666: ErrorDocument 403 /adm/login
667: ErrorDocument 406 /adm/roles
668: ErrorDocument 500 /adm/errorhandler
1.1 harris41 669: </Location>
670:
671: <Location /adm/createuser>
1.139 albertel 672: AuthType LONCAPA
1.125 albertel 673: Require valid-user
674: PerlAuthzHandler Apache::lonacc
1.1 harris41 675: SetHandler perl-script
1.126 albertel 676: PerlHandler Apache::loncreateuser
1.1 harris41 677: ErrorDocument 403 /adm/login
678: ErrorDocument 406 /adm/roles
679: ErrorDocument 500 /adm/errorhandler
680: </Location>
681:
682: <Location /adm/publish>
1.139 albertel 683: AuthType LONCAPA
1.125 albertel 684: Require valid-user
685: PerlAuthzHandler Apache::lonacc
1.1 harris41 686: SetHandler perl-script
1.126 albertel 687: PerlHandler Apache::lonpublisher
1.1 harris41 688: ErrorDocument 403 /adm/login
689: ErrorDocument 404 /adm/notfound.html
1.18 www 690: ErrorDocument 406 /adm/unauthorized
1.1 harris41 691: ErrorDocument 500 /adm/errorhandler
692: </Location>
693:
1.64 albertel 694: <LocationMatch "^/+\~.*/$">
1.139 albertel 695: AuthType LONCAPA
1.131 albertel 696: Require valid-user
1.125 albertel 697: PerlAuthzHandler Apache::loncacc
1.1 harris41 698: SetHandler perl-script
1.126 albertel 699: PerlHandler Apache::lonpubdir
1.1 harris41 700: ErrorDocument 403 /adm/login
701: ErrorDocument 404 /adm/notfound.html
1.18 www 702: ErrorDocument 406 /adm/unauthorized
1.1 harris41 703: ErrorDocument 500 /adm/errorhandler
704: </LocationMatch>
705:
706: <Location /adm/pubdir>
1.139 albertel 707: AuthType LONCAPA
1.125 albertel 708: Require valid-user
709: PerlAuthzHandler Apache::lonacc
1.1 harris41 710: SetHandler perl-script
1.126 albertel 711: PerlHandler Apache::lonpubdir
1.1 harris41 712: ErrorDocument 403 /adm/login
713: ErrorDocument 404 /adm/notfound.html
1.18 www 714: ErrorDocument 406 /adm/unauthorized
715: ErrorDocument 500 /adm/errorhandler
716: </Location>
717:
718: <Location /adm/unauthorized>
1.139 albertel 719: AuthType LONCAPA
1.125 albertel 720: Require valid-user
721: PerlAuthzHandler Apache::lonacc
1.18 www 722: SetHandler perl-script
1.126 albertel 723: PerlHandler Apache::lonunauthorized
1.18 www 724: ErrorDocument 403 /adm/login
725: ErrorDocument 404 /adm/notfound.html
1.1 harris41 726: ErrorDocument 500 /adm/errorhandler
727: </Location>
728:
729: <Location /adm/retrieve>
1.139 albertel 730: AuthType LONCAPA
1.125 albertel 731: Require valid-user
732: PerlAuthzHandler Apache::lonacc
1.1 harris41 733: SetHandler perl-script
1.126 albertel 734: PerlHandler Apache::lonretrieve
1.1 harris41 735: ErrorDocument 403 /adm/login
736: ErrorDocument 404 /adm/notfound.html
1.18 www 737: ErrorDocument 406 /adm/unauthorized
1.1 harris41 738: ErrorDocument 500 /adm/errorhandler
739: </Location>
740:
1.109 www 741: <Location /adm/cleanup>
1.139 albertel 742: AuthType LONCAPA
1.125 albertel 743: Require valid-user
744: PerlAuthzHandler Apache::lonacc
1.109 www 745: SetHandler perl-script
1.126 albertel 746: PerlHandler Apache::loncleanup
1.109 www 747: ErrorDocument 403 /adm/login
748: ErrorDocument 404 /adm/notfound.html
749: ErrorDocument 406 /adm/unauthorized
750: ErrorDocument 500 /adm/errorhandler
751: </Location>
752:
1.1 harris41 753: <Location /adm/cfile>
1.139 albertel 754: AuthType LONCAPA
1.125 albertel 755: Require valid-user
756: PerlAuthzHandler Apache::lonacc
1.1 harris41 757: SetHandler perl-script
1.126 albertel 758: PerlHandler Apache::loncfile
1.1 harris41 759: ErrorDocument 403 /adm/login
760: ErrorDocument 404 /adm/notfound.html
1.18 www 761: ErrorDocument 406 /adm/unauthorized
1.1 harris41 762: ErrorDocument 500 /adm/errorhandler
763: </Location>
764:
765: <Location /adm/diff>
1.139 albertel 766: AuthType LONCAPA
1.125 albertel 767: Require valid-user
768: PerlAuthzHandler Apache::lonacc
1.1 harris41 769: SetHandler perl-script
1.126 albertel 770: PerlHandler Apache::londiff
1.1 harris41 771: ErrorDocument 403 /adm/login
772: ErrorDocument 404 /adm/notfound.html
1.18 www 773: ErrorDocument 406 /adm/unauthorized
1.1 harris41 774: ErrorDocument 500 /adm/errorhandler
775: </Location>
776:
777: <Location /adm/upload>
1.139 albertel 778: AuthType LONCAPA
1.125 albertel 779: Require valid-user
780: PerlAuthzHandler Apache::lonacc
1.1 harris41 781: SetHandler perl-script
1.126 albertel 782: PerlHandler Apache::lonupload
1.1 harris41 783: ErrorDocument 403 /adm/login
784: ErrorDocument 404 /adm/notfound.html
1.18 www 785: ErrorDocument 406 /adm/unauthorized
1.1 harris41 786: ErrorDocument 500 /adm/errorhandler
1.72 raeburn 787: </Location>
788:
1.73 raeburn 789: <Location /adm/imsimport>
1.139 albertel 790: AuthType LONCAPA
1.125 albertel 791: Require valid-user
792: PerlAuthzHandler Apache::lonacc
1.73 raeburn 793: SetHandler perl-script
1.126 albertel 794: PerlHandler Apache::imsimport
1.73 raeburn 795: ErrorDocument 403 /adm/login
796: ErrorDocument 404 /adm/notfound.html
797: ErrorDocument 406 /adm/unauthorized
798: ErrorDocument 500 /adm/errorhandler
799: </Location>
800:
1.72 raeburn 801: <Location /adm/testbank>
1.139 albertel 802: AuthType LONCAPA
1.125 albertel 803: Require valid-user
804: PerlAuthzHandler Apache::lonacc
1.72 raeburn 805: SetHandler perl-script
1.126 albertel 806: PerlHandler Apache::testbankimport
1.72 raeburn 807: ErrorDocument 403 /adm/login
808: ErrorDocument 404 /adm/notfound.html
809: ErrorDocument 406 /adm/unauthorized
810: ErrorDocument 500 /adm/errorhandler
1.1 harris41 811: </Location>
812:
813: <Location /adm/assesscalc>
1.139 albertel 814: AuthType LONCAPA
1.125 albertel 815: Require valid-user
816: PerlAuthzHandler Apache::lonacc
1.1 harris41 817: SetHandler perl-script
1.126 albertel 818: PerlHandler Apache::lonspreadsheet
1.1 harris41 819: ErrorDocument 403 /adm/login
820: ErrorDocument 406 /adm/roles
1.20 www 821: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 822: ErrorDocument 500 /adm/errorhandler
823: </Location>
824:
825: <Location /adm/studentcalc>
1.139 albertel 826: AuthType LONCAPA
1.125 albertel 827: Require valid-user
828: PerlAuthzHandler Apache::lonacc
1.1 harris41 829: SetHandler perl-script
1.126 albertel 830: PerlHandler Apache::lonspreadsheet
1.1 harris41 831: ErrorDocument 403 /adm/login
832: ErrorDocument 406 /adm/roles
1.20 www 833: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 834: ErrorDocument 500 /adm/errorhandler
835: </Location>
836:
837: <Location /adm/classcalc>
1.139 albertel 838: AuthType LONCAPA
1.125 albertel 839: Require valid-user
840: PerlAuthzHandler Apache::lonacc
1.1 harris41 841: SetHandler perl-script
1.126 albertel 842: PerlHandler Apache::lonspreadsheet
1.1 harris41 843: ErrorDocument 403 /adm/login
844: ErrorDocument 406 /adm/roles
1.20 www 845: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 846: ErrorDocument 500 /adm/errorhandler
847: </Location>
848:
849: <Location /adm/dropadd>
1.139 albertel 850: AuthType LONCAPA
1.125 albertel 851: Require valid-user
852: PerlAuthzHandler Apache::lonacc
1.1 harris41 853: SetHandler perl-script
1.126 albertel 854: PerlHandler Apache::londropadd
1.44 www 855: ErrorDocument 403 /adm/login
856: ErrorDocument 406 /adm/roles
857: ErrorDocument 500 /adm/errorhandler
1.65 raeburn 858: </Location>
859:
1.92 matthew 860: <Location /adm/viewclasslist>
1.139 albertel 861: AuthType LONCAPA
1.125 albertel 862: Require valid-user
863: PerlAuthzHandler Apache::lonacc
1.92 matthew 864: SetHandler perl-script
1.126 albertel 865: PerlHandler Apache::lonviewclasslist
1.92 matthew 866: ErrorDocument 403 /adm/login
867: ErrorDocument 406 /adm/roles
868: ErrorDocument 500 /adm/errorhandler
869: </Location>
870:
1.118 raeburn 871: <Location /adm/coursegroups>
1.139 albertel 872: AuthType LONCAPA
1.125 albertel 873: Require valid-user
874: PerlAuthzHandler Apache::lonacc
1.118 raeburn 875: SetHandler perl-script
1.126 albertel 876: PerlHandler Apache::loncoursegroups
1.118 raeburn 877: ErrorDocument 403 /adm/login
878: ErrorDocument 406 /adm/roles
879: ErrorDocument 500 /adm/errorhandler
880: </Location>
881:
1.143 raeburn 882: <Location /adm/groupboards>
883: AuthType LONCAPA
884: Require valid-user
885: PerlAuthzHandler Apache::lonacc
886: SetHandler perl-script
887: PerlHandler Apache::groupboards
888: ErrorDocument 403 /adm/login
889: ErrorDocument 406 /adm/roles
890: ErrorDocument 500 /adm/errorhandler
891: </Location>
892:
1.144 raeburn 893: <Location /adm/grouproster>
894: AuthType LONCAPA
895: Require valid-user
896: PerlAuthzHandler Apache::lonacc
897: SetHandler perl-script
898: PerlHandler Apache::grouproster
899: ErrorDocument 403 /adm/login
900: ErrorDocument 406 /adm/roles
901: ErrorDocument 500 /adm/errorhandler
902: </Location>
903:
1.112 raeburn 904: <Location /adm/whatsnew>
1.139 albertel 905: AuthType LONCAPA
1.125 albertel 906: Require valid-user
907: PerlAuthzHandler Apache::lonacc
1.112 raeburn 908: SetHandler perl-script
1.126 albertel 909: PerlHandler Apache::lonwhatsnew
1.112 raeburn 910: ErrorDocument 403 /adm/login
911: ErrorDocument 406 /adm/roles
912: ErrorDocument 500 /adm/errorhandler
913: </Location>
914:
1.65 raeburn 915: <Location /adm/populate>
1.139 albertel 916: AuthType LONCAPA
1.125 albertel 917: Require valid-user
918: PerlAuthzHandler Apache::lonacc
1.65 raeburn 919: SetHandler perl-script
1.126 albertel 920: PerlHandler Apache::lonpopulate
1.65 raeburn 921: ErrorDocument 403 /adm/login
922: ErrorDocument 406 /adm/roles
923: ErrorDocument 500 /adm/errorhandler
1.44 www 924: </Location>
925:
926: <Location /adm/managekeys>
1.139 albertel 927: AuthType LONCAPA
1.125 albertel 928: Require valid-user
929: PerlAuthzHandler Apache::lonacc
1.44 www 930: SetHandler perl-script
1.126 albertel 931: PerlHandler Apache::lonmanagekeys
1.1 harris41 932: ErrorDocument 403 /adm/login
933: ErrorDocument 406 /adm/roles
934: ErrorDocument 500 /adm/errorhandler
935: </Location>
936:
937: <Location /adm/printout>
1.139 albertel 938: AuthType LONCAPA
1.125 albertel 939: Require valid-user
940: PerlAuthzHandler Apache::lonacc
1.1 harris41 941: SetHandler perl-script
1.126 albertel 942: PerlHandler Apache::lonprintout
1.1 harris41 943: ErrorDocument 403 /adm/login
1.20 www 944: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 945: ErrorDocument 500 /adm/errorhandler
946: </Location>
947:
948: <Location /adm/feedback>
1.139 albertel 949: AuthType LONCAPA
1.125 albertel 950: Require valid-user
951: PerlAuthzHandler Apache::lonacc
1.1 harris41 952: SetHandler perl-script
1.126 albertel 953: PerlHandler Apache::lonfeedback
1.10 www 954: ErrorDocument 403 /adm/login
955: ErrorDocument 500 /adm/errorhandler
956: </Location>
957:
958: <Location /adm/coursedocs>
1.139 albertel 959: AuthType LONCAPA
1.125 albertel 960: Require valid-user
961: PerlAuthzHandler Apache::lonacc
1.10 www 962: SetHandler perl-script
1.126 albertel 963: PerlHandler Apache::londocs
1.108 albertel 964: PerlCleanupHandler Apache::londocs::untiehash
1.129 albertel 965: PerlCleanupHandler Apache::lonacc::cleanup
1.10 www 966: ErrorDocument 403 /adm/login
967: ErrorDocument 500 /adm/errorhandler
1.73 raeburn 968: </Location>
969:
970: <Location /adm/imsimportdocs>
1.139 albertel 971: AuthType LONCAPA
1.125 albertel 972: Require valid-user
973: PerlAuthzHandler Apache::lonacc
1.73 raeburn 974: SetHandler perl-script
1.126 albertel 975: PerlHandler Apache::imsimportdocs
1.73 raeburn 976: ErrorDocument 403 /adm/login
977: ErrorDocument 500 /adm/errorhandler
1.10 www 978: </Location>
979:
1.135 www 980: <LocationMatch "^/adm/announcements">
1.139 albertel 981: AuthType LONCAPA
1.125 albertel 982: Require valid-user
983: PerlAuthzHandler Apache::lonacc
1.10 www 984: SetHandler perl-script
1.126 albertel 985: PerlHandler Apache::lonannounce
1.10 www 986: ErrorDocument 403 /adm/login
987: ErrorDocument 500 /adm/errorhandler
1.135 www 988: </LocationMatch>
1.10 www 989:
990: <Location /adm/chat>
1.139 albertel 991: AuthType LONCAPA
1.125 albertel 992: Require valid-user
993: PerlAuthzHandler Apache::lonacc
1.10 www 994: SetHandler perl-script
1.126 albertel 995: PerlHandler Apache::lonchat
1.13 www 996: ErrorDocument 500 /adm/errorhandler
997: </Location>
998:
999: <Location /adm/chatfetch>
1.139 albertel 1000: AuthType LONCAPA
1.125 albertel 1001: Require valid-user
1002: PerlAuthzHandler Apache::lonacc
1.13 www 1003: SetHandler perl-script
1.126 albertel 1004: PerlHandler Apache::lonchatfetch
1.20 www 1005: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 1006: ErrorDocument 500 /adm/errorhandler
1007: </Location>
1008:
1.137 albertel 1009: <Location /adm/groupchat>
1.139 albertel 1010: AuthType LONCAPA
1.137 albertel 1011: Require valid-user
1012: PerlAuthzHandler Apache::lonacc
1013: SetHandler perl-script
1014: PerlHandler Apache::longroupchat
1015: ErrorDocument 403 /adm/login
1016: ErrorDocument 500 /adm/errorhandler
1017: </Location>
1018:
1.1 harris41 1019: <Location /adm/evaluate>
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::lonevaluate
1.1 harris41 1025: ErrorDocument 403 /adm/login
1026: ErrorDocument 500 /adm/errorhandler
1027: </Location>
1028:
1029: <Location /adm/preferences>
1.139 albertel 1030: AuthType LONCAPA
1.125 albertel 1031: Require valid-user
1032: PerlAuthzHandler Apache::lonacc
1.1 harris41 1033: SetHandler perl-script
1.126 albertel 1034: PerlHandler Apache::lonpreferences
1.1 harris41 1035: ErrorDocument 403 /adm/login
1036: ErrorDocument 500 /adm/errorhandler
1037: </Location>
1038:
1039: <Location /adm/communicate>
1.139 albertel 1040: AuthType LONCAPA
1.125 albertel 1041: Require valid-user
1042: PerlAuthzHandler Apache::lonacc
1.1 harris41 1043: SetHandler perl-script
1.126 albertel 1044: PerlHandler Apache::loncommunicate
1.1 harris41 1045: ErrorDocument 403 /adm/login
1046: ErrorDocument 500 /adm/errorhandler
1047: </Location>
1048:
1049: <Location /adm/searchcat>
1.139 albertel 1050: AuthType LONCAPA
1.125 albertel 1051: Require valid-user
1052: PerlAuthzHandler Apache::lonacc
1.1 harris41 1053: SetHandler perl-script
1.126 albertel 1054: PerlHandler Apache::lonsearchcat
1.28 www 1055: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.129 albertel 1056: PerlCleanupHandler Apache::lonacc::cleanup
1.1 harris41 1057: ErrorDocument 403 /adm/login
1.20 www 1058: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 1059: ErrorDocument 500 /adm/errorhandler
1060: </Location>
1061:
1062: <Location /adm/navmaps>
1.139 albertel 1063: AuthType LONCAPA
1.125 albertel 1064: Require valid-user
1065: PerlAuthzHandler Apache::lonacc
1.1 harris41 1066: SetHandler perl-script
1.126 albertel 1067: PerlHandler Apache::lonnavmaps
1.1 harris41 1068: ErrorDocument 403 /adm/login
1069: ErrorDocument 406 /adm/roles
1070: ErrorDocument 500 /adm/errorhandler
1.26 bowersj2 1071: </Location>
1072:
1073: <Location /adm/quickgrades>
1.139 albertel 1074: AuthType LONCAPA
1.125 albertel 1075: Require valid-user
1076: PerlAuthzHandler Apache::lonacc
1.26 bowersj2 1077: SetHandler perl-script
1.126 albertel 1078: PerlHandler Apache::lonquickgrades
1.26 bowersj2 1079: ErrorDocument 403 /adm/login
1080: ErrorDocument 406 /adm/roles
1081: ErrorDocument 500 /adm/errorhandler
1.1 harris41 1082: </Location>
1083:
1084: <Location /adm/groupsort>
1.139 albertel 1085: AuthType LONCAPA
1.125 albertel 1086: Require valid-user
1087: PerlAuthzHandler Apache::lonacc
1.1 harris41 1088: SetHandler perl-script
1.126 albertel 1089: PerlHandler Apache::groupsort
1.29 www 1090: PerlCleanupHandler Apache::groupsort::cleanup
1.129 albertel 1091: PerlCleanupHandler Apache::lonacc::cleanup
1.1 harris41 1092: ErrorDocument 403 /adm/login
1093: ErrorDocument 500 /adm/errorhandler
1094: </Location>
1095:
1096: <Location /adm/errorhandler>
1097: SetHandler perl-script
1.126 albertel 1098: PerlHandler Apache::lonerrorhandler
1.1 harris41 1099: </Location>
1100:
1.7 bowersj2 1101: <LocationMatch "^/adm/help/.*\.hlp$">
1.139 albertel 1102: AuthType LONCAPA
1.125 albertel 1103: Require valid-user
1.147 albertel 1104: PerlAccessHandler Apache::publiccheck
1.125 albertel 1105: PerlAuthzHandler Apache::lonacc
1.7 bowersj2 1106: SetHandler perl-script
1.126 albertel 1107: PerlHandler Apache::lonhelp
1.7 bowersj2 1108: </LocationMatch>
1109:
1.90 raeburn 1110: <LocationMatch "^/adm/helpmenu">
1.139 albertel 1111: AuthType LONCAPA
1.125 albertel 1112: Require valid-user
1113: PerlAuthzHandler Apache::lonacc
1.90 raeburn 1114: SetHandler perl-script
1.126 albertel 1115: PerlHandler Apache::lonhelpmenu
1.90 raeburn 1116: </LocationMatch>
1117:
1118: <LocationMatch "^/adm/support">
1.139 albertel 1119: AuthType LONCAPA
1.125 albertel 1120: Require valid-user
1121: PerlAuthzHandler Apache::lonacc
1.90 raeburn 1122: SetHandler perl-script
1.126 albertel 1123: PerlHandler Apache::lonsupportreq
1.90 raeburn 1124: </LocationMatch>
1125:
1.100 raeburn 1126: <LocationMatch "^/adm/helpdesk">
1127: SetHandler perl-script
1.126 albertel 1128: PerlHandler Apache::lonsupportreq
1.100 raeburn 1129: </LocationMatch>
1130:
1.133 albertel 1131: <LocationMatch "^/adm/css">
1132: SetHandler perl-script
1133: PerlHandler Apache::loncss
1134: </LocationMatch>
1135:
1.1 harris41 1136: # ------------------------------------------------- Backdoor Adm Tests/Programs
1137:
1138: <Location /cgi-bin/loncron.pl>
1.37 www 1139: AuthName "LON-CAPA Network Administration"
1140: AuthType Basic
1141: AuthUserFile /home/httpd/lonTabs/htpasswd
1142: require user lonadm
1143: </Location>
1144:
1145: <Location /cgi-bin/userstatus.pl>
1.1 harris41 1146: AuthName "LON-CAPA Network Administration"
1147: AuthType Basic
1148: AuthUserFile /home/httpd/lonTabs/htpasswd
1149: require user lonadm
1150: </Location>
1151:
1152: <Location /cgi-bin/lonversions.pl>
1153: AuthName "LON-CAPA Network Administration"
1154: AuthType Basic
1155: AuthUserFile /home/httpd/lonTabs/htpasswd
1156: require user lonadm
1157: </Location>
1158:
1159: <Location /cgi-bin/clusterstatus.pl>
1160: AuthName "LON-CAPA Network Administration"
1161: AuthType Basic
1162: AuthUserFile /home/httpd/lonTabs/htpasswd
1163: require user lonadm
1164: </Location>
1165:
1166: <Location /cgi-bin/metadata_keywords.pl>
1167: AuthName "LON-CAPA Network Administration"
1168: AuthType Basic
1169: AuthUserFile /home/httpd/lonTabs/htpasswd
1170: require user lonadm
1.22 www 1171: </Location>
1172:
1173: <Location /cgi-bin/metadata_harvest.pl>
1174: AuthName "harvest"
1175: AuthType Basic
1176: AuthUserFile /home/httpd/lonTabs/htpasswd
1177: require user reaper
1.62 www 1178: </Location>
1179:
1180: <Location /cgi-bin/takeoffline.pl>
1181: AuthName "Offline"
1182: AuthType Basic
1183: AuthUserFile /home/httpd/lonTabs/htpasswd
1184: require user offline
1185: </Location>
1186:
1187: <Location /cgi-bin/takeonline.pl>
1188: AuthName "Offline"
1189: AuthType Basic
1190: AuthUserFile /home/httpd/lonTabs/htpasswd
1191: require user offline
1.1 harris41 1192: </Location>
1193:
1194: <Location /adm/test>
1195: AuthName "LON-CAPA Network Administration"
1196: AuthType Basic
1197: AuthUserFile /home/httpd/lonTabs/htpasswd
1198: require user lonadm
1199: SetHandler perl-script
1.125 albertel 1200: PerlAuthzHandler Apache::lonacc
1.126 albertel 1201: PerlHandler Apache::lontest
1.1 harris41 1202: </Location>
1203:
1204: # ------------------------------------------------------- Shutting down a child
1205:
1.129 albertel 1206: PerlChildExitHandler Apache::lonacc::goodbye
1.1 harris41 1207:
1208: #
1209: # LON-CAPA Section (extensions to access.conf permission configuration)
1210: #
1211: # =========================================================== Directory Options
1212:
1213: # Start out with "no"
1214:
1215: <Directory />
1216: Options None
1217: AllowOverride None
1218: </Directory>
1219:
1220: # Yes to symbolic links and server-side includes
1221:
1222: <Directory /home/httpd/html>
1223: Options Includes FollowSymLinks
1224: AllowOverride None
1225: order allow,deny
1226: allow from all
1227: </Directory>
1228:
1229: # If it is in cgi-bin, then it can be executed as a CGI script.
1230:
1231: <Directory /home/httpd/cgi-bin>
1232: AllowOverride None
1233: Options ExecCGI
1234: </Directory>
1235:
1236: # ============================================================= Access Handlers
1237:
1238: # ------------------------------------------------- Allow server-status reports
1239: <Location /server-status>
1240: SetHandler server-status
1241: AuthName "LON-CAPA Network Administration"
1242: AuthType Basic
1243: AuthUserFile /home/httpd/lonTabs/htpasswd
1244: require user lonadm
1245: </Location>
1246:
1247: # ------------------------ Allow LON-CAPA "low-level" connection status reports
1248: <Location /lon-status>
1249: AuthName "LON-CAPA Network Administration"
1250: AuthType Basic
1251: AuthUserFile /home/httpd/lonTabs/htpasswd
1252: require user lonadm
1253: </Location>
1254:
1255: # ------------------- Allow access to local system documentation from localhost
1256: Alias /doc /usr/doc
1257: <Directory /usr/doc>
1258: order deny,allow
1259: deny from all
1260: allow from localhost
1261: Options Indexes FollowSymLinks
1262: </Directory>
1263:
1264: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
1265: # ====================================== Internal Settings / Perl Configuration
1266:
1.59 www 1267: PerlSetVar lonVersion '<!-- VERSION -->'
1.1 harris41 1268: PerlSetVar lonIDsDir /home/httpd/lonIDs
1269: PerlSetVar lonTabDir /home/httpd/lonTabs
1270: PerlSetVar lonUsersDir /home/httpd/lonUsers
1271: PerlSetVar lonIconsURL /adm/lonIcons
1272: PerlSetVar londPort 5663
1273: PerlSetVar lonSysEMail korte@lite.msu.edu
1274: PerlSetVar lonDaemons /home/httpd/perl
1275: PerlSetVar lonSockDir /home/httpd/sockets
1276: PerlSetVar lonDocRoot /home/httpd/html
1.98 albertel 1277: PerlSetVar lonPrtDir /home/httpd/prtspool
1.1 harris41 1278: PerlSetVar lonIncludes /home/httpd/html/res/adm/includes
1.119 albertel 1279: # & sepeareted list of : seperated fileds inorder of
1280: # - internal name to call it,
1281: # - regexp that it should match (done case-insensitively)
1282: # - regexp that is should not match (done case-insensitively)
1283: # - regexp that will pull out the version number into $1
1284: # - a number that describes the minimum version that has mathml support
1285: # - a number that describes the minimum number version that has unicode support
1286:
1287: PerlSetVar lonBrowsDet explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999:9999&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
1288:
1.105 albertel 1289: PerlSetVar lonTextBrowsers windows\s+ce:lynx
1.43 albertel 1290: PerlSetVar lonScansDir /home/httpd/scantron
1291: PerlSetVar lonScriptTimeout 10
1.70 www 1292: PerlSetVar BugzillaHost http://bugs.lon-capa.org/
1293: PerlSetVar FAQHost http://help.lon-capa.org/
1.2 harris41 1294: # -----------------------------------------------------------------------------
1295: # NOTE: lonSqlAccess key is the password for the MySQL user
1296: # www@localhost. This value must always be "localhostkey".
1297: # The only security risk occurs when somebody logs in as 'www' on your system
1298: # (in which case you have much bigger problems than whether or not they
1299: # can access the non-authoritative loncapa database on your machine).
1300:
1301: PerlSetVar lonSqlAccess localhostkey
1302:
1303: # -----------------------------------------------------------------------------
1.36 albertel 1304: # lonttpdPort is the port used by the lightweight graphics httpd server
1305: # not the main Apache server
1.96 albertel 1306: PerlSetVar lonhttpdPort 8080
1.36 albertel 1307:
1.2 harris41 1308:
1.86 foxr 1309: #----------------------------------------------------------------------------
1310: #
1.79 foxr 1311: # Parameters used by secure lond/lonc
1312:
1313: #
1314: # Secure lond/lonc require ssl certificate and private
1315: # key files to function correctly. The certificate
1316: # files need not be terribly secure, but the private key files
1317: # should be set up so that only www (the lonc/lond effective user)
1318: # can read them.
1319: #
1320: # The definition below is the full path to the directory that
1321: # contains the certificate and key files:
1.82 foxr 1322:
1.79 foxr 1323: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
1324:
1325: #
1326: # Secure lond/lonc require two certificates and a private host key.
1327: # The certificates required are that of the lonCAPA certificate authority
1328: # and the certificate that authority issued to this host.
1329: # lonnetCertificateAuthority is the name of the file that contains the
1330: # lonCAPA certificate authority's certificate.
1331: # lonnetCertificate is the name of the file that contains the certificate
1332: # issued to the host by the certificate authority.
1333: # Both of these variables are names of files assumed to be in
1334: # lonCertificateDirectory:
1335:
1336: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
1337: PerlSetVar lonnetCertificate lonhostcert.pem
1338:
1339: #
1340: # To generate the request for a certificate, and to negotiate the
1341: # initial ssl connection, the host requires a private key. This key
1342: # is created at lonCAPA install time. Did we mention above that it
1343: # should be set so that only www can read it? The variale below
1344: # is the name of the file relative to lonnetCertificateDirectory
1345: # that has the host's private key. Did we remember to tell you to
1346: # keep the permissions on that file set to rw------- (0600)?
1347: #
1348:
1349: PerlSetVar lonnetPrivateKey lonKey.pem
1350:
1351: # Did we mention that the file described above must have
1352: # permissions really locked down so that it can't be stolen?
1353:
1.86 foxr 1354: #-------------------------------------------------------------------------
1355:
1356: # Parameters that define where all the ssl stuff is that's needed
1357: # to generate certificate requests and, on a system that's a CA
1358: # the certificate authority.
1359: #
1360: # SSLProgram -> Path to the openssl command
1361: # SSLDirectory -> Directory containing ssl configuration files etc.
1362: # SSLCAConfig -> Name of the SSL config file for the certificate
1363: # Authority.
1.87 foxr 1364: # SSLCAFile -> Full path to the Certificate authority file
1365: # (on the cert manager system).
1366: # SSLEmail -> E-mail address of loncapa certificate manager.
1.86 foxr 1367: # The following are good for the loncapa redhat installs and
1368: # the loncapa certificate authority system:
1369: #
1370: PerlSetVar SSLProgram /usr/bin/openssl
1371: PerlSetVar SSLDirectory /usr/share/ssl
1372: PerlSetVar SSLCAConfig loncapaca
1.87 foxr 1373: PerlSetVar SSLCAFile /usr/share/ssl/loncapaca/cacert.pem
1.93 albertel 1374: PerlSetVar SSLEmail certificate@lon-capa.org
1.86 foxr 1375:
1376: #-------------------------------------------------------------------------
1377:
1.79 foxr 1378:
1379:
1.2 harris41 1380:
1.8 harris41 1381: # ====================================== Include machine-specific configuration
1.2 harris41 1382:
1383: Include conf/loncapa.conf
1.61 albertel 1384:
1385: # ================================================= Include local configuration
1386:
1387: Include conf/loncapa_apache_local*.conf
1.1 harris41 1388:
1389: # ================================================== Initiate mod_perl starting
1390:
1391: PerlRequire conf/startup.pl
1.47 albertel 1392: <IfDefine !MODPERL2>
1.1 harris41 1393: PerlFreshRestart On
1.47 albertel 1394: </IfDefine>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>