Annotation of loncom/loncapa_apache.conf, revision 1.185
1.1 harris41 1: ##
2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
3: ##
1.185 ! raeburn 4: ## $Id: loncapa_apache.conf,v 1.184 2009/04/02 13:48:07 foxr 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:
1203: <Location /adm/errorhandler>
1204: SetHandler perl-script
1.126 albertel 1205: PerlHandler Apache::lonerrorhandler
1.1 harris41 1206: </Location>
1207:
1.7 bowersj2 1208: <LocationMatch "^/adm/help/.*\.hlp$">
1.139 albertel 1209: AuthType LONCAPA
1.125 albertel 1210: Require valid-user
1.147 albertel 1211: PerlAccessHandler Apache::publiccheck
1.125 albertel 1212: PerlAuthzHandler Apache::lonacc
1.7 bowersj2 1213: SetHandler perl-script
1.126 albertel 1214: PerlHandler Apache::lonhelp
1.154 albertel 1215: ErrorDocument 500 /adm/errorhandler
1.7 bowersj2 1216: </LocationMatch>
1217:
1.90 raeburn 1218: <LocationMatch "^/adm/helpmenu">
1.139 albertel 1219: AuthType LONCAPA
1.125 albertel 1220: Require valid-user
1221: PerlAuthzHandler Apache::lonacc
1.90 raeburn 1222: SetHandler perl-script
1.126 albertel 1223: PerlHandler Apache::lonhelpmenu
1.154 albertel 1224: ErrorDocument 500 /adm/errorhandler
1.90 raeburn 1225: </LocationMatch>
1226:
1227: <LocationMatch "^/adm/support">
1.139 albertel 1228: AuthType LONCAPA
1.125 albertel 1229: Require valid-user
1230: PerlAuthzHandler Apache::lonacc
1.90 raeburn 1231: SetHandler perl-script
1.126 albertel 1232: PerlHandler Apache::lonsupportreq
1.154 albertel 1233: ErrorDocument 500 /adm/errorhandler
1.90 raeburn 1234: </LocationMatch>
1235:
1.100 raeburn 1236: <LocationMatch "^/adm/helpdesk">
1237: SetHandler perl-script
1.126 albertel 1238: PerlHandler Apache::lonsupportreq
1.154 albertel 1239: ErrorDocument 500 /adm/errorhandler
1.100 raeburn 1240: </LocationMatch>
1241:
1.133 albertel 1242: <LocationMatch "^/adm/css">
1243: SetHandler perl-script
1244: PerlHandler Apache::loncss
1.154 albertel 1245: ErrorDocument 500 /adm/errorhandler
1.133 albertel 1246: </LocationMatch>
1247:
1.155 raeburn 1248: <LocationMatch "^/adm/coursecatalog">
1249: SetHandler perl-script
1250: PerlHandler Apache::coursecatalog
1.156 albertel 1251: ErrorDocument 500 /adm/errorhandler
1.155 raeburn 1252: </LocationMatch>
1253:
1.161 raeburn 1254: <LocationMatch "^/adm/resetpw">
1255: SetHandler perl-script
1256: PerlHandler Apache::resetpw
1257: ErrorDocument 500 /adm/errorhandler
1258: </LocationMatch>
1.155 raeburn 1259:
1.173 raeburn 1260: <LocationMatch "^/adm/selfenroll">
1261: SetHandler perl-script
1262: PerlHandler Apache::selfenroll
1263: ErrorDocument 500 /adm/errorhandler
1264: </LocationMatch>
1265:
1.171 raeburn 1266: <LocationMatch "^/adm/createaccount">
1267: SetHandler perl-script
1268: PerlHandler Apache::createaccount
1269: ErrorDocument 500 /adm/errorhandler
1270: </LocationMatch>
1271:
1.165 albertel 1272: <LocationMatch "^/adm/dns">
1273: SetHandler perl-script
1274: PerlHandler Apache::londns
1275: ErrorDocument 500 /adm/errorhandler
1276: </LocationMatch>
1.164 albertel 1277:
1.1 harris41 1278: # ------------------------------------------------- Backdoor Adm Tests/Programs
1279:
1280: <Location /adm/test>
1.181 raeburn 1281: PerlAccessHandler Apache::lonstatusacc
1.1 harris41 1282: SetHandler perl-script
1.126 albertel 1283: PerlHandler Apache::lontest
1.1 harris41 1284: </Location>
1285:
1286: # ------------------------------------------------------- Shutting down a child
1287:
1.129 albertel 1288: PerlChildExitHandler Apache::lonacc::goodbye
1.1 harris41 1289:
1290: #
1291: # LON-CAPA Section (extensions to access.conf permission configuration)
1292: #
1293: # =========================================================== Directory Options
1294:
1295: # Start out with "no"
1296:
1297: <Directory />
1298: Options None
1299: AllowOverride None
1.158 raeburn 1300: order deny,allow
1301: deny from all
1302: </Directory>
1303:
1304: # Allow uploaded files to be served
1305:
1306: <Directory "/home/httpd/lonUsers">
1307: Options Includes FollowSymLinks
1308: AllowOverride None
1309: order allow,deny
1310: allow from all
1311: </Directory>
1312:
1313: # Allow construction space files to be served
1314:
1315: <Directory "/home/*/public_html/" >
1316: Options Includes FollowSymLinks
1317: AllowOverride
1318: order allow,deny
1319: allow from all
1.1 harris41 1320: </Directory>
1321:
1322: # Yes to symbolic links and server-side includes
1323:
1324: <Directory /home/httpd/html>
1325: Options Includes FollowSymLinks
1326: AllowOverride None
1327: order allow,deny
1328: allow from all
1329: </Directory>
1330:
1331: # If it is in cgi-bin, then it can be executed as a CGI script.
1332:
1333: <Directory /home/httpd/cgi-bin>
1334: AllowOverride None
1.157 albertel 1335: Options ExecCGI FollowSymLinks
1.159 raeburn 1336: order allow,deny
1337: allow from all
1338: </Directory>
1339:
1340: # Allow serving of files in prtspool
1341:
1342: <Directory "/home/httpd/prtspool/">
1343: Options Includes FollowSymLinks
1344: AllowOverride None
1345: order allow,deny
1346: allow from all
1.1 harris41 1347: </Directory>
1348:
1.167 banghart 1349: # Allow serving of files in zipspool
1350:
1351: <Directory "/home/httpd/zipspool/">
1352: Options Includes FollowSymLinks
1353: AllowOverride None
1354: order allow,deny
1355: allow from all
1356: </Directory>
1357:
1.177 raeburn 1358: # Allow serving of files in captchaspool
1359:
1360: <Directory "/home/httpd/captchaspool/">
1361: Options Includes FollowSymLinks
1362: AllowOverride None
1363: order allow,deny
1364: allow from all
1365: </Directory>
1366:
1.1 harris41 1367: # ============================================================= Access Handlers
1368:
1369: # ------------------------------------------------- Allow server-status reports
1370: <Location /server-status>
1.181 raeburn 1371: PerlAccessHandler Apache::lonstatusacc
1.1 harris41 1372: SetHandler server-status
1373: </Location>
1374:
1375: # ------------------------ Allow LON-CAPA "low-level" connection status reports
1.181 raeburn 1376: <LocationMatch "^/+lon-status/.*">
1377: PerlAccessHandler Apache::lonstatusacc
1378: ErrorDocument 406 /adm/roles
1379: ErrorDocument 500 /adm/errorhandler
1380: </LocationMatch>
1.1 harris41 1381:
1382: # ------------------- Allow access to local system documentation from localhost
1383: Alias /doc /usr/doc
1384: <Directory /usr/doc>
1385: order deny,allow
1386: deny from all
1387: allow from localhost
1388: Options Indexes FollowSymLinks
1389: </Directory>
1390:
1391: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
1392: # ====================================== Internal Settings / Perl Configuration
1393:
1.59 www 1394: PerlSetVar lonVersion '<!-- VERSION -->'
1.1 harris41 1395: PerlSetVar lonIDsDir /home/httpd/lonIDs
1396: PerlSetVar lonTabDir /home/httpd/lonTabs
1397: PerlSetVar lonUsersDir /home/httpd/lonUsers
1398: PerlSetVar lonIconsURL /adm/lonIcons
1399: PerlSetVar londPort 5663
1400: PerlSetVar lonSysEMail korte@lite.msu.edu
1401: PerlSetVar lonDaemons /home/httpd/perl
1.184 foxr 1402: PerlSetVar lonLib /home/httpd/lib
1.1 harris41 1403: PerlSetVar lonSockDir /home/httpd/sockets
1.164 albertel 1404: PerlSetVar lonSockCreate /home/httpd/sockets/common
1.1 harris41 1405: PerlSetVar lonDocRoot /home/httpd/html
1.98 albertel 1406: PerlSetVar lonPrtDir /home/httpd/prtspool
1.1 harris41 1407: PerlSetVar lonIncludes /home/httpd/html/res/adm/includes
1.166 banghart 1408: PerlSetVar lonZipDir /home/httpd/zipspool
1.177 raeburn 1409: PerlSetVar lonCaptchaDir /home/httpd/captchaspool
1410: PerlSetVar lonCaptchaDb /home/httpd/captchadb
1.168 albertel 1411: PerlSetVar lonFontsDir /home/httpd/html/adm/fonts
1.166 banghart 1412: # & separated list of : separated fields in order of
1.119 albertel 1413: # - internal name to call it,
1414: # - regexp that it should match (done case-insensitively)
1415: # - regexp that is should not match (done case-insensitively)
1416: # - regexp that will pull out the version number into $1
1417: # - a number that describes the minimum version that has mathml support
1418: # - a number that describes the minimum number version that has unicode support
1419:
1.169 albertel 1420: 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 1421:
1.105 albertel 1422: PerlSetVar lonTextBrowsers windows\s+ce:lynx
1.43 albertel 1423: PerlSetVar lonScansDir /home/httpd/scantron
1424: PerlSetVar lonScriptTimeout 10
1.70 www 1425: PerlSetVar BugzillaHost http://bugs.lon-capa.org/
1426: PerlSetVar FAQHost http://help.lon-capa.org/
1.2 harris41 1427: # -----------------------------------------------------------------------------
1428: # NOTE: lonSqlAccess key is the password for the MySQL user
1429: # www@localhost. This value must always be "localhostkey".
1430: # The only security risk occurs when somebody logs in as 'www' on your system
1431: # (in which case you have much bigger problems than whether or not they
1432: # can access the non-authoritative loncapa database on your machine).
1433:
1434: PerlSetVar lonSqlAccess localhostkey
1435:
1.86 foxr 1436: #----------------------------------------------------------------------------
1437: #
1.79 foxr 1438: # Parameters used by secure lond/lonc
1439:
1440: #
1441: # Secure lond/lonc require ssl certificate and private
1442: # key files to function correctly. The certificate
1443: # files need not be terribly secure, but the private key files
1444: # should be set up so that only www (the lonc/lond effective user)
1445: # can read them.
1446: #
1447: # The definition below is the full path to the directory that
1448: # contains the certificate and key files:
1.82 foxr 1449:
1.79 foxr 1450: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
1451:
1452: #
1453: # Secure lond/lonc require two certificates and a private host key.
1454: # The certificates required are that of the lonCAPA certificate authority
1455: # and the certificate that authority issued to this host.
1456: # lonnetCertificateAuthority is the name of the file that contains the
1457: # lonCAPA certificate authority's certificate.
1458: # lonnetCertificate is the name of the file that contains the certificate
1459: # issued to the host by the certificate authority.
1460: # Both of these variables are names of files assumed to be in
1461: # lonCertificateDirectory:
1462:
1463: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
1464: PerlSetVar lonnetCertificate lonhostcert.pem
1465:
1466: #
1467: # To generate the request for a certificate, and to negotiate the
1468: # initial ssl connection, the host requires a private key. This key
1469: # is created at lonCAPA install time. Did we mention above that it
1470: # should be set so that only www can read it? The variale below
1471: # is the name of the file relative to lonnetCertificateDirectory
1472: # that has the host's private key. Did we remember to tell you to
1473: # keep the permissions on that file set to rw------- (0600)?
1474: #
1475:
1476: PerlSetVar lonnetPrivateKey lonKey.pem
1477:
1478: # Did we mention that the file described above must have
1479: # permissions really locked down so that it can't be stolen?
1480:
1.86 foxr 1481: #-------------------------------------------------------------------------
1482:
1483: # Parameters that define where all the ssl stuff is that's needed
1484: # to generate certificate requests and, on a system that's a CA
1485: # the certificate authority.
1486: #
1487: # SSLProgram -> Path to the openssl command
1488: # SSLDirectory -> Directory containing ssl configuration files etc.
1489: # SSLCAConfig -> Name of the SSL config file for the certificate
1490: # Authority.
1.87 foxr 1491: # SSLCAFile -> Full path to the Certificate authority file
1492: # (on the cert manager system).
1493: # SSLEmail -> E-mail address of loncapa certificate manager.
1.86 foxr 1494: # The following are good for the loncapa redhat installs and
1495: # the loncapa certificate authority system:
1496: #
1497: PerlSetVar SSLProgram /usr/bin/openssl
1498: PerlSetVar SSLDirectory /usr/share/ssl
1499: PerlSetVar SSLCAConfig loncapaca
1.87 foxr 1500: PerlSetVar SSLCAFile /usr/share/ssl/loncapaca/cacert.pem
1.93 albertel 1501: PerlSetVar SSLEmail certificate@lon-capa.org
1.86 foxr 1502:
1503: #-------------------------------------------------------------------------
1504:
1.79 foxr 1505:
1506:
1.2 harris41 1507:
1.8 harris41 1508: # ====================================== Include machine-specific configuration
1.2 harris41 1509:
1510: Include conf/loncapa.conf
1.61 albertel 1511:
1512: # ================================================= Include local configuration
1513:
1514: Include conf/loncapa_apache_local*.conf
1.1 harris41 1515:
1516: # ================================================== Initiate mod_perl starting
1517:
1518: PerlRequire conf/startup.pl
1.47 albertel 1519: <IfDefine !MODPERL2>
1.1 harris41 1520: PerlFreshRestart On
1.47 albertel 1521: </IfDefine>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>