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