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