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