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