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