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