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