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