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