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