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