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