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