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