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