Annotation of loncom/loncapa_apache.conf, revision 1.168
1.1 harris41 1: ##
2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
3: ##
1.168 ! albertel 4: ## $Id: loncapa_apache.conf,v 1.167 2007/04/26 00:59:32 banghart 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.126 albertel 834: PerlHandler Apache::lonupload
1.1 harris41 835: ErrorDocument 403 /adm/login
836: ErrorDocument 404 /adm/notfound.html
1.18 www 837: ErrorDocument 406 /adm/unauthorized
1.1 harris41 838: ErrorDocument 500 /adm/errorhandler
1.72 raeburn 839: </Location>
840:
1.73 raeburn 841: <Location /adm/imsimport>
1.139 albertel 842: AuthType LONCAPA
1.125 albertel 843: Require valid-user
844: PerlAuthzHandler Apache::lonacc
1.73 raeburn 845: SetHandler perl-script
1.126 albertel 846: PerlHandler Apache::imsimport
1.73 raeburn 847: ErrorDocument 403 /adm/login
848: ErrorDocument 404 /adm/notfound.html
849: ErrorDocument 406 /adm/unauthorized
850: ErrorDocument 500 /adm/errorhandler
851: </Location>
852:
1.72 raeburn 853: <Location /adm/testbank>
1.139 albertel 854: AuthType LONCAPA
1.125 albertel 855: Require valid-user
856: PerlAuthzHandler Apache::lonacc
1.72 raeburn 857: SetHandler perl-script
1.126 albertel 858: PerlHandler Apache::testbankimport
1.72 raeburn 859: ErrorDocument 403 /adm/login
860: ErrorDocument 404 /adm/notfound.html
861: ErrorDocument 406 /adm/unauthorized
862: ErrorDocument 500 /adm/errorhandler
1.1 harris41 863: </Location>
864:
865: <Location /adm/assesscalc>
1.139 albertel 866: AuthType LONCAPA
1.125 albertel 867: Require valid-user
868: PerlAuthzHandler Apache::lonacc
1.1 harris41 869: SetHandler perl-script
1.126 albertel 870: PerlHandler Apache::lonspreadsheet
1.1 harris41 871: ErrorDocument 403 /adm/login
872: ErrorDocument 406 /adm/roles
1.20 www 873: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 874: ErrorDocument 500 /adm/errorhandler
875: </Location>
876:
877: <Location /adm/studentcalc>
1.139 albertel 878: AuthType LONCAPA
1.125 albertel 879: Require valid-user
880: PerlAuthzHandler Apache::lonacc
1.1 harris41 881: SetHandler perl-script
1.126 albertel 882: PerlHandler Apache::lonspreadsheet
1.1 harris41 883: ErrorDocument 403 /adm/login
884: ErrorDocument 406 /adm/roles
1.20 www 885: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 886: ErrorDocument 500 /adm/errorhandler
887: </Location>
888:
889: <Location /adm/classcalc>
1.139 albertel 890: AuthType LONCAPA
1.125 albertel 891: Require valid-user
892: PerlAuthzHandler Apache::lonacc
1.1 harris41 893: SetHandler perl-script
1.126 albertel 894: PerlHandler Apache::lonspreadsheet
1.1 harris41 895: ErrorDocument 403 /adm/login
896: ErrorDocument 406 /adm/roles
1.20 www 897: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 898: ErrorDocument 500 /adm/errorhandler
899: </Location>
900:
901: <Location /adm/dropadd>
1.139 albertel 902: AuthType LONCAPA
1.125 albertel 903: Require valid-user
904: PerlAuthzHandler Apache::lonacc
1.1 harris41 905: SetHandler perl-script
1.126 albertel 906: PerlHandler Apache::londropadd
1.44 www 907: ErrorDocument 403 /adm/login
908: ErrorDocument 406 /adm/roles
909: ErrorDocument 500 /adm/errorhandler
1.65 raeburn 910: </Location>
911:
1.92 matthew 912: <Location /adm/viewclasslist>
1.139 albertel 913: AuthType LONCAPA
1.125 albertel 914: Require valid-user
915: PerlAuthzHandler Apache::lonacc
1.92 matthew 916: SetHandler perl-script
1.126 albertel 917: PerlHandler Apache::lonviewclasslist
1.92 matthew 918: ErrorDocument 403 /adm/login
919: ErrorDocument 406 /adm/roles
920: ErrorDocument 500 /adm/errorhandler
921: </Location>
922:
1.118 raeburn 923: <Location /adm/coursegroups>
1.139 albertel 924: AuthType LONCAPA
1.125 albertel 925: Require valid-user
926: PerlAuthzHandler Apache::lonacc
1.118 raeburn 927: SetHandler perl-script
1.126 albertel 928: PerlHandler Apache::loncoursegroups
1.118 raeburn 929: ErrorDocument 403 /adm/login
930: ErrorDocument 406 /adm/roles
931: ErrorDocument 500 /adm/errorhandler
932: </Location>
933:
1.143 raeburn 934: <Location /adm/groupboards>
935: AuthType LONCAPA
936: Require valid-user
937: PerlAuthzHandler Apache::lonacc
938: SetHandler perl-script
939: PerlHandler Apache::groupboards
940: ErrorDocument 403 /adm/login
941: ErrorDocument 406 /adm/roles
942: ErrorDocument 500 /adm/errorhandler
943: </Location>
944:
1.144 raeburn 945: <Location /adm/grouproster>
946: AuthType LONCAPA
947: Require valid-user
948: PerlAuthzHandler Apache::lonacc
949: SetHandler perl-script
950: PerlHandler Apache::grouproster
951: ErrorDocument 403 /adm/login
952: ErrorDocument 406 /adm/roles
953: ErrorDocument 500 /adm/errorhandler
954: </Location>
955:
1.112 raeburn 956: <Location /adm/whatsnew>
1.139 albertel 957: AuthType LONCAPA
1.125 albertel 958: Require valid-user
959: PerlAuthzHandler Apache::lonacc
1.112 raeburn 960: SetHandler perl-script
1.126 albertel 961: PerlHandler Apache::lonwhatsnew
1.112 raeburn 962: ErrorDocument 403 /adm/login
963: ErrorDocument 406 /adm/roles
964: ErrorDocument 500 /adm/errorhandler
965: </Location>
966:
1.65 raeburn 967: <Location /adm/populate>
1.139 albertel 968: AuthType LONCAPA
1.125 albertel 969: Require valid-user
970: PerlAuthzHandler Apache::lonacc
1.65 raeburn 971: SetHandler perl-script
1.126 albertel 972: PerlHandler Apache::lonpopulate
1.65 raeburn 973: ErrorDocument 403 /adm/login
974: ErrorDocument 406 /adm/roles
975: ErrorDocument 500 /adm/errorhandler
1.44 www 976: </Location>
977:
978: <Location /adm/managekeys>
1.139 albertel 979: AuthType LONCAPA
1.125 albertel 980: Require valid-user
981: PerlAuthzHandler Apache::lonacc
1.44 www 982: SetHandler perl-script
1.126 albertel 983: PerlHandler Apache::lonmanagekeys
1.1 harris41 984: ErrorDocument 403 /adm/login
985: ErrorDocument 406 /adm/roles
986: ErrorDocument 500 /adm/errorhandler
987: </Location>
988:
989: <Location /adm/printout>
1.139 albertel 990: AuthType LONCAPA
1.125 albertel 991: Require valid-user
992: PerlAuthzHandler Apache::lonacc
1.1 harris41 993: SetHandler perl-script
1.126 albertel 994: PerlHandler Apache::lonprintout
1.1 harris41 995: ErrorDocument 403 /adm/login
1.20 www 996: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 997: ErrorDocument 500 /adm/errorhandler
998: </Location>
999:
1000: <Location /adm/feedback>
1.139 albertel 1001: AuthType LONCAPA
1.125 albertel 1002: Require valid-user
1003: PerlAuthzHandler Apache::lonacc
1.1 harris41 1004: SetHandler perl-script
1.126 albertel 1005: PerlHandler Apache::lonfeedback
1.10 www 1006: ErrorDocument 403 /adm/login
1007: ErrorDocument 500 /adm/errorhandler
1008: </Location>
1009:
1010: <Location /adm/coursedocs>
1.139 albertel 1011: AuthType LONCAPA
1.125 albertel 1012: Require valid-user
1013: PerlAuthzHandler Apache::lonacc
1.10 www 1014: SetHandler perl-script
1.126 albertel 1015: PerlHandler Apache::londocs
1.108 albertel 1016: PerlCleanupHandler Apache::londocs::untiehash
1.129 albertel 1017: PerlCleanupHandler Apache::lonacc::cleanup
1.10 www 1018: ErrorDocument 403 /adm/login
1019: ErrorDocument 500 /adm/errorhandler
1.73 raeburn 1020: </Location>
1021:
1022: <Location /adm/imsimportdocs>
1.139 albertel 1023: AuthType LONCAPA
1.125 albertel 1024: Require valid-user
1025: PerlAuthzHandler Apache::lonacc
1.73 raeburn 1026: SetHandler perl-script
1.126 albertel 1027: PerlHandler Apache::imsimportdocs
1.73 raeburn 1028: ErrorDocument 403 /adm/login
1029: ErrorDocument 500 /adm/errorhandler
1.10 www 1030: </Location>
1031:
1.135 www 1032: <LocationMatch "^/adm/announcements">
1.139 albertel 1033: AuthType LONCAPA
1.125 albertel 1034: Require valid-user
1035: PerlAuthzHandler Apache::lonacc
1.10 www 1036: SetHandler perl-script
1.126 albertel 1037: PerlHandler Apache::lonannounce
1.10 www 1038: ErrorDocument 403 /adm/login
1039: ErrorDocument 500 /adm/errorhandler
1.135 www 1040: </LocationMatch>
1.10 www 1041:
1042: <Location /adm/chat>
1.139 albertel 1043: AuthType LONCAPA
1.125 albertel 1044: Require valid-user
1045: PerlAuthzHandler Apache::lonacc
1.10 www 1046: SetHandler perl-script
1.126 albertel 1047: PerlHandler Apache::lonchat
1.13 www 1048: ErrorDocument 500 /adm/errorhandler
1049: </Location>
1050:
1051: <Location /adm/chatfetch>
1.139 albertel 1052: AuthType LONCAPA
1.125 albertel 1053: Require valid-user
1054: PerlAuthzHandler Apache::lonacc
1.13 www 1055: SetHandler perl-script
1.126 albertel 1056: PerlHandler Apache::lonchatfetch
1.20 www 1057: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 1058: ErrorDocument 500 /adm/errorhandler
1059: </Location>
1060:
1.137 albertel 1061: <Location /adm/groupchat>
1.139 albertel 1062: AuthType LONCAPA
1.137 albertel 1063: Require valid-user
1064: PerlAuthzHandler Apache::lonacc
1065: SetHandler perl-script
1066: PerlHandler Apache::longroupchat
1067: ErrorDocument 403 /adm/login
1068: ErrorDocument 500 /adm/errorhandler
1069: </Location>
1070:
1.1 harris41 1071: <Location /adm/evaluate>
1.139 albertel 1072: AuthType LONCAPA
1.125 albertel 1073: Require valid-user
1074: PerlAuthzHandler Apache::lonacc
1.1 harris41 1075: SetHandler perl-script
1.126 albertel 1076: PerlHandler Apache::lonevaluate
1.1 harris41 1077: ErrorDocument 403 /adm/login
1078: ErrorDocument 500 /adm/errorhandler
1079: </Location>
1080:
1081: <Location /adm/preferences>
1.139 albertel 1082: AuthType LONCAPA
1.125 albertel 1083: Require valid-user
1084: PerlAuthzHandler Apache::lonacc
1.1 harris41 1085: SetHandler perl-script
1.126 albertel 1086: PerlHandler Apache::lonpreferences
1.1 harris41 1087: ErrorDocument 403 /adm/login
1088: ErrorDocument 500 /adm/errorhandler
1089: </Location>
1090:
1091: <Location /adm/communicate>
1.139 albertel 1092: AuthType LONCAPA
1.125 albertel 1093: Require valid-user
1094: PerlAuthzHandler Apache::lonacc
1.1 harris41 1095: SetHandler perl-script
1.126 albertel 1096: PerlHandler Apache::loncommunicate
1.1 harris41 1097: ErrorDocument 403 /adm/login
1098: ErrorDocument 500 /adm/errorhandler
1099: </Location>
1100:
1101: <Location /adm/searchcat>
1.139 albertel 1102: AuthType LONCAPA
1.125 albertel 1103: Require valid-user
1104: PerlAuthzHandler Apache::lonacc
1.1 harris41 1105: SetHandler perl-script
1.126 albertel 1106: PerlHandler Apache::lonsearchcat
1.28 www 1107: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.129 albertel 1108: PerlCleanupHandler Apache::lonacc::cleanup
1.1 harris41 1109: ErrorDocument 403 /adm/login
1.20 www 1110: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 1111: ErrorDocument 500 /adm/errorhandler
1112: </Location>
1113:
1114: <Location /adm/navmaps>
1.139 albertel 1115: AuthType LONCAPA
1.125 albertel 1116: Require valid-user
1117: PerlAuthzHandler Apache::lonacc
1.1 harris41 1118: SetHandler perl-script
1.160 albertel 1119: PerlHandler Apache::lonnavdisplay
1.1 harris41 1120: ErrorDocument 403 /adm/login
1121: ErrorDocument 406 /adm/roles
1122: ErrorDocument 500 /adm/errorhandler
1.26 bowersj2 1123: </Location>
1124:
1125: <Location /adm/quickgrades>
1.139 albertel 1126: AuthType LONCAPA
1.125 albertel 1127: Require valid-user
1128: PerlAuthzHandler Apache::lonacc
1.26 bowersj2 1129: SetHandler perl-script
1.126 albertel 1130: PerlHandler Apache::lonquickgrades
1.26 bowersj2 1131: ErrorDocument 403 /adm/login
1132: ErrorDocument 406 /adm/roles
1133: ErrorDocument 500 /adm/errorhandler
1.1 harris41 1134: </Location>
1135:
1136: <Location /adm/groupsort>
1.139 albertel 1137: AuthType LONCAPA
1.125 albertel 1138: Require valid-user
1139: PerlAuthzHandler Apache::lonacc
1.1 harris41 1140: SetHandler perl-script
1.126 albertel 1141: PerlHandler Apache::groupsort
1.29 www 1142: PerlCleanupHandler Apache::groupsort::cleanup
1.129 albertel 1143: PerlCleanupHandler Apache::lonacc::cleanup
1.1 harris41 1144: ErrorDocument 403 /adm/login
1145: ErrorDocument 500 /adm/errorhandler
1146: </Location>
1147:
1148: <Location /adm/errorhandler>
1149: SetHandler perl-script
1.126 albertel 1150: PerlHandler Apache::lonerrorhandler
1.1 harris41 1151: </Location>
1152:
1.7 bowersj2 1153: <LocationMatch "^/adm/help/.*\.hlp$">
1.139 albertel 1154: AuthType LONCAPA
1.125 albertel 1155: Require valid-user
1.147 albertel 1156: PerlAccessHandler Apache::publiccheck
1.125 albertel 1157: PerlAuthzHandler Apache::lonacc
1.7 bowersj2 1158: SetHandler perl-script
1.126 albertel 1159: PerlHandler Apache::lonhelp
1.154 albertel 1160: ErrorDocument 500 /adm/errorhandler
1.7 bowersj2 1161: </LocationMatch>
1162:
1.90 raeburn 1163: <LocationMatch "^/adm/helpmenu">
1.139 albertel 1164: AuthType LONCAPA
1.125 albertel 1165: Require valid-user
1166: PerlAuthzHandler Apache::lonacc
1.90 raeburn 1167: SetHandler perl-script
1.126 albertel 1168: PerlHandler Apache::lonhelpmenu
1.154 albertel 1169: ErrorDocument 500 /adm/errorhandler
1.90 raeburn 1170: </LocationMatch>
1171:
1172: <LocationMatch "^/adm/support">
1.139 albertel 1173: AuthType LONCAPA
1.125 albertel 1174: Require valid-user
1175: PerlAuthzHandler Apache::lonacc
1.90 raeburn 1176: SetHandler perl-script
1.126 albertel 1177: PerlHandler Apache::lonsupportreq
1.154 albertel 1178: ErrorDocument 500 /adm/errorhandler
1.90 raeburn 1179: </LocationMatch>
1180:
1.100 raeburn 1181: <LocationMatch "^/adm/helpdesk">
1182: SetHandler perl-script
1.126 albertel 1183: PerlHandler Apache::lonsupportreq
1.154 albertel 1184: ErrorDocument 500 /adm/errorhandler
1.100 raeburn 1185: </LocationMatch>
1186:
1.133 albertel 1187: <LocationMatch "^/adm/css">
1188: SetHandler perl-script
1189: PerlHandler Apache::loncss
1.154 albertel 1190: ErrorDocument 500 /adm/errorhandler
1.133 albertel 1191: </LocationMatch>
1192:
1.155 raeburn 1193: <LocationMatch "^/adm/coursecatalog">
1194: SetHandler perl-script
1195: PerlHandler Apache::coursecatalog
1.156 albertel 1196: ErrorDocument 500 /adm/errorhandler
1.155 raeburn 1197: </LocationMatch>
1198:
1.161 raeburn 1199: <LocationMatch "^/adm/resetpw">
1200: SetHandler perl-script
1201: PerlHandler Apache::resetpw
1202: ErrorDocument 500 /adm/errorhandler
1203: </LocationMatch>
1.155 raeburn 1204:
1.165 albertel 1205: <LocationMatch "^/adm/dns">
1206: SetHandler perl-script
1207: PerlHandler Apache::londns
1208: ErrorDocument 500 /adm/errorhandler
1209: </LocationMatch>
1.164 albertel 1210:
1.1 harris41 1211: # ------------------------------------------------- Backdoor Adm Tests/Programs
1212:
1213: <Location /cgi-bin/loncron.pl>
1.37 www 1214: AuthName "LON-CAPA Network Administration"
1215: AuthType Basic
1216: AuthUserFile /home/httpd/lonTabs/htpasswd
1217: require user lonadm
1218: </Location>
1219:
1220: <Location /cgi-bin/userstatus.pl>
1.1 harris41 1221: AuthName "LON-CAPA Network Administration"
1222: AuthType Basic
1223: AuthUserFile /home/httpd/lonTabs/htpasswd
1224: require user lonadm
1225: </Location>
1226:
1227: <Location /cgi-bin/lonversions.pl>
1228: AuthName "LON-CAPA Network Administration"
1229: AuthType Basic
1230: AuthUserFile /home/httpd/lonTabs/htpasswd
1231: require user lonadm
1232: </Location>
1233:
1234: <Location /cgi-bin/clusterstatus.pl>
1235: AuthName "LON-CAPA Network Administration"
1236: AuthType Basic
1237: AuthUserFile /home/httpd/lonTabs/htpasswd
1238: require user lonadm
1239: </Location>
1240:
1241: <Location /cgi-bin/metadata_keywords.pl>
1242: AuthName "LON-CAPA Network Administration"
1243: AuthType Basic
1244: AuthUserFile /home/httpd/lonTabs/htpasswd
1245: require user lonadm
1.22 www 1246: </Location>
1247:
1248: <Location /cgi-bin/metadata_harvest.pl>
1249: AuthName "harvest"
1250: AuthType Basic
1251: AuthUserFile /home/httpd/lonTabs/htpasswd
1252: require user reaper
1.62 www 1253: </Location>
1254:
1255: <Location /cgi-bin/takeoffline.pl>
1256: AuthName "Offline"
1257: AuthType Basic
1258: AuthUserFile /home/httpd/lonTabs/htpasswd
1259: require user offline
1260: </Location>
1261:
1262: <Location /cgi-bin/takeonline.pl>
1263: AuthName "Offline"
1264: AuthType Basic
1265: AuthUserFile /home/httpd/lonTabs/htpasswd
1266: require user offline
1.1 harris41 1267: </Location>
1268:
1269: <Location /adm/test>
1270: AuthName "LON-CAPA Network Administration"
1271: AuthType Basic
1272: AuthUserFile /home/httpd/lonTabs/htpasswd
1273: require user lonadm
1274: SetHandler perl-script
1.125 albertel 1275: PerlAuthzHandler Apache::lonacc
1.126 albertel 1276: PerlHandler Apache::lontest
1.1 harris41 1277: </Location>
1278:
1279: # ------------------------------------------------------- Shutting down a child
1280:
1.129 albertel 1281: PerlChildExitHandler Apache::lonacc::goodbye
1.1 harris41 1282:
1283: #
1284: # LON-CAPA Section (extensions to access.conf permission configuration)
1285: #
1286: # =========================================================== Directory Options
1287:
1288: # Start out with "no"
1289:
1290: <Directory />
1291: Options None
1292: AllowOverride None
1.158 raeburn 1293: order deny,allow
1294: deny from all
1295: </Directory>
1296:
1297: # Allow uploaded files to be served
1298:
1299: <Directory "/home/httpd/lonUsers">
1300: Options Includes FollowSymLinks
1301: AllowOverride None
1302: order allow,deny
1303: allow from all
1304: </Directory>
1305:
1306: # Allow construction space files to be served
1307:
1308: <Directory "/home/*/public_html/" >
1309: Options Includes FollowSymLinks
1310: AllowOverride
1311: order allow,deny
1312: allow from all
1.1 harris41 1313: </Directory>
1314:
1315: # Yes to symbolic links and server-side includes
1316:
1317: <Directory /home/httpd/html>
1318: Options Includes FollowSymLinks
1319: AllowOverride None
1320: order allow,deny
1321: allow from all
1322: </Directory>
1323:
1324: # If it is in cgi-bin, then it can be executed as a CGI script.
1325:
1326: <Directory /home/httpd/cgi-bin>
1327: AllowOverride None
1.157 albertel 1328: Options ExecCGI FollowSymLinks
1.159 raeburn 1329: order allow,deny
1330: allow from all
1331: </Directory>
1332:
1333: # Allow serving of files in prtspool
1334:
1335: <Directory "/home/httpd/prtspool/">
1336: Options Includes FollowSymLinks
1337: AllowOverride None
1338: order allow,deny
1339: allow from all
1.1 harris41 1340: </Directory>
1341:
1.167 banghart 1342: # Allow serving of files in zipspool
1343:
1344: <Directory "/home/httpd/zipspool/">
1345: Options Includes FollowSymLinks
1346: AllowOverride None
1347: order allow,deny
1348: allow from all
1349: </Directory>
1350:
1.1 harris41 1351: # ============================================================= Access Handlers
1352:
1353: # ------------------------------------------------- Allow server-status reports
1354: <Location /server-status>
1355: SetHandler server-status
1356: AuthName "LON-CAPA Network Administration"
1357: AuthType Basic
1358: AuthUserFile /home/httpd/lonTabs/htpasswd
1359: require user lonadm
1360: </Location>
1361:
1362: # ------------------------ Allow LON-CAPA "low-level" connection status reports
1363: <Location /lon-status>
1364: AuthName "LON-CAPA Network Administration"
1365: AuthType Basic
1366: AuthUserFile /home/httpd/lonTabs/htpasswd
1367: require user lonadm
1368: </Location>
1369:
1370: # ------------------- Allow access to local system documentation from localhost
1371: Alias /doc /usr/doc
1372: <Directory /usr/doc>
1373: order deny,allow
1374: deny from all
1375: allow from localhost
1376: Options Indexes FollowSymLinks
1377: </Directory>
1378:
1379: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
1380: # ====================================== Internal Settings / Perl Configuration
1381:
1.59 www 1382: PerlSetVar lonVersion '<!-- VERSION -->'
1.1 harris41 1383: PerlSetVar lonIDsDir /home/httpd/lonIDs
1384: PerlSetVar lonTabDir /home/httpd/lonTabs
1385: PerlSetVar lonUsersDir /home/httpd/lonUsers
1386: PerlSetVar lonIconsURL /adm/lonIcons
1387: PerlSetVar londPort 5663
1388: PerlSetVar lonSysEMail korte@lite.msu.edu
1389: PerlSetVar lonDaemons /home/httpd/perl
1390: PerlSetVar lonSockDir /home/httpd/sockets
1.164 albertel 1391: PerlSetVar lonSockCreate /home/httpd/sockets/common
1.1 harris41 1392: PerlSetVar lonDocRoot /home/httpd/html
1.98 albertel 1393: PerlSetVar lonPrtDir /home/httpd/prtspool
1.1 harris41 1394: PerlSetVar lonIncludes /home/httpd/html/res/adm/includes
1.166 banghart 1395: PerlSetVar lonZipDir /home/httpd/zipspool
1.168 ! albertel 1396: PerlSetVar lonFontsDir /home/httpd/html/adm/fonts
1.166 banghart 1397: # & separated list of : separated fields in order of
1.119 albertel 1398: # - internal name to call it,
1399: # - regexp that it should match (done case-insensitively)
1400: # - regexp that is should not match (done case-insensitively)
1401: # - regexp that will pull out the version number into $1
1402: # - a number that describes the minimum version that has mathml support
1403: # - a number that describes the minimum number version that has unicode support
1404:
1.168 ! albertel 1405: 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+)[\.\d+]:9999:84
1.119 albertel 1406:
1.105 albertel 1407: PerlSetVar lonTextBrowsers windows\s+ce:lynx
1.43 albertel 1408: PerlSetVar lonScansDir /home/httpd/scantron
1409: PerlSetVar lonScriptTimeout 10
1.70 www 1410: PerlSetVar BugzillaHost http://bugs.lon-capa.org/
1411: PerlSetVar FAQHost http://help.lon-capa.org/
1.2 harris41 1412: # -----------------------------------------------------------------------------
1413: # NOTE: lonSqlAccess key is the password for the MySQL user
1414: # www@localhost. This value must always be "localhostkey".
1415: # The only security risk occurs when somebody logs in as 'www' on your system
1416: # (in which case you have much bigger problems than whether or not they
1417: # can access the non-authoritative loncapa database on your machine).
1418:
1419: PerlSetVar lonSqlAccess localhostkey
1420:
1421: # -----------------------------------------------------------------------------
1.36 albertel 1422: # lonttpdPort is the port used by the lightweight graphics httpd server
1423: # not the main Apache server
1.96 albertel 1424: PerlSetVar lonhttpdPort 8080
1.36 albertel 1425:
1.2 harris41 1426:
1.86 foxr 1427: #----------------------------------------------------------------------------
1428: #
1.79 foxr 1429: # Parameters used by secure lond/lonc
1430:
1431: #
1432: # Secure lond/lonc require ssl certificate and private
1433: # key files to function correctly. The certificate
1434: # files need not be terribly secure, but the private key files
1435: # should be set up so that only www (the lonc/lond effective user)
1436: # can read them.
1437: #
1438: # The definition below is the full path to the directory that
1439: # contains the certificate and key files:
1.82 foxr 1440:
1.79 foxr 1441: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
1442:
1443: #
1444: # Secure lond/lonc require two certificates and a private host key.
1445: # The certificates required are that of the lonCAPA certificate authority
1446: # and the certificate that authority issued to this host.
1447: # lonnetCertificateAuthority is the name of the file that contains the
1448: # lonCAPA certificate authority's certificate.
1449: # lonnetCertificate is the name of the file that contains the certificate
1450: # issued to the host by the certificate authority.
1451: # Both of these variables are names of files assumed to be in
1452: # lonCertificateDirectory:
1453:
1454: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
1455: PerlSetVar lonnetCertificate lonhostcert.pem
1456:
1457: #
1458: # To generate the request for a certificate, and to negotiate the
1459: # initial ssl connection, the host requires a private key. This key
1460: # is created at lonCAPA install time. Did we mention above that it
1461: # should be set so that only www can read it? The variale below
1462: # is the name of the file relative to lonnetCertificateDirectory
1463: # that has the host's private key. Did we remember to tell you to
1464: # keep the permissions on that file set to rw------- (0600)?
1465: #
1466:
1467: PerlSetVar lonnetPrivateKey lonKey.pem
1468:
1469: # Did we mention that the file described above must have
1470: # permissions really locked down so that it can't be stolen?
1471:
1.86 foxr 1472: #-------------------------------------------------------------------------
1473:
1474: # Parameters that define where all the ssl stuff is that's needed
1475: # to generate certificate requests and, on a system that's a CA
1476: # the certificate authority.
1477: #
1478: # SSLProgram -> Path to the openssl command
1479: # SSLDirectory -> Directory containing ssl configuration files etc.
1480: # SSLCAConfig -> Name of the SSL config file for the certificate
1481: # Authority.
1.87 foxr 1482: # SSLCAFile -> Full path to the Certificate authority file
1483: # (on the cert manager system).
1484: # SSLEmail -> E-mail address of loncapa certificate manager.
1.86 foxr 1485: # The following are good for the loncapa redhat installs and
1486: # the loncapa certificate authority system:
1487: #
1488: PerlSetVar SSLProgram /usr/bin/openssl
1489: PerlSetVar SSLDirectory /usr/share/ssl
1490: PerlSetVar SSLCAConfig loncapaca
1.87 foxr 1491: PerlSetVar SSLCAFile /usr/share/ssl/loncapaca/cacert.pem
1.93 albertel 1492: PerlSetVar SSLEmail certificate@lon-capa.org
1.86 foxr 1493:
1494: #-------------------------------------------------------------------------
1495:
1.79 foxr 1496:
1497:
1.2 harris41 1498:
1.8 harris41 1499: # ====================================== Include machine-specific configuration
1.2 harris41 1500:
1501: Include conf/loncapa.conf
1.61 albertel 1502:
1503: # ================================================= Include local configuration
1504:
1505: Include conf/loncapa_apache_local*.conf
1.1 harris41 1506:
1507: # ================================================== Initiate mod_perl starting
1508:
1509: PerlRequire conf/startup.pl
1.47 albertel 1510: <IfDefine !MODPERL2>
1.1 harris41 1511: PerlFreshRestart On
1.47 albertel 1512: </IfDefine>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>