Annotation of loncom/loncapa_apache.conf, revision 1.182
1.1 harris41 1: ##
2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
3: ##
1.182 ! raeburn 4: ## $Id: loncapa_apache.conf,v 1.181 2008/11/28 19:38:05 raeburn Exp $
1.1 harris41 5: ##
6:
7: #
8: # LON-CAPA Section (extensions to httpd.conf daemon configuration)
9: #
1.8 harris41 10: # ================================================================ DocumentRoot
1.1 harris41 11:
12: DocumentRoot "/home/httpd/html"
13:
14: # ======================================================================== User
15:
16: User www
17: Group www
18:
19: # ======================================================= Shared Object Modules
20:
1.52 albertel 21: LoadModule perl_module modules/libperl.so
1.47 albertel 22: <IfDefine !MODPERL2>
1.1 harris41 23: AddModule mod_perl.c
1.47 albertel 24: </IfDefine>
1.1 harris41 25:
1.63 albertel 26: <IfDefine MODPERL2>
27: PerlSetVar MODPERL2 1
28: </IfDefine>
1.1 harris41 29: # =============================================================== Miscellaneous
30:
31: ServerAdmin korte@lite.msu.edu
32: ExtendedStatus On
33: #
34: # LON-CAPA Section (extensions to srm.conf name space servicing)
35: #
36: # ===================================================================== Aliases
37:
1.167 banghart 38: Alias /zipspool/ /home/httpd/zipspool/
1.1 harris41 39: Alias /prtspool/ /home/httpd/prtspool/
1.177 raeburn 40: Alias /captchaspool/ /home/httpd/captchaspool/
1.8 harris41 41: ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
1.1 harris41 42:
43: # ================================================================= Directories
44:
45: # ------------------------------------------------------------- Access Handlers
46:
1.12 www 47: PerlTransHandler Apache::lontrans
1.129 albertel 48: PerlCleanupHandler Apache::lonacc::cleanup
1.12 www 49:
1.125 albertel 50: PerlAuthenHandler Apache::checkauthen
51: PerlSetVar lonOtherAuthen no
52:
1.45 albertel 53: #PerlWarn On
1.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.182 ! raeburn 749: <Location /adm/domainstatus>
! 750: PerlAccessHandler Apache::lonstatusacc
! 751: SetHandler perl-script
! 752: PerlHandler Apache::domainstatus
! 753: ErrorDocument 403 /adm/login
! 754: ErrorDocument 406 /adm/roles
! 755: ErrorDocument 500 /adm/errorhandler
! 756: </Location>
! 757:
1.1 harris41 758: <Location /adm/createuser>
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::loncreateuser
1.1 harris41 764: ErrorDocument 403 /adm/login
765: ErrorDocument 406 /adm/roles
766: ErrorDocument 500 /adm/errorhandler
767: </Location>
768:
769: <Location /adm/publish>
1.139 albertel 770: AuthType LONCAPA
1.125 albertel 771: Require valid-user
772: PerlAuthzHandler Apache::lonacc
1.1 harris41 773: SetHandler perl-script
1.126 albertel 774: PerlHandler Apache::lonpublisher
1.1 harris41 775: ErrorDocument 403 /adm/login
776: ErrorDocument 404 /adm/notfound.html
1.18 www 777: ErrorDocument 406 /adm/unauthorized
1.1 harris41 778: ErrorDocument 500 /adm/errorhandler
779: </Location>
780:
1.64 albertel 781: <LocationMatch "^/+\~.*/$">
1.139 albertel 782: AuthType LONCAPA
1.131 albertel 783: Require valid-user
1.125 albertel 784: PerlAuthzHandler Apache::loncacc
1.1 harris41 785: SetHandler perl-script
1.126 albertel 786: PerlHandler Apache::lonpubdir
1.1 harris41 787: ErrorDocument 403 /adm/login
788: ErrorDocument 404 /adm/notfound.html
1.18 www 789: ErrorDocument 406 /adm/unauthorized
1.1 harris41 790: ErrorDocument 500 /adm/errorhandler
791: </LocationMatch>
792:
793: <Location /adm/pubdir>
1.139 albertel 794: AuthType LONCAPA
1.125 albertel 795: Require valid-user
796: PerlAuthzHandler Apache::lonacc
1.1 harris41 797: SetHandler perl-script
1.126 albertel 798: PerlHandler Apache::lonpubdir
1.1 harris41 799: ErrorDocument 403 /adm/login
800: ErrorDocument 404 /adm/notfound.html
1.18 www 801: ErrorDocument 406 /adm/unauthorized
802: ErrorDocument 500 /adm/errorhandler
803: </Location>
804:
805: <Location /adm/unauthorized>
1.139 albertel 806: AuthType LONCAPA
1.125 albertel 807: Require valid-user
808: PerlAuthzHandler Apache::lonacc
1.18 www 809: SetHandler perl-script
1.126 albertel 810: PerlHandler Apache::lonunauthorized
1.18 www 811: ErrorDocument 403 /adm/login
812: ErrorDocument 404 /adm/notfound.html
1.1 harris41 813: ErrorDocument 500 /adm/errorhandler
814: </Location>
815:
816: <Location /adm/retrieve>
1.139 albertel 817: AuthType LONCAPA
1.125 albertel 818: Require valid-user
819: PerlAuthzHandler Apache::lonacc
1.1 harris41 820: SetHandler perl-script
1.126 albertel 821: PerlHandler Apache::lonretrieve
1.1 harris41 822: ErrorDocument 403 /adm/login
823: ErrorDocument 404 /adm/notfound.html
1.18 www 824: ErrorDocument 406 /adm/unauthorized
1.1 harris41 825: ErrorDocument 500 /adm/errorhandler
826: </Location>
827:
1.109 www 828: <Location /adm/cleanup>
1.139 albertel 829: AuthType LONCAPA
1.125 albertel 830: Require valid-user
831: PerlAuthzHandler Apache::lonacc
1.109 www 832: SetHandler perl-script
1.126 albertel 833: PerlHandler Apache::loncleanup
1.109 www 834: ErrorDocument 403 /adm/login
835: ErrorDocument 404 /adm/notfound.html
836: ErrorDocument 406 /adm/unauthorized
837: ErrorDocument 500 /adm/errorhandler
838: </Location>
839:
1.1 harris41 840: <Location /adm/cfile>
1.139 albertel 841: AuthType LONCAPA
1.125 albertel 842: Require valid-user
843: PerlAuthzHandler Apache::lonacc
1.1 harris41 844: SetHandler perl-script
1.126 albertel 845: PerlHandler Apache::loncfile
1.1 harris41 846: ErrorDocument 403 /adm/login
847: ErrorDocument 404 /adm/notfound.html
1.18 www 848: ErrorDocument 406 /adm/unauthorized
1.1 harris41 849: ErrorDocument 500 /adm/errorhandler
850: </Location>
851:
852: <Location /adm/diff>
1.139 albertel 853: AuthType LONCAPA
1.125 albertel 854: Require valid-user
855: PerlAuthzHandler Apache::lonacc
1.1 harris41 856: SetHandler perl-script
1.126 albertel 857: PerlHandler Apache::londiff
1.1 harris41 858: ErrorDocument 403 /adm/login
859: ErrorDocument 404 /adm/notfound.html
1.18 www 860: ErrorDocument 406 /adm/unauthorized
1.1 harris41 861: ErrorDocument 500 /adm/errorhandler
862: </Location>
863:
864: <Location /adm/upload>
1.139 albertel 865: AuthType LONCAPA
1.125 albertel 866: Require valid-user
867: PerlAuthzHandler Apache::lonacc
1.1 harris41 868: SetHandler perl-script
1.126 albertel 869: PerlHandler Apache::lonupload
1.1 harris41 870: ErrorDocument 403 /adm/login
871: ErrorDocument 404 /adm/notfound.html
1.18 www 872: ErrorDocument 406 /adm/unauthorized
1.1 harris41 873: ErrorDocument 500 /adm/errorhandler
1.72 raeburn 874: </Location>
875:
1.73 raeburn 876: <Location /adm/imsimport>
1.139 albertel 877: AuthType LONCAPA
1.125 albertel 878: Require valid-user
879: PerlAuthzHandler Apache::lonacc
1.73 raeburn 880: SetHandler perl-script
1.126 albertel 881: PerlHandler Apache::imsimport
1.73 raeburn 882: ErrorDocument 403 /adm/login
883: ErrorDocument 404 /adm/notfound.html
884: ErrorDocument 406 /adm/unauthorized
885: ErrorDocument 500 /adm/errorhandler
886: </Location>
887:
1.72 raeburn 888: <Location /adm/testbank>
1.139 albertel 889: AuthType LONCAPA
1.125 albertel 890: Require valid-user
891: PerlAuthzHandler Apache::lonacc
1.72 raeburn 892: SetHandler perl-script
1.126 albertel 893: PerlHandler Apache::testbankimport
1.72 raeburn 894: ErrorDocument 403 /adm/login
895: ErrorDocument 404 /adm/notfound.html
896: ErrorDocument 406 /adm/unauthorized
897: ErrorDocument 500 /adm/errorhandler
1.1 harris41 898: </Location>
899:
900: <Location /adm/assesscalc>
1.139 albertel 901: AuthType LONCAPA
1.125 albertel 902: Require valid-user
903: PerlAuthzHandler Apache::lonacc
1.1 harris41 904: SetHandler perl-script
1.126 albertel 905: PerlHandler Apache::lonspreadsheet
1.1 harris41 906: ErrorDocument 403 /adm/login
907: ErrorDocument 406 /adm/roles
1.20 www 908: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 909: ErrorDocument 500 /adm/errorhandler
910: </Location>
911:
912: <Location /adm/studentcalc>
1.139 albertel 913: AuthType LONCAPA
1.125 albertel 914: Require valid-user
915: PerlAuthzHandler Apache::lonacc
1.1 harris41 916: SetHandler perl-script
1.126 albertel 917: PerlHandler Apache::lonspreadsheet
1.1 harris41 918: ErrorDocument 403 /adm/login
919: ErrorDocument 406 /adm/roles
1.20 www 920: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 921: ErrorDocument 500 /adm/errorhandler
922: </Location>
923:
924: <Location /adm/classcalc>
1.139 albertel 925: AuthType LONCAPA
1.125 albertel 926: Require valid-user
927: PerlAuthzHandler Apache::lonacc
1.1 harris41 928: SetHandler perl-script
1.126 albertel 929: PerlHandler Apache::lonspreadsheet
1.1 harris41 930: ErrorDocument 403 /adm/login
931: ErrorDocument 406 /adm/roles
1.20 www 932: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 933: ErrorDocument 500 /adm/errorhandler
934: </Location>
935:
936: <Location /adm/dropadd>
1.139 albertel 937: AuthType LONCAPA
1.125 albertel 938: Require valid-user
939: PerlAuthzHandler Apache::lonacc
1.1 harris41 940: SetHandler perl-script
1.126 albertel 941: PerlHandler Apache::londropadd
1.44 www 942: ErrorDocument 403 /adm/login
943: ErrorDocument 406 /adm/roles
944: ErrorDocument 500 /adm/errorhandler
1.65 raeburn 945: </Location>
946:
1.92 matthew 947: <Location /adm/viewclasslist>
1.139 albertel 948: AuthType LONCAPA
1.125 albertel 949: Require valid-user
950: PerlAuthzHandler Apache::lonacc
1.92 matthew 951: SetHandler perl-script
1.126 albertel 952: PerlHandler Apache::lonviewclasslist
1.92 matthew 953: ErrorDocument 403 /adm/login
954: ErrorDocument 406 /adm/roles
955: ErrorDocument 500 /adm/errorhandler
956: </Location>
957:
1.118 raeburn 958: <Location /adm/coursegroups>
1.139 albertel 959: AuthType LONCAPA
1.125 albertel 960: Require valid-user
961: PerlAuthzHandler Apache::lonacc
1.118 raeburn 962: SetHandler perl-script
1.126 albertel 963: PerlHandler Apache::loncoursegroups
1.118 raeburn 964: ErrorDocument 403 /adm/login
965: ErrorDocument 406 /adm/roles
966: ErrorDocument 500 /adm/errorhandler
967: </Location>
968:
1.143 raeburn 969: <Location /adm/groupboards>
970: AuthType LONCAPA
971: Require valid-user
972: PerlAuthzHandler Apache::lonacc
973: SetHandler perl-script
974: PerlHandler Apache::groupboards
975: ErrorDocument 403 /adm/login
976: ErrorDocument 406 /adm/roles
977: ErrorDocument 500 /adm/errorhandler
978: </Location>
979:
1.144 raeburn 980: <Location /adm/grouproster>
981: AuthType LONCAPA
982: Require valid-user
983: PerlAuthzHandler Apache::lonacc
984: SetHandler perl-script
985: PerlHandler Apache::grouproster
986: ErrorDocument 403 /adm/login
987: ErrorDocument 406 /adm/roles
988: ErrorDocument 500 /adm/errorhandler
989: </Location>
990:
1.112 raeburn 991: <Location /adm/whatsnew>
1.139 albertel 992: AuthType LONCAPA
1.125 albertel 993: Require valid-user
994: PerlAuthzHandler Apache::lonacc
1.112 raeburn 995: SetHandler perl-script
1.126 albertel 996: PerlHandler Apache::lonwhatsnew
1.112 raeburn 997: ErrorDocument 403 /adm/login
998: ErrorDocument 406 /adm/roles
999: ErrorDocument 500 /adm/errorhandler
1000: </Location>
1001:
1.65 raeburn 1002: <Location /adm/populate>
1.139 albertel 1003: AuthType LONCAPA
1.125 albertel 1004: Require valid-user
1005: PerlAuthzHandler Apache::lonacc
1.65 raeburn 1006: SetHandler perl-script
1.126 albertel 1007: PerlHandler Apache::lonpopulate
1.65 raeburn 1008: ErrorDocument 403 /adm/login
1009: ErrorDocument 406 /adm/roles
1010: ErrorDocument 500 /adm/errorhandler
1.44 www 1011: </Location>
1012:
1013: <Location /adm/managekeys>
1.139 albertel 1014: AuthType LONCAPA
1.125 albertel 1015: Require valid-user
1016: PerlAuthzHandler Apache::lonacc
1.44 www 1017: SetHandler perl-script
1.126 albertel 1018: PerlHandler Apache::lonmanagekeys
1.1 harris41 1019: ErrorDocument 403 /adm/login
1020: ErrorDocument 406 /adm/roles
1021: ErrorDocument 500 /adm/errorhandler
1022: </Location>
1023:
1024: <Location /adm/printout>
1.139 albertel 1025: AuthType LONCAPA
1.125 albertel 1026: Require valid-user
1027: PerlAuthzHandler Apache::lonacc
1.1 harris41 1028: SetHandler perl-script
1.126 albertel 1029: PerlHandler Apache::lonprintout
1.1 harris41 1030: ErrorDocument 403 /adm/login
1.20 www 1031: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 1032: ErrorDocument 500 /adm/errorhandler
1033: </Location>
1034:
1035: <Location /adm/feedback>
1.139 albertel 1036: AuthType LONCAPA
1.125 albertel 1037: Require valid-user
1038: PerlAuthzHandler Apache::lonacc
1.1 harris41 1039: SetHandler perl-script
1.126 albertel 1040: PerlHandler Apache::lonfeedback
1.10 www 1041: ErrorDocument 403 /adm/login
1042: ErrorDocument 500 /adm/errorhandler
1043: </Location>
1044:
1045: <Location /adm/coursedocs>
1.139 albertel 1046: AuthType LONCAPA
1.125 albertel 1047: Require valid-user
1048: PerlAuthzHandler Apache::lonacc
1.10 www 1049: SetHandler perl-script
1.126 albertel 1050: PerlHandler Apache::londocs
1.108 albertel 1051: PerlCleanupHandler Apache::londocs::untiehash
1.129 albertel 1052: PerlCleanupHandler Apache::lonacc::cleanup
1.10 www 1053: ErrorDocument 403 /adm/login
1054: ErrorDocument 500 /adm/errorhandler
1.73 raeburn 1055: </Location>
1056:
1057: <Location /adm/imsimportdocs>
1.139 albertel 1058: AuthType LONCAPA
1.125 albertel 1059: Require valid-user
1060: PerlAuthzHandler Apache::lonacc
1.73 raeburn 1061: SetHandler perl-script
1.126 albertel 1062: PerlHandler Apache::imsimportdocs
1.73 raeburn 1063: ErrorDocument 403 /adm/login
1064: ErrorDocument 500 /adm/errorhandler
1.10 www 1065: </Location>
1066:
1.135 www 1067: <LocationMatch "^/adm/announcements">
1.139 albertel 1068: AuthType LONCAPA
1.125 albertel 1069: Require valid-user
1070: PerlAuthzHandler Apache::lonacc
1.10 www 1071: SetHandler perl-script
1.126 albertel 1072: PerlHandler Apache::lonannounce
1.10 www 1073: ErrorDocument 403 /adm/login
1074: ErrorDocument 500 /adm/errorhandler
1.135 www 1075: </LocationMatch>
1.10 www 1076:
1077: <Location /adm/chat>
1.139 albertel 1078: AuthType LONCAPA
1.125 albertel 1079: Require valid-user
1080: PerlAuthzHandler Apache::lonacc
1.10 www 1081: SetHandler perl-script
1.126 albertel 1082: PerlHandler Apache::lonchat
1.13 www 1083: ErrorDocument 500 /adm/errorhandler
1084: </Location>
1085:
1086: <Location /adm/chatfetch>
1.139 albertel 1087: AuthType LONCAPA
1.125 albertel 1088: Require valid-user
1089: PerlAuthzHandler Apache::lonacc
1.13 www 1090: SetHandler perl-script
1.126 albertel 1091: PerlHandler Apache::lonchatfetch
1.20 www 1092: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 1093: ErrorDocument 500 /adm/errorhandler
1094: </Location>
1095:
1.137 albertel 1096: <Location /adm/groupchat>
1.139 albertel 1097: AuthType LONCAPA
1.137 albertel 1098: Require valid-user
1099: PerlAuthzHandler Apache::lonacc
1100: SetHandler perl-script
1101: PerlHandler Apache::longroupchat
1102: ErrorDocument 403 /adm/login
1103: ErrorDocument 500 /adm/errorhandler
1104: </Location>
1105:
1.1 harris41 1106: <Location /adm/evaluate>
1.139 albertel 1107: AuthType LONCAPA
1.125 albertel 1108: Require valid-user
1109: PerlAuthzHandler Apache::lonacc
1.1 harris41 1110: SetHandler perl-script
1.126 albertel 1111: PerlHandler Apache::lonevaluate
1.1 harris41 1112: ErrorDocument 403 /adm/login
1113: ErrorDocument 500 /adm/errorhandler
1114: </Location>
1115:
1116: <Location /adm/preferences>
1.139 albertel 1117: AuthType LONCAPA
1.125 albertel 1118: Require valid-user
1119: PerlAuthzHandler Apache::lonacc
1.1 harris41 1120: SetHandler perl-script
1.126 albertel 1121: PerlHandler Apache::lonpreferences
1.1 harris41 1122: ErrorDocument 403 /adm/login
1123: ErrorDocument 500 /adm/errorhandler
1124: </Location>
1125:
1126: <Location /adm/communicate>
1.139 albertel 1127: AuthType LONCAPA
1.125 albertel 1128: Require valid-user
1129: PerlAuthzHandler Apache::lonacc
1.1 harris41 1130: SetHandler perl-script
1.126 albertel 1131: PerlHandler Apache::loncommunicate
1.1 harris41 1132: ErrorDocument 403 /adm/login
1133: ErrorDocument 500 /adm/errorhandler
1134: </Location>
1135:
1136: <Location /adm/searchcat>
1.139 albertel 1137: AuthType LONCAPA
1.125 albertel 1138: Require valid-user
1139: PerlAuthzHandler Apache::lonacc
1.1 harris41 1140: SetHandler perl-script
1.126 albertel 1141: PerlHandler Apache::lonsearchcat
1.28 www 1142: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.129 albertel 1143: PerlCleanupHandler Apache::lonacc::cleanup
1.1 harris41 1144: ErrorDocument 403 /adm/login
1.20 www 1145: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 1146: ErrorDocument 500 /adm/errorhandler
1147: </Location>
1148:
1149: <Location /adm/navmaps>
1.139 albertel 1150: AuthType LONCAPA
1.125 albertel 1151: Require valid-user
1152: PerlAuthzHandler Apache::lonacc
1.1 harris41 1153: SetHandler perl-script
1.160 albertel 1154: PerlHandler Apache::lonnavdisplay
1.1 harris41 1155: ErrorDocument 403 /adm/login
1156: ErrorDocument 406 /adm/roles
1157: ErrorDocument 500 /adm/errorhandler
1.26 bowersj2 1158: </Location>
1159:
1160: <Location /adm/quickgrades>
1.139 albertel 1161: AuthType LONCAPA
1.125 albertel 1162: Require valid-user
1163: PerlAuthzHandler Apache::lonacc
1.26 bowersj2 1164: SetHandler perl-script
1.126 albertel 1165: PerlHandler Apache::lonquickgrades
1.26 bowersj2 1166: ErrorDocument 403 /adm/login
1167: ErrorDocument 406 /adm/roles
1168: ErrorDocument 500 /adm/errorhandler
1.1 harris41 1169: </Location>
1170:
1171: <Location /adm/groupsort>
1.139 albertel 1172: AuthType LONCAPA
1.125 albertel 1173: Require valid-user
1174: PerlAuthzHandler Apache::lonacc
1.1 harris41 1175: SetHandler perl-script
1.126 albertel 1176: PerlHandler Apache::groupsort
1.29 www 1177: PerlCleanupHandler Apache::groupsort::cleanup
1.129 albertel 1178: PerlCleanupHandler Apache::lonacc::cleanup
1.1 harris41 1179: ErrorDocument 403 /adm/login
1180: ErrorDocument 500 /adm/errorhandler
1181: </Location>
1182:
1183: <Location /adm/errorhandler>
1184: SetHandler perl-script
1.126 albertel 1185: PerlHandler Apache::lonerrorhandler
1.1 harris41 1186: </Location>
1187:
1.7 bowersj2 1188: <LocationMatch "^/adm/help/.*\.hlp$">
1.139 albertel 1189: AuthType LONCAPA
1.125 albertel 1190: Require valid-user
1.147 albertel 1191: PerlAccessHandler Apache::publiccheck
1.125 albertel 1192: PerlAuthzHandler Apache::lonacc
1.7 bowersj2 1193: SetHandler perl-script
1.126 albertel 1194: PerlHandler Apache::lonhelp
1.154 albertel 1195: ErrorDocument 500 /adm/errorhandler
1.7 bowersj2 1196: </LocationMatch>
1197:
1.90 raeburn 1198: <LocationMatch "^/adm/helpmenu">
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::lonhelpmenu
1.154 albertel 1204: ErrorDocument 500 /adm/errorhandler
1.90 raeburn 1205: </LocationMatch>
1206:
1207: <LocationMatch "^/adm/support">
1.139 albertel 1208: AuthType LONCAPA
1.125 albertel 1209: Require valid-user
1210: PerlAuthzHandler Apache::lonacc
1.90 raeburn 1211: SetHandler perl-script
1.126 albertel 1212: PerlHandler Apache::lonsupportreq
1.154 albertel 1213: ErrorDocument 500 /adm/errorhandler
1.90 raeburn 1214: </LocationMatch>
1215:
1.100 raeburn 1216: <LocationMatch "^/adm/helpdesk">
1217: SetHandler perl-script
1.126 albertel 1218: PerlHandler Apache::lonsupportreq
1.154 albertel 1219: ErrorDocument 500 /adm/errorhandler
1.100 raeburn 1220: </LocationMatch>
1221:
1.133 albertel 1222: <LocationMatch "^/adm/css">
1223: SetHandler perl-script
1224: PerlHandler Apache::loncss
1.154 albertel 1225: ErrorDocument 500 /adm/errorhandler
1.133 albertel 1226: </LocationMatch>
1227:
1.155 raeburn 1228: <LocationMatch "^/adm/coursecatalog">
1229: SetHandler perl-script
1230: PerlHandler Apache::coursecatalog
1.156 albertel 1231: ErrorDocument 500 /adm/errorhandler
1.155 raeburn 1232: </LocationMatch>
1233:
1.161 raeburn 1234: <LocationMatch "^/adm/resetpw">
1235: SetHandler perl-script
1236: PerlHandler Apache::resetpw
1237: ErrorDocument 500 /adm/errorhandler
1238: </LocationMatch>
1.155 raeburn 1239:
1.173 raeburn 1240: <LocationMatch "^/adm/selfenroll">
1241: SetHandler perl-script
1242: PerlHandler Apache::selfenroll
1243: ErrorDocument 500 /adm/errorhandler
1244: </LocationMatch>
1245:
1.171 raeburn 1246: <LocationMatch "^/adm/createaccount">
1247: SetHandler perl-script
1248: PerlHandler Apache::createaccount
1249: ErrorDocument 500 /adm/errorhandler
1250: </LocationMatch>
1251:
1.165 albertel 1252: <LocationMatch "^/adm/dns">
1253: SetHandler perl-script
1254: PerlHandler Apache::londns
1255: ErrorDocument 500 /adm/errorhandler
1256: </LocationMatch>
1.164 albertel 1257:
1.1 harris41 1258: # ------------------------------------------------- Backdoor Adm Tests/Programs
1259:
1260: <Location /adm/test>
1.181 raeburn 1261: PerlAccessHandler Apache::lonstatusacc
1.1 harris41 1262: SetHandler perl-script
1.126 albertel 1263: PerlHandler Apache::lontest
1.1 harris41 1264: </Location>
1265:
1266: # ------------------------------------------------------- Shutting down a child
1267:
1.129 albertel 1268: PerlChildExitHandler Apache::lonacc::goodbye
1.1 harris41 1269:
1270: #
1271: # LON-CAPA Section (extensions to access.conf permission configuration)
1272: #
1273: # =========================================================== Directory Options
1274:
1275: # Start out with "no"
1276:
1277: <Directory />
1278: Options None
1279: AllowOverride None
1.158 raeburn 1280: order deny,allow
1281: deny from all
1282: </Directory>
1283:
1284: # Allow uploaded files to be served
1285:
1286: <Directory "/home/httpd/lonUsers">
1287: Options Includes FollowSymLinks
1288: AllowOverride None
1289: order allow,deny
1290: allow from all
1291: </Directory>
1292:
1293: # Allow construction space files to be served
1294:
1295: <Directory "/home/*/public_html/" >
1296: Options Includes FollowSymLinks
1297: AllowOverride
1298: order allow,deny
1299: allow from all
1.1 harris41 1300: </Directory>
1301:
1302: # Yes to symbolic links and server-side includes
1303:
1304: <Directory /home/httpd/html>
1305: Options Includes FollowSymLinks
1306: AllowOverride None
1307: order allow,deny
1308: allow from all
1309: </Directory>
1310:
1311: # If it is in cgi-bin, then it can be executed as a CGI script.
1312:
1313: <Directory /home/httpd/cgi-bin>
1314: AllowOverride None
1.157 albertel 1315: Options ExecCGI FollowSymLinks
1.159 raeburn 1316: order allow,deny
1317: allow from all
1318: </Directory>
1319:
1320: # Allow serving of files in prtspool
1321:
1322: <Directory "/home/httpd/prtspool/">
1323: Options Includes FollowSymLinks
1324: AllowOverride None
1325: order allow,deny
1326: allow from all
1.1 harris41 1327: </Directory>
1328:
1.167 banghart 1329: # Allow serving of files in zipspool
1330:
1331: <Directory "/home/httpd/zipspool/">
1332: Options Includes FollowSymLinks
1333: AllowOverride None
1334: order allow,deny
1335: allow from all
1336: </Directory>
1337:
1.177 raeburn 1338: # Allow serving of files in captchaspool
1339:
1340: <Directory "/home/httpd/captchaspool/">
1341: Options Includes FollowSymLinks
1342: AllowOverride None
1343: order allow,deny
1344: allow from all
1345: </Directory>
1346:
1.1 harris41 1347: # ============================================================= Access Handlers
1348:
1349: # ------------------------------------------------- Allow server-status reports
1350: <Location /server-status>
1.181 raeburn 1351: PerlAccessHandler Apache::lonstatusacc
1.1 harris41 1352: SetHandler server-status
1353: </Location>
1354:
1355: # ------------------------ Allow LON-CAPA "low-level" connection status reports
1.181 raeburn 1356: <LocationMatch "^/+lon-status/.*">
1357: PerlAccessHandler Apache::lonstatusacc
1358: ErrorDocument 406 /adm/roles
1359: ErrorDocument 500 /adm/errorhandler
1360: </LocationMatch>
1.1 harris41 1361:
1362: # ------------------- Allow access to local system documentation from localhost
1363: Alias /doc /usr/doc
1364: <Directory /usr/doc>
1365: order deny,allow
1366: deny from all
1367: allow from localhost
1368: Options Indexes FollowSymLinks
1369: </Directory>
1370:
1371: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
1372: # ====================================== Internal Settings / Perl Configuration
1373:
1.59 www 1374: PerlSetVar lonVersion '<!-- VERSION -->'
1.1 harris41 1375: PerlSetVar lonIDsDir /home/httpd/lonIDs
1376: PerlSetVar lonTabDir /home/httpd/lonTabs
1377: PerlSetVar lonUsersDir /home/httpd/lonUsers
1378: PerlSetVar lonIconsURL /adm/lonIcons
1379: PerlSetVar londPort 5663
1380: PerlSetVar lonSysEMail korte@lite.msu.edu
1381: PerlSetVar lonDaemons /home/httpd/perl
1382: PerlSetVar lonSockDir /home/httpd/sockets
1.164 albertel 1383: PerlSetVar lonSockCreate /home/httpd/sockets/common
1.1 harris41 1384: PerlSetVar lonDocRoot /home/httpd/html
1.98 albertel 1385: PerlSetVar lonPrtDir /home/httpd/prtspool
1.1 harris41 1386: PerlSetVar lonIncludes /home/httpd/html/res/adm/includes
1.166 banghart 1387: PerlSetVar lonZipDir /home/httpd/zipspool
1.177 raeburn 1388: PerlSetVar lonCaptchaDir /home/httpd/captchaspool
1389: PerlSetVar lonCaptchaDb /home/httpd/captchadb
1.168 albertel 1390: PerlSetVar lonFontsDir /home/httpd/html/adm/fonts
1.166 banghart 1391: # & separated list of : separated fields in order of
1.119 albertel 1392: # - internal name to call it,
1393: # - regexp that it should match (done case-insensitively)
1394: # - regexp that is should not match (done case-insensitively)
1395: # - regexp that will pull out the version number into $1
1396: # - a number that describes the minimum version that has mathml support
1397: # - a number that describes the minimum number version that has unicode support
1398:
1.169 albertel 1399: 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 1400:
1.105 albertel 1401: PerlSetVar lonTextBrowsers windows\s+ce:lynx
1.43 albertel 1402: PerlSetVar lonScansDir /home/httpd/scantron
1403: PerlSetVar lonScriptTimeout 10
1.70 www 1404: PerlSetVar BugzillaHost http://bugs.lon-capa.org/
1405: PerlSetVar FAQHost http://help.lon-capa.org/
1.2 harris41 1406: # -----------------------------------------------------------------------------
1407: # NOTE: lonSqlAccess key is the password for the MySQL user
1408: # www@localhost. This value must always be "localhostkey".
1409: # The only security risk occurs when somebody logs in as 'www' on your system
1410: # (in which case you have much bigger problems than whether or not they
1411: # can access the non-authoritative loncapa database on your machine).
1412:
1413: PerlSetVar lonSqlAccess localhostkey
1414:
1.86 foxr 1415: #----------------------------------------------------------------------------
1416: #
1.79 foxr 1417: # Parameters used by secure lond/lonc
1418:
1419: #
1420: # Secure lond/lonc require ssl certificate and private
1421: # key files to function correctly. The certificate
1422: # files need not be terribly secure, but the private key files
1423: # should be set up so that only www (the lonc/lond effective user)
1424: # can read them.
1425: #
1426: # The definition below is the full path to the directory that
1427: # contains the certificate and key files:
1.82 foxr 1428:
1.79 foxr 1429: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
1430:
1431: #
1432: # Secure lond/lonc require two certificates and a private host key.
1433: # The certificates required are that of the lonCAPA certificate authority
1434: # and the certificate that authority issued to this host.
1435: # lonnetCertificateAuthority is the name of the file that contains the
1436: # lonCAPA certificate authority's certificate.
1437: # lonnetCertificate is the name of the file that contains the certificate
1438: # issued to the host by the certificate authority.
1439: # Both of these variables are names of files assumed to be in
1440: # lonCertificateDirectory:
1441:
1442: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
1443: PerlSetVar lonnetCertificate lonhostcert.pem
1444:
1445: #
1446: # To generate the request for a certificate, and to negotiate the
1447: # initial ssl connection, the host requires a private key. This key
1448: # is created at lonCAPA install time. Did we mention above that it
1449: # should be set so that only www can read it? The variale below
1450: # is the name of the file relative to lonnetCertificateDirectory
1451: # that has the host's private key. Did we remember to tell you to
1452: # keep the permissions on that file set to rw------- (0600)?
1453: #
1454:
1455: PerlSetVar lonnetPrivateKey lonKey.pem
1456:
1457: # Did we mention that the file described above must have
1458: # permissions really locked down so that it can't be stolen?
1459:
1.86 foxr 1460: #-------------------------------------------------------------------------
1461:
1462: # Parameters that define where all the ssl stuff is that's needed
1463: # to generate certificate requests and, on a system that's a CA
1464: # the certificate authority.
1465: #
1466: # SSLProgram -> Path to the openssl command
1467: # SSLDirectory -> Directory containing ssl configuration files etc.
1468: # SSLCAConfig -> Name of the SSL config file for the certificate
1469: # Authority.
1.87 foxr 1470: # SSLCAFile -> Full path to the Certificate authority file
1471: # (on the cert manager system).
1472: # SSLEmail -> E-mail address of loncapa certificate manager.
1.86 foxr 1473: # The following are good for the loncapa redhat installs and
1474: # the loncapa certificate authority system:
1475: #
1476: PerlSetVar SSLProgram /usr/bin/openssl
1477: PerlSetVar SSLDirectory /usr/share/ssl
1478: PerlSetVar SSLCAConfig loncapaca
1.87 foxr 1479: PerlSetVar SSLCAFile /usr/share/ssl/loncapaca/cacert.pem
1.93 albertel 1480: PerlSetVar SSLEmail certificate@lon-capa.org
1.86 foxr 1481:
1482: #-------------------------------------------------------------------------
1483:
1.79 foxr 1484:
1485:
1.2 harris41 1486:
1.8 harris41 1487: # ====================================== Include machine-specific configuration
1.2 harris41 1488:
1489: Include conf/loncapa.conf
1.61 albertel 1490:
1491: # ================================================= Include local configuration
1492:
1493: Include conf/loncapa_apache_local*.conf
1.1 harris41 1494:
1495: # ================================================== Initiate mod_perl starting
1496:
1497: PerlRequire conf/startup.pl
1.47 albertel 1498: <IfDefine !MODPERL2>
1.1 harris41 1499: PerlFreshRestart On
1.47 albertel 1500: </IfDefine>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>