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