Annotation of loncom/loncapa_apache.conf, revision 1.174
1.1 harris41 1: ##
2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
3: ##
1.174 ! www 4: ## $Id: loncapa_apache.conf,v 1.173 2008/05/01 14:20:50 raeburn 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
1.174 ! www 466: ErrorDocument 409 /adm/preferences?action=lockwarning
1.33 www 467: ErrorDocument 500 /adm/errorhandler
468: </Location>
469:
470: <Location /adm/menu>
1.139 albertel 471: AuthType LONCAPA
1.125 albertel 472: Require valid-user
473: PerlAuthzHandler Apache::lonacc
1.33 www 474: SetHandler perl-script
1.128 albertel 475: PerlHandler Apache::lonmainmenu
1.42 www 476: ErrorDocument 403 /adm/login
477: ErrorDocument 500 /adm/errorhandler
478: </Location>
479:
480: <Location /adm/remote>
1.139 albertel 481: AuthType LONCAPA
1.125 albertel 482: Require valid-user
483: PerlAuthzHandler Apache::lonacc
1.42 www 484: SetHandler perl-script
1.126 albertel 485: PerlHandler Apache::lonremote
1.27 www 486: ErrorDocument 403 /adm/login
487: ErrorDocument 500 /adm/errorhandler
488: </Location>
489:
490: <Location /adm/pickstudent>
1.139 albertel 491: AuthType LONCAPA
1.125 albertel 492: Require valid-user
493: PerlAuthzHandler Apache::lonacc
1.27 www 494: SetHandler perl-script
1.126 albertel 495: PerlHandler Apache::lonpickstudent
1.40 www 496: ErrorDocument 403 /adm/login
497: ErrorDocument 500 /adm/errorhandler
498: </Location>
499:
500: <Location /adm/pickcourse>
1.139 albertel 501: AuthType LONCAPA
1.125 albertel 502: Require valid-user
503: PerlAuthzHandler Apache::lonacc
1.40 www 504: SetHandler perl-script
1.126 albertel 505: PerlHandler Apache::lonpickcourse
1.77 albertel 506: ErrorDocument 403 /adm/login
507: ErrorDocument 500 /adm/errorhandler
508: </Location>
509:
510: <Location /adm/pickcode>
1.139 albertel 511: AuthType LONCAPA
1.125 albertel 512: Require valid-user
513: PerlAuthzHandler Apache::lonacc
1.77 albertel 514: SetHandler perl-script
1.126 albertel 515: PerlHandler Apache::lonpickcode
1.1 harris41 516: ErrorDocument 403 /adm/login
517: ErrorDocument 500 /adm/errorhandler
518: </Location>
519:
520: <Location /adm/login>
521: SetHandler perl-script
1.126 albertel 522: PerlHandler Apache::lonlogin
1.1 harris41 523: </Location>
524:
1.148 raeburn 525: <Location /adm/restrictedaccess>
526: PerlAccessHandler Apache::publiccheck
527: AuthType LONCAPA
1.152 albertel 528: Require valid-user
1.148 raeburn 529: SetHandler perl-script
1.149 albertel 530: PerlAuthzHandler Apache::lonacc
1.148 raeburn 531: PerlHandler Apache::restrictedaccess
1.154 albertel 532: ErrorDocument 500 /adm/errorhandler
1.148 raeburn 533: </Location>
534:
1.162 raeburn 535: <Location /adm/blockedaccess>
536: PerlAccessHandler Apache::publiccheck
537: AuthType LONCAPA
538: Require valid-user
539: SetHandler perl-script
540: PerlAuthzHandler Apache::lonacc
541: PerlHandler Apache::blockedaccess
542: ErrorDocument 500 /adm/errorhandler
543: </Location>
544:
1.1 harris41 545: <Location /adm/logout>
1.139 albertel 546: AuthType LONCAPA
1.125 albertel 547: Require valid-user
548: PerlAuthzHandler Apache::lonacc
1.1 harris41 549: SetHandler perl-script
1.126 albertel 550: PerlHandler Apache::lonlogout
1.1 harris41 551: ErrorDocument 403 /adm/login
1.154 albertel 552: ErrorDocument 500 /adm/errorhandler
1.1 harris41 553: </Location>
554:
1.117 albertel 555: <Location /adm/switchserver>
1.139 albertel 556: AuthType LONCAPA
1.125 albertel 557: Require valid-user
558: PerlAuthzHandler Apache::lonacc
1.117 albertel 559: SetHandler perl-script
1.126 albertel 560: PerlHandler Apache::switchserver
1.117 albertel 561: ErrorDocument 403 /adm/login
1.154 albertel 562: ErrorDocument 500 /adm/errorhandler
1.117 albertel 563: </Location>
564:
1.1 harris41 565: <Location /adm/authenticate>
566: SetHandler perl-script
1.126 albertel 567: PerlHandler Apache::lonauth
1.1 harris41 568: </Location>
569:
1.117 albertel 570: <Location /adm/migrateuser>
571: SetHandler perl-script
1.126 albertel 572: PerlHandler Apache::migrateuser
1.117 albertel 573: </Location>
574:
1.1 harris41 575: <Location /adm/annotations>
1.139 albertel 576: AuthType LONCAPA
1.125 albertel 577: Require valid-user
578: PerlAuthzHandler Apache::lonacc
1.1 harris41 579: SetHandler perl-script
1.126 albertel 580: PerlHandler Apache::admannotations
1.1 harris41 581: ErrorDocument 403 /adm/login
582: ErrorDocument 500 /adm/errorhandler
583: </Location>
584:
1.91 www 585: <Location /adm/spellcheck>
1.139 albertel 586: AuthType LONCAPA
1.125 albertel 587: Require valid-user
588: PerlAuthzHandler Apache::lonacc
1.91 www 589: SetHandler perl-script
1.126 albertel 590: PerlHandler Apache::lonspeller
1.91 www 591: ErrorDocument 403 /adm/login
592: ErrorDocument 500 /adm/errorhandler
593: </Location>
594:
1.1 harris41 595: <Location /adm/bookmarks>
1.139 albertel 596: AuthType LONCAPA
1.125 albertel 597: Require valid-user
598: PerlAuthzHandler Apache::lonacc
1.1 harris41 599: SetHandler perl-script
1.126 albertel 600: PerlHandler Apache::admbookmarks
1.1 harris41 601: ErrorDocument 403 /adm/login
602: ErrorDocument 500 /adm/errorhandler
603: </Location>
604:
605: <Location /adm/flip>
1.139 albertel 606: AuthType LONCAPA
1.125 albertel 607: Require valid-user
608: PerlAuthzHandler Apache::lonacc
1.1 harris41 609: SetHandler perl-script
1.126 albertel 610: PerlHandler Apache::lonpageflip
1.30 www 611: PerlCleanupHandler Apache::lonpageflip::cleanup
1.129 albertel 612: PerlCleanupHandler Apache::lonacc::cleanup
1.1 harris41 613: ErrorDocument 406 /adm/roles
614: ErrorDocument 403 /adm/login
615: ErrorDocument 500 /adm/errorhandler
616: </Location>
617:
618: <Location /adm/ambiguous>
1.139 albertel 619: AuthType LONCAPA
1.125 albertel 620: Require valid-user
621: PerlAuthzHandler Apache::lonacc
1.1 harris41 622: SetHandler perl-script
1.126 albertel 623: PerlHandler Apache::lonambiguous
1.30 www 624: PerlCleanupHandler Apache::lonambiguous::cleanup
1.129 albertel 625: PerlCleanupHandler Apache::lonacc::cleanup
1.1 harris41 626: ErrorDocument 403 /adm/login
627: ErrorDocument 500 /adm/errorhandler
628: </Location>
629:
630: <Location /adm/email>
1.139 albertel 631: AuthType LONCAPA
1.125 albertel 632: Require valid-user
633: PerlAuthzHandler Apache::lonacc
1.1 harris41 634: SetHandler perl-script
1.130 albertel 635: PerlHandler Apache::lonmsgdisplay
1.1 harris41 636: ErrorDocument 403 /adm/login
637: ErrorDocument 500 /adm/errorhandler
638: </Location>
639:
1.116 raeburn 640: <Location /adm/notify>
1.139 albertel 641: AuthType LONCAPA
1.125 albertel 642: Require valid-user
643: PerlAuthzHandler Apache::lonacc
1.116 raeburn 644: SetHandler perl-script
1.126 albertel 645: PerlHandler Apache::lonnotify
1.116 raeburn 646: ErrorDocument 403 /adm/login
647: ErrorDocument 500 /adm/errorhandler
648: </Location>
649:
1.1 harris41 650: <Location /adm/parmset>
1.139 albertel 651: AuthType LONCAPA
1.125 albertel 652: Require valid-user
653: PerlAuthzHandler Apache::lonacc
1.1 harris41 654: SetHandler perl-script
1.126 albertel 655: PerlHandler Apache::lonparmset
1.31 bowersj2 656: ErrorDocument 403 /adm/login
657: ErrorDocument 406 /adm/roles
658: ErrorDocument 500 /adm/errorhandler
659: </Location>
660:
1.110 albertel 661: <Location /adm/slotrequest>
1.139 albertel 662: AuthType LONCAPA
1.125 albertel 663: Require valid-user
664: PerlAuthzHandler Apache::lonacc
1.110 albertel 665: SetHandler perl-script
1.126 albertel 666: PerlHandler Apache::slotrequest
1.110 albertel 667: ErrorDocument 403 /adm/login
668: ErrorDocument 406 /adm/roles
669: ErrorDocument 500 /adm/errorhandler
670: </Location>
671:
1.31 bowersj2 672: <Location /adm/wizard>
1.139 albertel 673: AuthType LONCAPA
1.125 albertel 674: Require valid-user
675: PerlAuthzHandler Apache::lonacc
1.31 bowersj2 676: SetHandler perl-script
1.126 albertel 677: PerlHandler Apache::lonwizard
1.1 harris41 678: ErrorDocument 403 /adm/login
679: ErrorDocument 406 /adm/roles
680: ErrorDocument 500 /adm/errorhandler
681: </Location>
682:
683: <Location /adm/grades>
1.139 albertel 684: AuthType LONCAPA
1.125 albertel 685: Require valid-user
686: PerlAuthzHandler Apache::lonacc
1.1 harris41 687: SetHandler perl-script
1.126 albertel 688: PerlHandler Apache::grades
1.1 harris41 689: ErrorDocument 403 /adm/login
690: ErrorDocument 406 /adm/roles
691: ErrorDocument 500 /adm/errorhandler
692: </Location>
693:
694: <Location /adm/createcourse>
1.139 albertel 695: AuthType LONCAPA
1.125 albertel 696: Require valid-user
697: PerlAuthzHandler Apache::lonacc
1.1 harris41 698: SetHandler perl-script
1.126 albertel 699: PerlHandler Apache::loncreatecourse
1.1 harris41 700: ErrorDocument 403 /adm/login
701: ErrorDocument 406 /adm/roles
702: ErrorDocument 500 /adm/errorhandler
1.67 raeburn 703: </Location>
704:
705: <Location /adm/modifycourse>
1.139 albertel 706: AuthType LONCAPA
1.125 albertel 707: Require valid-user
708: PerlAuthzHandler Apache::lonacc
1.67 raeburn 709: SetHandler perl-script
1.126 albertel 710: PerlHandler Apache::lonmodifycourse
1.67 raeburn 711: ErrorDocument 403 /adm/login
712: ErrorDocument 406 /adm/roles
713: ErrorDocument 500 /adm/errorhandler
1.1 harris41 714: </Location>
715:
1.163 raeburn 716: <Location /adm/domainprefs>
717: AuthType LONCAPA
718: Require valid-user
719: PerlAuthzHandler Apache::lonacc
720: SetHandler perl-script
721: PerlHandler Apache::domainprefs
722: ErrorDocument 403 /adm/login
723: ErrorDocument 406 /adm/roles
724: ErrorDocument 500 /adm/errorhandler
725: </Location>
726:
1.1 harris41 727: <Location /adm/createuser>
1.139 albertel 728: AuthType LONCAPA
1.125 albertel 729: Require valid-user
730: PerlAuthzHandler Apache::lonacc
1.1 harris41 731: SetHandler perl-script
1.126 albertel 732: PerlHandler Apache::loncreateuser
1.1 harris41 733: ErrorDocument 403 /adm/login
734: ErrorDocument 406 /adm/roles
735: ErrorDocument 500 /adm/errorhandler
736: </Location>
737:
738: <Location /adm/publish>
1.139 albertel 739: AuthType LONCAPA
1.125 albertel 740: Require valid-user
741: PerlAuthzHandler Apache::lonacc
1.1 harris41 742: SetHandler perl-script
1.126 albertel 743: PerlHandler Apache::lonpublisher
1.1 harris41 744: ErrorDocument 403 /adm/login
745: ErrorDocument 404 /adm/notfound.html
1.18 www 746: ErrorDocument 406 /adm/unauthorized
1.1 harris41 747: ErrorDocument 500 /adm/errorhandler
748: </Location>
749:
1.64 albertel 750: <LocationMatch "^/+\~.*/$">
1.139 albertel 751: AuthType LONCAPA
1.131 albertel 752: Require valid-user
1.125 albertel 753: PerlAuthzHandler Apache::loncacc
1.1 harris41 754: SetHandler perl-script
1.126 albertel 755: PerlHandler Apache::lonpubdir
1.1 harris41 756: ErrorDocument 403 /adm/login
757: ErrorDocument 404 /adm/notfound.html
1.18 www 758: ErrorDocument 406 /adm/unauthorized
1.1 harris41 759: ErrorDocument 500 /adm/errorhandler
760: </LocationMatch>
761:
762: <Location /adm/pubdir>
1.139 albertel 763: AuthType LONCAPA
1.125 albertel 764: Require valid-user
765: PerlAuthzHandler Apache::lonacc
1.1 harris41 766: SetHandler perl-script
1.126 albertel 767: PerlHandler Apache::lonpubdir
1.1 harris41 768: ErrorDocument 403 /adm/login
769: ErrorDocument 404 /adm/notfound.html
1.18 www 770: ErrorDocument 406 /adm/unauthorized
771: ErrorDocument 500 /adm/errorhandler
772: </Location>
773:
774: <Location /adm/unauthorized>
1.139 albertel 775: AuthType LONCAPA
1.125 albertel 776: Require valid-user
777: PerlAuthzHandler Apache::lonacc
1.18 www 778: SetHandler perl-script
1.126 albertel 779: PerlHandler Apache::lonunauthorized
1.18 www 780: ErrorDocument 403 /adm/login
781: ErrorDocument 404 /adm/notfound.html
1.1 harris41 782: ErrorDocument 500 /adm/errorhandler
783: </Location>
784:
785: <Location /adm/retrieve>
1.139 albertel 786: AuthType LONCAPA
1.125 albertel 787: Require valid-user
788: PerlAuthzHandler Apache::lonacc
1.1 harris41 789: SetHandler perl-script
1.126 albertel 790: PerlHandler Apache::lonretrieve
1.1 harris41 791: ErrorDocument 403 /adm/login
792: ErrorDocument 404 /adm/notfound.html
1.18 www 793: ErrorDocument 406 /adm/unauthorized
1.1 harris41 794: ErrorDocument 500 /adm/errorhandler
795: </Location>
796:
1.109 www 797: <Location /adm/cleanup>
1.139 albertel 798: AuthType LONCAPA
1.125 albertel 799: Require valid-user
800: PerlAuthzHandler Apache::lonacc
1.109 www 801: SetHandler perl-script
1.126 albertel 802: PerlHandler Apache::loncleanup
1.109 www 803: ErrorDocument 403 /adm/login
804: ErrorDocument 404 /adm/notfound.html
805: ErrorDocument 406 /adm/unauthorized
806: ErrorDocument 500 /adm/errorhandler
807: </Location>
808:
1.1 harris41 809: <Location /adm/cfile>
1.139 albertel 810: AuthType LONCAPA
1.125 albertel 811: Require valid-user
812: PerlAuthzHandler Apache::lonacc
1.1 harris41 813: SetHandler perl-script
1.126 albertel 814: PerlHandler Apache::loncfile
1.1 harris41 815: ErrorDocument 403 /adm/login
816: ErrorDocument 404 /adm/notfound.html
1.18 www 817: ErrorDocument 406 /adm/unauthorized
1.1 harris41 818: ErrorDocument 500 /adm/errorhandler
819: </Location>
820:
821: <Location /adm/diff>
1.139 albertel 822: AuthType LONCAPA
1.125 albertel 823: Require valid-user
824: PerlAuthzHandler Apache::lonacc
1.1 harris41 825: SetHandler perl-script
1.126 albertel 826: PerlHandler Apache::londiff
1.1 harris41 827: ErrorDocument 403 /adm/login
828: ErrorDocument 404 /adm/notfound.html
1.18 www 829: ErrorDocument 406 /adm/unauthorized
1.1 harris41 830: ErrorDocument 500 /adm/errorhandler
831: </Location>
832:
833: <Location /adm/upload>
1.139 albertel 834: AuthType LONCAPA
1.125 albertel 835: Require valid-user
836: PerlAuthzHandler Apache::lonacc
1.1 harris41 837: SetHandler perl-script
1.126 albertel 838: PerlHandler Apache::lonupload
1.1 harris41 839: ErrorDocument 403 /adm/login
840: ErrorDocument 404 /adm/notfound.html
1.18 www 841: ErrorDocument 406 /adm/unauthorized
1.1 harris41 842: ErrorDocument 500 /adm/errorhandler
1.72 raeburn 843: </Location>
844:
1.73 raeburn 845: <Location /adm/imsimport>
1.139 albertel 846: AuthType LONCAPA
1.125 albertel 847: Require valid-user
848: PerlAuthzHandler Apache::lonacc
1.73 raeburn 849: SetHandler perl-script
1.126 albertel 850: PerlHandler Apache::imsimport
1.73 raeburn 851: ErrorDocument 403 /adm/login
852: ErrorDocument 404 /adm/notfound.html
853: ErrorDocument 406 /adm/unauthorized
854: ErrorDocument 500 /adm/errorhandler
855: </Location>
856:
1.72 raeburn 857: <Location /adm/testbank>
1.139 albertel 858: AuthType LONCAPA
1.125 albertel 859: Require valid-user
860: PerlAuthzHandler Apache::lonacc
1.72 raeburn 861: SetHandler perl-script
1.126 albertel 862: PerlHandler Apache::testbankimport
1.72 raeburn 863: ErrorDocument 403 /adm/login
864: ErrorDocument 404 /adm/notfound.html
865: ErrorDocument 406 /adm/unauthorized
866: ErrorDocument 500 /adm/errorhandler
1.1 harris41 867: </Location>
868:
869: <Location /adm/assesscalc>
1.139 albertel 870: AuthType LONCAPA
1.125 albertel 871: Require valid-user
872: PerlAuthzHandler Apache::lonacc
1.1 harris41 873: SetHandler perl-script
1.126 albertel 874: PerlHandler Apache::lonspreadsheet
1.1 harris41 875: ErrorDocument 403 /adm/login
876: ErrorDocument 406 /adm/roles
1.20 www 877: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 878: ErrorDocument 500 /adm/errorhandler
879: </Location>
880:
881: <Location /adm/studentcalc>
1.139 albertel 882: AuthType LONCAPA
1.125 albertel 883: Require valid-user
884: PerlAuthzHandler Apache::lonacc
1.1 harris41 885: SetHandler perl-script
1.126 albertel 886: PerlHandler Apache::lonspreadsheet
1.1 harris41 887: ErrorDocument 403 /adm/login
888: ErrorDocument 406 /adm/roles
1.20 www 889: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 890: ErrorDocument 500 /adm/errorhandler
891: </Location>
892:
893: <Location /adm/classcalc>
1.139 albertel 894: AuthType LONCAPA
1.125 albertel 895: Require valid-user
896: PerlAuthzHandler Apache::lonacc
1.1 harris41 897: SetHandler perl-script
1.126 albertel 898: PerlHandler Apache::lonspreadsheet
1.1 harris41 899: ErrorDocument 403 /adm/login
900: ErrorDocument 406 /adm/roles
1.20 www 901: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 902: ErrorDocument 500 /adm/errorhandler
903: </Location>
904:
905: <Location /adm/dropadd>
1.139 albertel 906: AuthType LONCAPA
1.125 albertel 907: Require valid-user
908: PerlAuthzHandler Apache::lonacc
1.1 harris41 909: SetHandler perl-script
1.126 albertel 910: PerlHandler Apache::londropadd
1.44 www 911: ErrorDocument 403 /adm/login
912: ErrorDocument 406 /adm/roles
913: ErrorDocument 500 /adm/errorhandler
1.65 raeburn 914: </Location>
915:
1.92 matthew 916: <Location /adm/viewclasslist>
1.139 albertel 917: AuthType LONCAPA
1.125 albertel 918: Require valid-user
919: PerlAuthzHandler Apache::lonacc
1.92 matthew 920: SetHandler perl-script
1.126 albertel 921: PerlHandler Apache::lonviewclasslist
1.92 matthew 922: ErrorDocument 403 /adm/login
923: ErrorDocument 406 /adm/roles
924: ErrorDocument 500 /adm/errorhandler
925: </Location>
926:
1.118 raeburn 927: <Location /adm/coursegroups>
1.139 albertel 928: AuthType LONCAPA
1.125 albertel 929: Require valid-user
930: PerlAuthzHandler Apache::lonacc
1.118 raeburn 931: SetHandler perl-script
1.126 albertel 932: PerlHandler Apache::loncoursegroups
1.118 raeburn 933: ErrorDocument 403 /adm/login
934: ErrorDocument 406 /adm/roles
935: ErrorDocument 500 /adm/errorhandler
936: </Location>
937:
1.143 raeburn 938: <Location /adm/groupboards>
939: AuthType LONCAPA
940: Require valid-user
941: PerlAuthzHandler Apache::lonacc
942: SetHandler perl-script
943: PerlHandler Apache::groupboards
944: ErrorDocument 403 /adm/login
945: ErrorDocument 406 /adm/roles
946: ErrorDocument 500 /adm/errorhandler
947: </Location>
948:
1.144 raeburn 949: <Location /adm/grouproster>
950: AuthType LONCAPA
951: Require valid-user
952: PerlAuthzHandler Apache::lonacc
953: SetHandler perl-script
954: PerlHandler Apache::grouproster
955: ErrorDocument 403 /adm/login
956: ErrorDocument 406 /adm/roles
957: ErrorDocument 500 /adm/errorhandler
958: </Location>
959:
1.112 raeburn 960: <Location /adm/whatsnew>
1.139 albertel 961: AuthType LONCAPA
1.125 albertel 962: Require valid-user
963: PerlAuthzHandler Apache::lonacc
1.112 raeburn 964: SetHandler perl-script
1.126 albertel 965: PerlHandler Apache::lonwhatsnew
1.112 raeburn 966: ErrorDocument 403 /adm/login
967: ErrorDocument 406 /adm/roles
968: ErrorDocument 500 /adm/errorhandler
969: </Location>
970:
1.65 raeburn 971: <Location /adm/populate>
1.139 albertel 972: AuthType LONCAPA
1.125 albertel 973: Require valid-user
974: PerlAuthzHandler Apache::lonacc
1.65 raeburn 975: SetHandler perl-script
1.126 albertel 976: PerlHandler Apache::lonpopulate
1.65 raeburn 977: ErrorDocument 403 /adm/login
978: ErrorDocument 406 /adm/roles
979: ErrorDocument 500 /adm/errorhandler
1.44 www 980: </Location>
981:
982: <Location /adm/managekeys>
1.139 albertel 983: AuthType LONCAPA
1.125 albertel 984: Require valid-user
985: PerlAuthzHandler Apache::lonacc
1.44 www 986: SetHandler perl-script
1.126 albertel 987: PerlHandler Apache::lonmanagekeys
1.1 harris41 988: ErrorDocument 403 /adm/login
989: ErrorDocument 406 /adm/roles
990: ErrorDocument 500 /adm/errorhandler
991: </Location>
992:
993: <Location /adm/printout>
1.139 albertel 994: AuthType LONCAPA
1.125 albertel 995: Require valid-user
996: PerlAuthzHandler Apache::lonacc
1.1 harris41 997: SetHandler perl-script
1.126 albertel 998: PerlHandler Apache::lonprintout
1.1 harris41 999: ErrorDocument 403 /adm/login
1.20 www 1000: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 1001: ErrorDocument 500 /adm/errorhandler
1002: </Location>
1003:
1004: <Location /adm/feedback>
1.139 albertel 1005: AuthType LONCAPA
1.125 albertel 1006: Require valid-user
1007: PerlAuthzHandler Apache::lonacc
1.1 harris41 1008: SetHandler perl-script
1.126 albertel 1009: PerlHandler Apache::lonfeedback
1.10 www 1010: ErrorDocument 403 /adm/login
1011: ErrorDocument 500 /adm/errorhandler
1012: </Location>
1013:
1014: <Location /adm/coursedocs>
1.139 albertel 1015: AuthType LONCAPA
1.125 albertel 1016: Require valid-user
1017: PerlAuthzHandler Apache::lonacc
1.10 www 1018: SetHandler perl-script
1.126 albertel 1019: PerlHandler Apache::londocs
1.108 albertel 1020: PerlCleanupHandler Apache::londocs::untiehash
1.129 albertel 1021: PerlCleanupHandler Apache::lonacc::cleanup
1.10 www 1022: ErrorDocument 403 /adm/login
1023: ErrorDocument 500 /adm/errorhandler
1.73 raeburn 1024: </Location>
1025:
1026: <Location /adm/imsimportdocs>
1.139 albertel 1027: AuthType LONCAPA
1.125 albertel 1028: Require valid-user
1029: PerlAuthzHandler Apache::lonacc
1.73 raeburn 1030: SetHandler perl-script
1.126 albertel 1031: PerlHandler Apache::imsimportdocs
1.73 raeburn 1032: ErrorDocument 403 /adm/login
1033: ErrorDocument 500 /adm/errorhandler
1.10 www 1034: </Location>
1035:
1.135 www 1036: <LocationMatch "^/adm/announcements">
1.139 albertel 1037: AuthType LONCAPA
1.125 albertel 1038: Require valid-user
1039: PerlAuthzHandler Apache::lonacc
1.10 www 1040: SetHandler perl-script
1.126 albertel 1041: PerlHandler Apache::lonannounce
1.10 www 1042: ErrorDocument 403 /adm/login
1043: ErrorDocument 500 /adm/errorhandler
1.135 www 1044: </LocationMatch>
1.10 www 1045:
1046: <Location /adm/chat>
1.139 albertel 1047: AuthType LONCAPA
1.125 albertel 1048: Require valid-user
1049: PerlAuthzHandler Apache::lonacc
1.10 www 1050: SetHandler perl-script
1.126 albertel 1051: PerlHandler Apache::lonchat
1.13 www 1052: ErrorDocument 500 /adm/errorhandler
1053: </Location>
1054:
1055: <Location /adm/chatfetch>
1.139 albertel 1056: AuthType LONCAPA
1.125 albertel 1057: Require valid-user
1058: PerlAuthzHandler Apache::lonacc
1.13 www 1059: SetHandler perl-script
1.126 albertel 1060: PerlHandler Apache::lonchatfetch
1.20 www 1061: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 1062: ErrorDocument 500 /adm/errorhandler
1063: </Location>
1064:
1.137 albertel 1065: <Location /adm/groupchat>
1.139 albertel 1066: AuthType LONCAPA
1.137 albertel 1067: Require valid-user
1068: PerlAuthzHandler Apache::lonacc
1069: SetHandler perl-script
1070: PerlHandler Apache::longroupchat
1071: ErrorDocument 403 /adm/login
1072: ErrorDocument 500 /adm/errorhandler
1073: </Location>
1074:
1.1 harris41 1075: <Location /adm/evaluate>
1.139 albertel 1076: AuthType LONCAPA
1.125 albertel 1077: Require valid-user
1078: PerlAuthzHandler Apache::lonacc
1.1 harris41 1079: SetHandler perl-script
1.126 albertel 1080: PerlHandler Apache::lonevaluate
1.1 harris41 1081: ErrorDocument 403 /adm/login
1082: ErrorDocument 500 /adm/errorhandler
1083: </Location>
1084:
1085: <Location /adm/preferences>
1.139 albertel 1086: AuthType LONCAPA
1.125 albertel 1087: Require valid-user
1088: PerlAuthzHandler Apache::lonacc
1.1 harris41 1089: SetHandler perl-script
1.126 albertel 1090: PerlHandler Apache::lonpreferences
1.1 harris41 1091: ErrorDocument 403 /adm/login
1092: ErrorDocument 500 /adm/errorhandler
1093: </Location>
1094:
1095: <Location /adm/communicate>
1.139 albertel 1096: AuthType LONCAPA
1.125 albertel 1097: Require valid-user
1098: PerlAuthzHandler Apache::lonacc
1.1 harris41 1099: SetHandler perl-script
1.126 albertel 1100: PerlHandler Apache::loncommunicate
1.1 harris41 1101: ErrorDocument 403 /adm/login
1102: ErrorDocument 500 /adm/errorhandler
1103: </Location>
1104:
1105: <Location /adm/searchcat>
1.139 albertel 1106: AuthType LONCAPA
1.125 albertel 1107: Require valid-user
1108: PerlAuthzHandler Apache::lonacc
1.1 harris41 1109: SetHandler perl-script
1.126 albertel 1110: PerlHandler Apache::lonsearchcat
1.28 www 1111: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.129 albertel 1112: PerlCleanupHandler Apache::lonacc::cleanup
1.1 harris41 1113: ErrorDocument 403 /adm/login
1.20 www 1114: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 1115: ErrorDocument 500 /adm/errorhandler
1116: </Location>
1117:
1118: <Location /adm/navmaps>
1.139 albertel 1119: AuthType LONCAPA
1.125 albertel 1120: Require valid-user
1121: PerlAuthzHandler Apache::lonacc
1.1 harris41 1122: SetHandler perl-script
1.160 albertel 1123: PerlHandler Apache::lonnavdisplay
1.1 harris41 1124: ErrorDocument 403 /adm/login
1125: ErrorDocument 406 /adm/roles
1126: ErrorDocument 500 /adm/errorhandler
1.26 bowersj2 1127: </Location>
1128:
1129: <Location /adm/quickgrades>
1.139 albertel 1130: AuthType LONCAPA
1.125 albertel 1131: Require valid-user
1132: PerlAuthzHandler Apache::lonacc
1.26 bowersj2 1133: SetHandler perl-script
1.126 albertel 1134: PerlHandler Apache::lonquickgrades
1.26 bowersj2 1135: ErrorDocument 403 /adm/login
1136: ErrorDocument 406 /adm/roles
1137: ErrorDocument 500 /adm/errorhandler
1.1 harris41 1138: </Location>
1139:
1140: <Location /adm/groupsort>
1.139 albertel 1141: AuthType LONCAPA
1.125 albertel 1142: Require valid-user
1143: PerlAuthzHandler Apache::lonacc
1.1 harris41 1144: SetHandler perl-script
1.126 albertel 1145: PerlHandler Apache::groupsort
1.29 www 1146: PerlCleanupHandler Apache::groupsort::cleanup
1.129 albertel 1147: PerlCleanupHandler Apache::lonacc::cleanup
1.1 harris41 1148: ErrorDocument 403 /adm/login
1149: ErrorDocument 500 /adm/errorhandler
1150: </Location>
1151:
1152: <Location /adm/errorhandler>
1153: SetHandler perl-script
1.126 albertel 1154: PerlHandler Apache::lonerrorhandler
1.1 harris41 1155: </Location>
1156:
1.7 bowersj2 1157: <LocationMatch "^/adm/help/.*\.hlp$">
1.139 albertel 1158: AuthType LONCAPA
1.125 albertel 1159: Require valid-user
1.147 albertel 1160: PerlAccessHandler Apache::publiccheck
1.125 albertel 1161: PerlAuthzHandler Apache::lonacc
1.7 bowersj2 1162: SetHandler perl-script
1.126 albertel 1163: PerlHandler Apache::lonhelp
1.154 albertel 1164: ErrorDocument 500 /adm/errorhandler
1.7 bowersj2 1165: </LocationMatch>
1166:
1.90 raeburn 1167: <LocationMatch "^/adm/helpmenu">
1.139 albertel 1168: AuthType LONCAPA
1.125 albertel 1169: Require valid-user
1170: PerlAuthzHandler Apache::lonacc
1.90 raeburn 1171: SetHandler perl-script
1.126 albertel 1172: PerlHandler Apache::lonhelpmenu
1.154 albertel 1173: ErrorDocument 500 /adm/errorhandler
1.90 raeburn 1174: </LocationMatch>
1175:
1176: <LocationMatch "^/adm/support">
1.139 albertel 1177: AuthType LONCAPA
1.125 albertel 1178: Require valid-user
1179: PerlAuthzHandler Apache::lonacc
1.90 raeburn 1180: SetHandler perl-script
1.126 albertel 1181: PerlHandler Apache::lonsupportreq
1.154 albertel 1182: ErrorDocument 500 /adm/errorhandler
1.90 raeburn 1183: </LocationMatch>
1184:
1.100 raeburn 1185: <LocationMatch "^/adm/helpdesk">
1186: SetHandler perl-script
1.126 albertel 1187: PerlHandler Apache::lonsupportreq
1.154 albertel 1188: ErrorDocument 500 /adm/errorhandler
1.100 raeburn 1189: </LocationMatch>
1190:
1.133 albertel 1191: <LocationMatch "^/adm/css">
1192: SetHandler perl-script
1193: PerlHandler Apache::loncss
1.154 albertel 1194: ErrorDocument 500 /adm/errorhandler
1.133 albertel 1195: </LocationMatch>
1196:
1.155 raeburn 1197: <LocationMatch "^/adm/coursecatalog">
1198: SetHandler perl-script
1199: PerlHandler Apache::coursecatalog
1.156 albertel 1200: ErrorDocument 500 /adm/errorhandler
1.155 raeburn 1201: </LocationMatch>
1202:
1.161 raeburn 1203: <LocationMatch "^/adm/resetpw">
1204: SetHandler perl-script
1205: PerlHandler Apache::resetpw
1206: ErrorDocument 500 /adm/errorhandler
1207: </LocationMatch>
1.155 raeburn 1208:
1.173 raeburn 1209: <LocationMatch "^/adm/selfenroll">
1210: SetHandler perl-script
1211: PerlHandler Apache::selfenroll
1212: ErrorDocument 500 /adm/errorhandler
1213: </LocationMatch>
1214:
1.171 raeburn 1215: <LocationMatch "^/adm/createaccount">
1216: SetHandler perl-script
1217: PerlHandler Apache::createaccount
1218: ErrorDocument 500 /adm/errorhandler
1219: </LocationMatch>
1220:
1.165 albertel 1221: <LocationMatch "^/adm/dns">
1222: SetHandler perl-script
1223: PerlHandler Apache::londns
1224: ErrorDocument 500 /adm/errorhandler
1225: </LocationMatch>
1.164 albertel 1226:
1.1 harris41 1227: # ------------------------------------------------- Backdoor Adm Tests/Programs
1228:
1229: <Location /cgi-bin/loncron.pl>
1.37 www 1230: AuthName "LON-CAPA Network Administration"
1231: AuthType Basic
1232: AuthUserFile /home/httpd/lonTabs/htpasswd
1233: require user lonadm
1234: </Location>
1235:
1236: <Location /cgi-bin/userstatus.pl>
1.1 harris41 1237: AuthName "LON-CAPA Network Administration"
1238: AuthType Basic
1239: AuthUserFile /home/httpd/lonTabs/htpasswd
1240: require user lonadm
1241: </Location>
1242:
1243: <Location /cgi-bin/lonversions.pl>
1244: AuthName "LON-CAPA Network Administration"
1245: AuthType Basic
1246: AuthUserFile /home/httpd/lonTabs/htpasswd
1247: require user lonadm
1248: </Location>
1249:
1250: <Location /cgi-bin/clusterstatus.pl>
1251: AuthName "LON-CAPA Network Administration"
1252: AuthType Basic
1253: AuthUserFile /home/httpd/lonTabs/htpasswd
1254: require user lonadm
1255: </Location>
1256:
1257: <Location /cgi-bin/metadata_keywords.pl>
1258: AuthName "LON-CAPA Network Administration"
1259: AuthType Basic
1260: AuthUserFile /home/httpd/lonTabs/htpasswd
1261: require user lonadm
1.22 www 1262: </Location>
1263:
1264: <Location /cgi-bin/metadata_harvest.pl>
1265: AuthName "harvest"
1266: AuthType Basic
1267: AuthUserFile /home/httpd/lonTabs/htpasswd
1268: require user reaper
1.62 www 1269: </Location>
1270:
1271: <Location /cgi-bin/takeoffline.pl>
1272: AuthName "Offline"
1273: AuthType Basic
1274: AuthUserFile /home/httpd/lonTabs/htpasswd
1275: require user offline
1276: </Location>
1277:
1278: <Location /cgi-bin/takeonline.pl>
1279: AuthName "Offline"
1280: AuthType Basic
1281: AuthUserFile /home/httpd/lonTabs/htpasswd
1282: require user offline
1.1 harris41 1283: </Location>
1284:
1285: <Location /adm/test>
1286: AuthName "LON-CAPA Network Administration"
1287: AuthType Basic
1288: AuthUserFile /home/httpd/lonTabs/htpasswd
1289: require user lonadm
1290: SetHandler perl-script
1.125 albertel 1291: PerlAuthzHandler Apache::lonacc
1.126 albertel 1292: PerlHandler Apache::lontest
1.1 harris41 1293: </Location>
1294:
1295: # ------------------------------------------------------- Shutting down a child
1296:
1.129 albertel 1297: PerlChildExitHandler Apache::lonacc::goodbye
1.1 harris41 1298:
1299: #
1300: # LON-CAPA Section (extensions to access.conf permission configuration)
1301: #
1302: # =========================================================== Directory Options
1303:
1304: # Start out with "no"
1305:
1306: <Directory />
1307: Options None
1308: AllowOverride None
1.158 raeburn 1309: order deny,allow
1310: deny from all
1311: </Directory>
1312:
1313: # Allow uploaded files to be served
1314:
1315: <Directory "/home/httpd/lonUsers">
1316: Options Includes FollowSymLinks
1317: AllowOverride None
1318: order allow,deny
1319: allow from all
1320: </Directory>
1321:
1322: # Allow construction space files to be served
1323:
1324: <Directory "/home/*/public_html/" >
1325: Options Includes FollowSymLinks
1326: AllowOverride
1327: order allow,deny
1328: allow from all
1.1 harris41 1329: </Directory>
1330:
1331: # Yes to symbolic links and server-side includes
1332:
1333: <Directory /home/httpd/html>
1334: Options Includes FollowSymLinks
1335: AllowOverride None
1336: order allow,deny
1337: allow from all
1338: </Directory>
1339:
1340: # If it is in cgi-bin, then it can be executed as a CGI script.
1341:
1342: <Directory /home/httpd/cgi-bin>
1343: AllowOverride None
1.157 albertel 1344: Options ExecCGI FollowSymLinks
1.159 raeburn 1345: order allow,deny
1346: allow from all
1347: </Directory>
1348:
1349: # Allow serving of files in prtspool
1350:
1351: <Directory "/home/httpd/prtspool/">
1352: Options Includes FollowSymLinks
1353: AllowOverride None
1354: order allow,deny
1355: allow from all
1.1 harris41 1356: </Directory>
1357:
1.167 banghart 1358: # Allow serving of files in zipspool
1359:
1360: <Directory "/home/httpd/zipspool/">
1361: Options Includes FollowSymLinks
1362: AllowOverride None
1363: order allow,deny
1364: allow from all
1365: </Directory>
1366:
1.1 harris41 1367: # ============================================================= Access Handlers
1368:
1369: # ------------------------------------------------- Allow server-status reports
1370: <Location /server-status>
1371: SetHandler server-status
1372: AuthName "LON-CAPA Network Administration"
1373: AuthType Basic
1374: AuthUserFile /home/httpd/lonTabs/htpasswd
1375: require user lonadm
1376: </Location>
1377:
1378: # ------------------------ Allow LON-CAPA "low-level" connection status reports
1379: <Location /lon-status>
1380: AuthName "LON-CAPA Network Administration"
1381: AuthType Basic
1382: AuthUserFile /home/httpd/lonTabs/htpasswd
1383: require user lonadm
1384: </Location>
1385:
1386: # ------------------- Allow access to local system documentation from localhost
1387: Alias /doc /usr/doc
1388: <Directory /usr/doc>
1389: order deny,allow
1390: deny from all
1391: allow from localhost
1392: Options Indexes FollowSymLinks
1393: </Directory>
1394:
1395: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
1396: # ====================================== Internal Settings / Perl Configuration
1397:
1.59 www 1398: PerlSetVar lonVersion '<!-- VERSION -->'
1.1 harris41 1399: PerlSetVar lonIDsDir /home/httpd/lonIDs
1400: PerlSetVar lonTabDir /home/httpd/lonTabs
1401: PerlSetVar lonUsersDir /home/httpd/lonUsers
1402: PerlSetVar lonIconsURL /adm/lonIcons
1403: PerlSetVar londPort 5663
1404: PerlSetVar lonSysEMail korte@lite.msu.edu
1405: PerlSetVar lonDaemons /home/httpd/perl
1406: PerlSetVar lonSockDir /home/httpd/sockets
1.164 albertel 1407: PerlSetVar lonSockCreate /home/httpd/sockets/common
1.1 harris41 1408: PerlSetVar lonDocRoot /home/httpd/html
1.98 albertel 1409: PerlSetVar lonPrtDir /home/httpd/prtspool
1.1 harris41 1410: PerlSetVar lonIncludes /home/httpd/html/res/adm/includes
1.166 banghart 1411: PerlSetVar lonZipDir /home/httpd/zipspool
1.168 albertel 1412: PerlSetVar lonFontsDir /home/httpd/html/adm/fonts
1.166 banghart 1413: # & separated list of : separated fields in order of
1.119 albertel 1414: # - internal name to call it,
1415: # - regexp that it should match (done case-insensitively)
1416: # - regexp that is should not match (done case-insensitively)
1417: # - regexp that will pull out the version number into $1
1418: # - a number that describes the minimum version that has mathml support
1419: # - a number that describes the minimum number version that has unicode support
1420:
1.169 albertel 1421: 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 1422:
1.105 albertel 1423: PerlSetVar lonTextBrowsers windows\s+ce:lynx
1.43 albertel 1424: PerlSetVar lonScansDir /home/httpd/scantron
1425: PerlSetVar lonScriptTimeout 10
1.70 www 1426: PerlSetVar BugzillaHost http://bugs.lon-capa.org/
1427: PerlSetVar FAQHost http://help.lon-capa.org/
1.2 harris41 1428: # -----------------------------------------------------------------------------
1429: # NOTE: lonSqlAccess key is the password for the MySQL user
1430: # www@localhost. This value must always be "localhostkey".
1431: # The only security risk occurs when somebody logs in as 'www' on your system
1432: # (in which case you have much bigger problems than whether or not they
1433: # can access the non-authoritative loncapa database on your machine).
1434:
1435: PerlSetVar lonSqlAccess localhostkey
1436:
1437: # -----------------------------------------------------------------------------
1.36 albertel 1438: # lonttpdPort is the port used by the lightweight graphics httpd server
1439: # not the main Apache server
1.96 albertel 1440: PerlSetVar lonhttpdPort 8080
1.36 albertel 1441:
1.2 harris41 1442:
1.86 foxr 1443: #----------------------------------------------------------------------------
1444: #
1.79 foxr 1445: # Parameters used by secure lond/lonc
1446:
1447: #
1448: # Secure lond/lonc require ssl certificate and private
1449: # key files to function correctly. The certificate
1450: # files need not be terribly secure, but the private key files
1451: # should be set up so that only www (the lonc/lond effective user)
1452: # can read them.
1453: #
1454: # The definition below is the full path to the directory that
1455: # contains the certificate and key files:
1.82 foxr 1456:
1.79 foxr 1457: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
1458:
1459: #
1460: # Secure lond/lonc require two certificates and a private host key.
1461: # The certificates required are that of the lonCAPA certificate authority
1462: # and the certificate that authority issued to this host.
1463: # lonnetCertificateAuthority is the name of the file that contains the
1464: # lonCAPA certificate authority's certificate.
1465: # lonnetCertificate is the name of the file that contains the certificate
1466: # issued to the host by the certificate authority.
1467: # Both of these variables are names of files assumed to be in
1468: # lonCertificateDirectory:
1469:
1470: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
1471: PerlSetVar lonnetCertificate lonhostcert.pem
1472:
1473: #
1474: # To generate the request for a certificate, and to negotiate the
1475: # initial ssl connection, the host requires a private key. This key
1476: # is created at lonCAPA install time. Did we mention above that it
1477: # should be set so that only www can read it? The variale below
1478: # is the name of the file relative to lonnetCertificateDirectory
1479: # that has the host's private key. Did we remember to tell you to
1480: # keep the permissions on that file set to rw------- (0600)?
1481: #
1482:
1483: PerlSetVar lonnetPrivateKey lonKey.pem
1484:
1485: # Did we mention that the file described above must have
1486: # permissions really locked down so that it can't be stolen?
1487:
1.86 foxr 1488: #-------------------------------------------------------------------------
1489:
1490: # Parameters that define where all the ssl stuff is that's needed
1491: # to generate certificate requests and, on a system that's a CA
1492: # the certificate authority.
1493: #
1494: # SSLProgram -> Path to the openssl command
1495: # SSLDirectory -> Directory containing ssl configuration files etc.
1496: # SSLCAConfig -> Name of the SSL config file for the certificate
1497: # Authority.
1.87 foxr 1498: # SSLCAFile -> Full path to the Certificate authority file
1499: # (on the cert manager system).
1500: # SSLEmail -> E-mail address of loncapa certificate manager.
1.86 foxr 1501: # The following are good for the loncapa redhat installs and
1502: # the loncapa certificate authority system:
1503: #
1504: PerlSetVar SSLProgram /usr/bin/openssl
1505: PerlSetVar SSLDirectory /usr/share/ssl
1506: PerlSetVar SSLCAConfig loncapaca
1.87 foxr 1507: PerlSetVar SSLCAFile /usr/share/ssl/loncapaca/cacert.pem
1.93 albertel 1508: PerlSetVar SSLEmail certificate@lon-capa.org
1.86 foxr 1509:
1510: #-------------------------------------------------------------------------
1511:
1.79 foxr 1512:
1513:
1.2 harris41 1514:
1.8 harris41 1515: # ====================================== Include machine-specific configuration
1.2 harris41 1516:
1517: Include conf/loncapa.conf
1.61 albertel 1518:
1519: # ================================================= Include local configuration
1520:
1521: Include conf/loncapa_apache_local*.conf
1.1 harris41 1522:
1523: # ================================================== Initiate mod_perl starting
1524:
1525: PerlRequire conf/startup.pl
1.47 albertel 1526: <IfDefine !MODPERL2>
1.1 harris41 1527: PerlFreshRestart On
1.47 albertel 1528: </IfDefine>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>