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