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