Annotation of loncom/loncapa_apache.conf, revision 1.285
1.1 harris41 1: ##
2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
3: ##
1.222 raeburn 4:
1.285 ! raeburn 5: # $Id: loncapa_apache.conf,v 1.284 2023/11/03 01:12:17 raeburn Exp $
1.1 harris41 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.223 raeburn 21: <IfModule !perl_module>
22: LoadModule perl_module modules/libperl.so
23: </IfModule>
1.47 albertel 24: <IfDefine !MODPERL2>
1.1 harris41 25: AddModule mod_perl.c
1.47 albertel 26: </IfDefine>
1.1 harris41 27:
1.63 albertel 28: <IfDefine MODPERL2>
29: PerlSetVar MODPERL2 1
30: </IfDefine>
1.1 harris41 31: # =============================================================== Miscellaneous
32:
1.229 raeburn 33: ServerAdmin consortium@loncapa.org
1.1 harris41 34: ExtendedStatus On
35: #
36: # LON-CAPA Section (extensions to srm.conf name space servicing)
37: #
38: # ===================================================================== Aliases
39:
1.167 banghart 40: Alias /zipspool/ /home/httpd/zipspool/
1.1 harris41 41: Alias /prtspool/ /home/httpd/prtspool/
1.177 raeburn 42: Alias /captchaspool/ /home/httpd/captchaspool/
1.210 raeburn 43: Alias /webdav/ /home/httpd/html/priv/
1.8 harris41 44: ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
1.214 raeburn 45: <IfModule mod_dav_fs.c>
46: DAVLockDB /home/httpd/webdav/DAVLock
47: </IfModule>
1.1 harris41 48:
49: # ================================================================= Directories
50:
51: # ------------------------------------------------------------- Access Handlers
52:
1.12 www 53: PerlTransHandler Apache::lontrans
1.129 albertel 54: PerlCleanupHandler Apache::lonacc::cleanup
1.12 www 55:
1.125 albertel 56: PerlAuthenHandler Apache::checkauthen
57: PerlSetVar lonOtherAuthen no
58:
1.212 raeburn 59: <IfModule mod_shib>
60: PerlAuthenHandler Apache::lonshibauth
61: PerlSetVar lonOtherAuthen yes
62: PerlSetVar lonOtherAuthenType Shibboleth
63: </IfModule>
64:
1.45 albertel 65: #PerlWarn On
1.183 raeburn 66: <LocationMatch "^/+res/adm/pages/[^/]+\.(gif|png)$">
1.228 raeburn 67: PerlAuthzHandler 'sub { return OK }'
1.183 raeburn 68: </LocationMatch>
69:
1.191 droeschl 70: # Send proper expires header to avoid unnecessary HTTP request for static content
1.241 raeburn 71: <LocationMatch "^(/adm/lonIcons|/adm/jQuery|/res/adm/pages|/ckeditor|/adm/jpicker|/adm/countdown|/adm/spellchecker|/adm/nicescroll|/adm/MathJax|/adm/daxe)">
1.191 droeschl 72: ExpiresActive On
73: ExpiresDefault "access plus 12 hours"
1.199 raeburn 74: Header set Cache-Control "public, no-transform"
1.191 droeschl 75: </LocationMatch>
76:
1.21 www 77: <LocationMatch "^/+res.*">
1.125 albertel 78:
1.139 albertel 79: AuthType LONCAPA
1.125 albertel 80: Require valid-user
81:
82: PerlAccessHandler Apache::publiccheck
83: PerlAuthzHandler Apache::lonacc
1.1 harris41 84: PerlHeaderParserHandler Apache::lonrep
85: ErrorDocument 403 /adm/login
86: ErrorDocument 404 /adm/notfound.html
87: ErrorDocument 406 /adm/roles
1.74 www 88: ErrorDocument 500 /adm/errorhandler
89: </LocationMatch>
90:
1.125 albertel 91:
92: <LocationMatch "/.*">
93: </LocationMatch>
94:
95:
1.74 www 96: <LocationMatch "^/+enc.*">
1.115 raeburn 97: SetHandler perl-script
1.127 albertel 98: PerlHandler Apache::lonencurl
1.74 www 99: ErrorDocument 403 /adm/login
1.80 albertel 100: ErrorDocument 404 /adm/notfound.html
101: ErrorDocument 406 /adm/roles
1.11 www 102: ErrorDocument 500 /adm/errorhandler
103: </LocationMatch>
104:
1.84 banghart 105: <Location /adm/portfolio>
1.139 albertel 106: AuthType LONCAPA
1.125 albertel 107: Require valid-user
108: PerlAuthzHandler Apache::lonacc
1.123 raeburn 109: SetHandler perl-script
1.126 albertel 110: PerlHandler Apache::portfolio
1.123 raeburn 111: </Location>
112:
1.136 raeburn 113: <Location /adm/coursegrp_portfolio>
1.139 albertel 114: AuthType LONCAPA
1.136 raeburn 115: Require valid-user
116: PerlAuthzHandler Apache::lonacc
117: SetHandler perl-script
118: PerlHandler Apache::portfolio
119: </Location>
120:
1.195 raeburn 121: <Location /adm/pdfupload>
122: AuthType LONCAPA
123: Require valid-user
124: PerlAuthzHandler Apache::lonacc
125: SetHandler perl-script
126: PerlHandler Apache::lonpdfupload
127: ErrorDocument 403 /adm/login
128: ErrorDocument 404 /adm/notfound.html
129: ErrorDocument 406 /adm/roles
130: ErrorDocument 500 /adm/errorhandler
131: </Location>
132:
1.21 www 133: <LocationMatch "^/+userfiles.*">
1.271 raeburn 134: Options +FollowSymLinks -Includes
1.11 www 135: PerlAccessHandler Apache::lontokacc
1.58 www 136: PerlCleanupHandler Apache::lontokacc::removefile
1.129 albertel 137: PerlCleanupHandler Apache::lonacc::cleanup
1.12 www 138: </LocationMatch>
139:
1.76 albertel 140: <LocationMatch "^/+uploaded.*">
1.139 albertel 141: AuthType LONCAPA
1.125 albertel 142: Require valid-user
143: PerlAuthzHandler Apache::lonacc
1.178 raeburn 144: PerlHandler Apache::londatecheck
145: PerlHandler Apache::lonipcheck
1.75 raeburn 146: PerlHeaderParserHandler Apache::lonuploadrep
1.80 albertel 147: ErrorDocument 403 /adm/login
1.16 www 148: ErrorDocument 404 /adm/notfound.html
1.80 albertel 149: ErrorDocument 406 /adm/roles
1.16 www 150: ErrorDocument 500 /adm/errorhandler
1.75 raeburn 151: </LocationMatch>
152:
1.274 raeburn 153: <LocationMatch "^/+uploaded/.+/.+/(portfolio|feedback|docs|groups|supplemental)/.+">
1.272 raeburn 154: Options +FollowSymLinks -Includes
155: </LocationMatch>
156:
1.106 albertel 157: <LocationMatch "^/+editupload.*">
1.139 albertel 158: AuthType LONCAPA
1.125 albertel 159: Require valid-user
160: PerlAuthzHandler Apache::lonacc
1.106 albertel 161: ErrorDocument 403 /adm/login
162: ErrorDocument 406 /adm/roles
163: ErrorDocument 500 /adm/errorhandler
164: </LocationMatch>
165:
1.98 albertel 166: <LocationMatch "^/+uploaded/.*/.*/internal/.*">
1.150 albertel 167: PerlAuthenHandler Apache::lonuploadedacc
168: PerlAuthzHandler Apache::lonuploadedacc::skip_phase
1.151 albertel 169: PerlAccessHandler Apache::lonuploadedacc::skip_phase
1.98 albertel 170: </LocationMatch>
171:
1.140 raeburn 172: <LocationMatch "^/+uploaded/.*/.*/portfolio/.*">
173: PerlAccessHandler Apache::publiccheck
1.141 albertel 174: AuthType LONCAPA
1.140 raeburn 175: Require valid-user
176: PerlAuthzHandler Apache::lonacc
177: </LocationMatch>
178:
179: <LocationMatch "^/+uploaded/.*/.*/groups/.*/portfolio/.*">
180: PerlAccessHandler Apache::publiccheck
1.141 albertel 181: AuthType LONCAPA
1.140 raeburn 182: Require valid-user
183: PerlAuthzHandler Apache::lonacc
184: </LocationMatch>
1.98 albertel 185:
1.76 albertel 186: <LocationMatch "^/+uploaded/.*\.page$">
1.75 raeburn 187: SetHandler perl-script
1.126 albertel 188: PerlHandler Apache::lonpage
1.75 raeburn 189: </LocationMatch>
190:
1.76 albertel 191: <LocationMatch "^/+uploaded/.*\.sequence$">
1.75 raeburn 192: SetHandler perl-script
1.126 albertel 193: PerlHandler Apache::lonsequence
1.16 www 194: </LocationMatch>
195:
1.285 ! raeburn 196: <LocationMatch "^/+uploaded/.*/.*/docs/.*\.tex$">
! 197: SetHandler perl-script
! 198: PerlHandler Apache::londatecheck
! 199: PerlHandler Apache::lonipcheck
! 200: PerlHandler Apache::lontex
! 201: </LocationMatch>
! 202:
1.44 www 203: <LocationMatch "^/+public/.*/syllabus$">
1.132 albertel 204: PerlAccessHandler Apache::publiccheck
1.139 albertel 205: AuthType LONCAPA
1.125 albertel 206: Require valid-user
207: PerlAuthzHandler Apache::lonacc
1.16 www 208: SetHandler perl-script
1.126 albertel 209: PerlHandler Apache::lonsyllabus
1.16 www 210: ErrorDocument 404 /adm/notfound.html
211: ErrorDocument 500 /adm/errorhandler
212: </LocationMatch>
213:
1.122 www 214: <LocationMatch "^/+(public|adm)/.*(\.rss|_rss\.html)$">
1.132 albertel 215: PerlAccessHandler Apache::publiccheck
1.139 albertel 216: AuthType LONCAPA
1.125 albertel 217: Require valid-user
218: PerlAuthzHandler Apache::lonacc
1.121 www 219: SetHandler perl-script
1.126 albertel 220: PerlHandler Apache::lonrss
1.121 www 221: ErrorDocument 404 /adm/notfound.html
222: ErrorDocument 500 /adm/errorhandler
223: </LocationMatch>
224:
1.44 www 225: <LocationMatch "^/adm/.*/aboutme$">
1.139 albertel 226: AuthType LONCAPA
1.125 albertel 227: Require valid-user
228: PerlAuthzHandler Apache::lonacc
1.16 www 229: SetHandler perl-script
1.126 albertel 230: PerlHandler Apache::lonaboutme
1.19 www 231: ErrorDocument 404 /adm/notfound.html
1.54 www 232: ErrorDocument 406 /adm/notinit.html
1.19 www 233: ErrorDocument 500 /adm/errorhandler
234: </LocationMatch>
235:
1.153 albertel 236: <LocationMatch "^/adm/.*/aboutme/portfolio$">
237: PerlAccessHandler Apache::publiccheck
238: AuthType LONCAPA
239: Require valid-user
240: PerlAuthzHandler Apache::lonacc
241: SetHandler perl-script
242: PerlHandler Apache::lonaboutme
243: ErrorDocument 404 /adm/notfound.html
244: ErrorDocument 406 /adm/notinit.html
245: ErrorDocument 500 /adm/errorhandler
246: </LocationMatch>
247:
1.44 www 248: <LocationMatch "^/adm/.*/smppg$">
1.139 albertel 249: AuthType LONCAPA
1.125 albertel 250: Require valid-user
251: PerlAuthzHandler Apache::lonacc
1.19 www 252: SetHandler perl-script
1.172 www 253: PerlHandler Apache::londatecheck
1.178 raeburn 254: PerlHandler Apache::lonipcheck
1.126 albertel 255: PerlHandler Apache::lonsimplepage
1.19 www 256: ErrorDocument 404 /adm/notfound.html
1.54 www 257: ErrorDocument 406 /adm/notinit.html
1.19 www 258: ErrorDocument 500 /adm/errorhandler
259: </LocationMatch>
260:
1.44 www 261: <LocationMatch "^/adm/.*/bulletinboard$">
1.139 albertel 262: AuthType LONCAPA
1.125 albertel 263: Require valid-user
264: PerlAuthzHandler Apache::lonacc
1.19 www 265: SetHandler perl-script
1.126 albertel 266: PerlHandler Apache::londatecheck
1.178 raeburn 267: PerlHandler Apache::lonipcheck
1.126 albertel 268: PerlHandler Apache::lonbulletin
1.55 www 269: ErrorDocument 404 /adm/notfound.html
270: ErrorDocument 406 /adm/notinit.html
271: ErrorDocument 500 /adm/errorhandler
272: </LocationMatch>
273:
274: <LocationMatch "\.problem/smpedit$">
1.139 albertel 275: AuthType LONCAPA
1.125 albertel 276: Require valid-user
277: PerlAuthzHandler Apache::lonacc
1.55 www 278: SetHandler perl-script
1.126 albertel 279: PerlHandler Apache::lonsimpleproblemedit
1.11 www 280: ErrorDocument 404 /adm/notfound.html
1.54 www 281: ErrorDocument 406 /adm/notinit.html
1.1 harris41 282: ErrorDocument 500 /adm/errorhandler
283: </LocationMatch>
284:
1.255 raeburn 285: <LocationMatch "^/adm/.*/ext\.tool$">
1.242 raeburn 286: AuthType LONCAPA
287: Require valid-user
288: PerlAuthzHandler Apache::lonacc
289: SetHandler perl-script
1.281 raeburn 290: PerlHandler Apache::lonslotcheck
1.242 raeburn 291: PerlHandler Apache::londatecheck
292: PerlHandler Apache::lonipcheck
293: PerlHandler Apache::lonexttool
294: ErrorDocument 404 /adm/notfound.html
295: ErrorDocument 406 /adm/notinit.html
296: ErrorDocument 500 /adm/errorhandler
297: </LocationMatch>
298:
1.244 raeburn 299: <LocationMatch "^/adm/placement$">
300: AuthType LONCAPA
301: Require valid-user
302: PerlAuthzHandler Apache::lonacc
303: SetHandler perl-script
304: PerlHandler Apache::lonplacementtest
305: ErrorDocument 404 /adm/notfound.html
306: ErrorDocument 406 /adm/notinit.html
307: ErrorDocument 500 /adm/errorhandler
308: </LocationMatch>
309:
1.268 raeburn 310: <Location /adm/exturlcheck>
311: AuthType LONCAPA
312: Require valid-user
313: PerlAuthzHandler Apache::lonacc
314: SetHandler perl-script
315: PerlHandler Apache::lonexturlcheck
316: ErrorDocument 403 /adm/login
317: ErrorDocument 404 /adm/notfound.html
318: ErrorDocument 406 /adm/unauthorized
319: ErrorDocument 500 /adm/errorhandler
320: </Location>
321:
1.205 www 322: <LocationMatch "^/+priv/.*">
1.139 albertel 323: AuthType LONCAPA
1.131 albertel 324: Require valid-user
1.125 albertel 325: PerlAuthzHandler Apache::loncacc
1.1 harris41 326: SetHandler perl-script
327: ErrorDocument 403 /adm/login
328: ErrorDocument 404 /adm/notfound.html
1.18 www 329: ErrorDocument 406 /adm/unauthorized
1.1 harris41 330: ErrorDocument 500 /adm/errorhandler
331: </LocationMatch>
332:
1.234 raeburn 333: <LocationMatch "^/+webdav/[\w\-.]+/\w[\w.\-\@]+/">
1.214 raeburn 334: <IfModule mod_dav.c>
335: <IfModule mod_ssl.c>
336: AuthType Basic
337: AuthName "LONCAPA username,domain"
338: Require valid-user
339: SSLRequireSSL
340: PerlAuthenHandler Apache::lonwebdavauth
341: PerlAuthzHandler Apache::lonwebdavacc
342: Dav On
343: DirectoryIndex index.missing
344: Options Indexes FollowSymLinks
345: ErrorDocument 403 /adm/nowebdav.html
346: ErrorDocument 404 /adm/notfound.html
347: ErrorDocument 406 /adm/unauthorized
348: ErrorDocument 500 /adm/errorhandler
349: </IfModule>
350: <IfModule !mod_ssl.c>
351: <IfModule mod_rewrite.c>
352: RewriteEngine on
353: RewriteRule .* http://%{HTTP_HOST}/adm/nowebdav.html [L]
354: </IfModule>
355: </IfModule>
1.211 raeburn 356: </IfModule>
1.214 raeburn 357: <IfModule !mod_dav.c>
1.211 raeburn 358: <IfModule mod_rewrite.c>
1.214 raeburn 359: RewriteEngine on
360: RewriteRule .* http://%{HTTP_HOST}/adm/nowebdav.html [L]
1.211 raeburn 361: </IfModule>
362: </IfModule>
1.210 raeburn 363: </LocationMatch>
364:
1.21 www 365: <LocationMatch "^/+raw.*">
1.1 harris41 366: PerlAccessHandler Apache::lonracc
367: </LocationMatch>
368:
1.41 bowersj2 369: <LocationMatch "^/adm/helper/.*\.helper$">
1.139 albertel 370: AuthType LONCAPA
1.125 albertel 371: Require valid-user
1.142 albertel 372: PerlAuthzHandler Apache::lonacc
1.41 bowersj2 373: SetHandler perl-script
1.126 albertel 374: PerlHandler Apache::lonhelper
1.41 bowersj2 375: ErrorDocument 403 /adm/login
376: ErrorDocument 404 /adm/notfound.html
377: ErrorDocument 406 /adm/unauthorized
378: ErrorDocument 500 /adm/errorhandler
379: </LocationMatch>
380:
1.23 albertel 381: <LocationMatch "/prtspool">
1.139 albertel 382: AuthType LONCAPA
1.125 albertel 383: Require valid-user
384: PerlAuthzHandler Apache::lonacc
1.23 albertel 385: ErrorDocument 403 /adm/login
386: ErrorDocument 404 /adm/notfound.html
387: ErrorDocument 406 /adm/roles
1.99 www 388: ErrorDocument 413 /adm/overloaded.txt
1.23 albertel 389: ErrorDocument 500 /adm/errorhandler
390: </LocationMatch>
1.167 banghart 391:
392: <LocationMatch "/zipspool">
393: AuthType LONCAPA
394: Require valid-user
395: PerlAuthzHandler Apache::lonacc
396: ErrorDocument 403 /adm/login
397: ErrorDocument 404 /adm/notfound.html
398: ErrorDocument 406 /adm/roles
399: ErrorDocument 413 /adm/overloaded.txt
400: ErrorDocument 500 /adm/errorhandler
401: </LocationMatch>
1.1 harris41 402: # ------------------------------------------------------------------------- RAT
403:
1.205 www 404: <LocationMatch "^/+priv/.*\.sequence$">
1.1 harris41 405: SetHandler perl-script
1.126 albertel 406: PerlHandler Apache::lonratedt
1.1 harris41 407: </LocationMatch>
408:
1.205 www 409: <LocationMatch "^/+priv/.*\.page$">
1.1 harris41 410: SetHandler perl-script
1.126 albertel 411: PerlHandler Apache::lonratedt
1.1 harris41 412: </LocationMatch>
413:
1.205 www 414: <LocationMatch "^/+priv/.*\/ratserver$">
1.1 harris41 415: SetHandler perl-script
1.126 albertel 416: PerlHandler Apache::lonratsrv
1.1 harris41 417: </LocationMatch>
418:
1.205 www 419: <LocationMatch "^/+priv/.*\/adveditmenu$">
1.100 raeburn 420: SetHandler perl-script
1.126 albertel 421: PerlHandler Apache::lonratmenu
1.100 raeburn 422: </LocationMatch>
423:
1.1 harris41 424: <Location /adm/ratparms>
1.139 albertel 425: AuthType LONCAPA
1.125 albertel 426: Require valid-user
427: PerlAuthzHandler Apache::lonacc
1.1 harris41 428: SetHandler perl-script
1.126 albertel 429: PerlHandler Apache::lonratparms
1.1 harris41 430: ErrorDocument 403 /adm/login
431: ErrorDocument 500 /adm/errorhandler
432: </Location>
433:
434: # --------------------------------------------- Resource Space Content Handlers
435:
1.64 albertel 436: <LocationMatch "^/+res.*/$">
1.1 harris41 437: SetHandler perl-script
1.126 albertel 438: PerlHandler Apache::lonindexer
1.29 www 439: PerlCleanupHandler Apache::lonindexer::cleanup
1.129 albertel 440: PerlCleanupHandler Apache::lonacc::cleanup
1.1 harris41 441: </LocationMatch>
442:
1.285 ! raeburn 443: <LocationMatch "^/+res/.*\.tex$">
1.1 harris41 444: SetHandler perl-script
1.126 albertel 445: PerlHandler Apache::lontex
1.1 harris41 446: </LocationMatch>
447:
1.71 www 448: <LocationMatch "^/+res/.*\.page$">
1.1 harris41 449: SetHandler perl-script
1.126 albertel 450: PerlHandler Apache::lonpage
1.1 harris41 451: </LocationMatch>
452:
1.71 www 453: <LocationMatch "^/+res/.*\.sequence$">
1.1 harris41 454: SetHandler perl-script
1.126 albertel 455: PerlHandler Apache::lonsequence
1.1 harris41 456: </LocationMatch>
457:
1.205 www 458: <LocationMatch "^/+(res|priv|public|uploaded|editupload|adm)/.*\.meta$">
1.132 albertel 459: PerlAccessHandler Apache::publiccheck
1.1 harris41 460: SetHandler perl-script
1.126 albertel 461: PerlHandler Apache::lonmeta
1.99 www 462: ErrorDocument 413 /adm/overloaded.txt
1.39 www 463: </LocationMatch>
464:
1.71 www 465: <LocationMatch "^/adm/bombs/">
1.139 albertel 466: AuthType LONCAPA
1.125 albertel 467: Require valid-user
1.228 raeburn 468: PerlAuthzHandler Apache::lonacc
1.71 www 469: SetHandler perl-script
1.126 albertel 470: PerlHandler Apache::lonmeta
1.71 www 471: </LocationMatch>
472:
473:
474:
1.205 www 475: <LocationMatch "^/+(res|priv)/.*\.rights$">
1.39 www 476: SetHandler perl-script
1.126 albertel 477: PerlHandler Apache::lonrights
1.1 harris41 478: </LocationMatch>
479:
1.205 www 480: <LocationMatch "^/+(uploaded|res|priv)/.*\.(xml|html|htm|xhtml|xhtm|sty)$">
1.1 harris41 481: SetHandler perl-script
1.126 albertel 482: PerlHandler Apache::londatecheck
1.178 raeburn 483: PerlHandler Apache::lonipcheck
1.126 albertel 484: PerlHandler Apache::lonxml
1.1 harris41 485: </LocationMatch>
486:
1.205 www 487: <LocationMatch "^/+(res|priv).*\.(task|problem|exam|quiz|assess|survey|form|library)$">
1.1 harris41 488: SetHandler perl-script
1.126 albertel 489: PerlHandler Apache::lonhomework
1.1 harris41 490: </LocationMatch>
491:
1.205 www 492: <LocationMatch "^/+priv/.*\.(js|css|txt|tex)$">
1.185 raeburn 493: SetHandler perl-script
494: PerlHandler Apache::lonxml
495: </LocationMatch>
496:
1.253 damieng 497: <LocationMatch "^/daxepage/priv/">
1.236 damieng 498: AuthType LONCAPA
499: Require valid-user
500: PerlAuthzHandler Apache::loncacc
1.240 damieng 501: ErrorDocument 403 /adm/login
502: ErrorDocument 404 /adm/notfound.html
503: ErrorDocument 406 /adm/unauthorized
504: ErrorDocument 500 /adm/errorhandler
505: </LocationMatch>
506:
1.253 damieng 507: <LocationMatch "^/daxeopen/">
508: AuthType LONCAPA
509: Require valid-user
510: PerlAuthzHandler Apache::lonacc
511: </LocationMatch>
512:
1.283 raeburn 513: <LocationMatch "^/daxeopen/priv/[^/]+/[^/]+/">
514: AuthType LONCAPA
515: Require valid-user
516: PerlAuthzHandler Apache::loncacc
517: </LocationMatch>
518:
519: <LocationMatch "^/daxeopen/(res/|$)">
520: ErrorDocument 403 /adm/login
521: ErrorDocument 404 /adm/notfound.html
522: ErrorDocument 406 /adm/roles
523: ErrorDocument 500 /adm/errorhandler
524: </LocationMatch>
525:
526: <LocationMatch "^/daxeopen/priv/">
527: ErrorDocument 403 /adm/login
528: ErrorDocument 404 /adm/notfound.html
529: ErrorDocument 406 /adm/unauthorized
530: ErrorDocument 500 /adm/errorhandler
531: </LocationMatch>
532:
1.240 damieng 533: <LocationMatch "^/daxe(page|open)/uploaded/">
534: AuthType LONCAPA
535: Require valid-user
536: PerlAuthzHandler Apache::lonacc
1.236 damieng 537: ErrorDocument 403 /adm/login
538: ErrorDocument 404 /adm/notfound.html
1.282 raeburn 539: ErrorDocument 406 /adm/roles
1.236 damieng 540: ErrorDocument 500 /adm/errorhandler
541: </LocationMatch>
542:
1.238 damieng 543: <LocationMatch "^/daxepage/priv/.*\.(task|problem|exam|quiz|assess|survey|library|xml|html|htm|xhtml|xhtm)$">
1.237 damieng 544: SetHandler perl-script
545: PerlHandler Apache::daxepage
546: </LocationMatch>
547:
1.282 raeburn 548: <LocationMatch "^/daxepage/uploaded/[^/]+/[^/]+/(docs|supplemental)/.*html?$">
1.239 damieng 549: SetHandler perl-script
550: PerlHandler Apache::daxepage
551: </LocationMatch>
552:
1.238 damieng 553: <LocationMatch "^/daxeopen/priv/.*\.(task|problem|exam|quiz|assess|survey|library|xml|html|htm|xhtml|xhtm)$">
1.236 damieng 554: SetHandler perl-script
555: PerlHandler Apache::daxeopen
556: </LocationMatch>
557:
1.252 damieng 558: <LocationMatch "^/daxeopen/$">
559: SetHandler perl-script
560: PerlHandler Apache::daxeopen
561: </LocationMatch>
562:
1.282 raeburn 563: <LocationMatch "^/daxeopen/(res|priv|uploaded)/(.+/)?$">
1.236 damieng 564: SetHandler perl-script
565: PerlHandler Apache::daxeopen
566: </LocationMatch>
567:
1.282 raeburn 568: <LocationMatch "^/daxeopen/uploaded/[^/]+/[^/]+/(docs|supplemental)/.*html?$">
1.239 damieng 569: SetHandler perl-script
570: PerlHandler Apache::daxeopen
571: </LocationMatch>
572:
1.246 raeburn 573: <LocationMatch "(?i)^/daxeopen/priv/.+\.(?!task$|problem$|exam$|quiz$|assess$|survey$|library$|xml$|html$|htm$|xhtml$|xhtm$)[^.]*$">
1.236 damieng 574: <IfModule mod_rewrite.c>
575: RewriteEngine on
1.245 raeburn 576: RewriteRule /daxeopen/(.*) /$1
1.236 damieng 577: </IfModule>
1.245 raeburn 578: </LocationMatch>
1.236 damieng 579:
1.282 raeburn 580: <LocationMatch "(?i)^/daxeopen/uploaded/.+\.(?!html$|htm$|xhtml$|xhtm$)[^.]*$">
581: <IfModule mod_rewrite.c>
582: RewriteEngine on
583: RewriteRule /daxeopen/(.*) /$1
584: </IfModule>
585: </LocationMatch>
586:
1.252 damieng 587: <LocationMatch "(?i)^/daxeopen/(res/.*\.(jpg|jpeg|gif|png|svg))$">
588: <IfModule mod_rewrite.c>
589: RewriteEngine on
590: RewriteRule /daxeopen/(.*) /$1
591: </IfModule>
592: </LocationMatch>
593:
1.236 damieng 594: <LocationMatch "^/daxesave$">
595: AuthType LONCAPA
596: Require valid-user
597: PerlAuthzHandler Apache::lonacc
598: SetHandler perl-script
599: PerlHandler Apache::daxesave
600: </LocationMatch>
601:
1.247 raeburn 602: <Location /adm/coursepub>
603: AuthType LONCAPA
604: Require valid-user
605: PerlAuthzHandler Apache::lonacc
606: SetHandler perl-script
607: PerlHandler Apache::loncoursepub
608: ErrorDocument 404 /adm/notfound.html
609: ErrorDocument 500 /adm/errorhandler
610: </Location>
611:
1.1 harris41 612: <LocationMatch "^/adm/wrapper/">
1.139 albertel 613: AuthType LONCAPA
1.125 albertel 614: Require valid-user
615: PerlAuthzHandler Apache::lonacc
1.172 www 616: PerlHandler Apache::londatecheck
1.178 raeburn 617: PerlHandler Apache::lonipcheck
1.1 harris41 618: SetHandler perl-script
1.126 albertel 619: PerlHandler Apache::lonwrapper
1.66 www 620: ErrorDocument 403 /adm/login
621: ErrorDocument 500 /adm/errorhandler
622: </LocationMatch>
623:
1.113 www 624: <LocationMatch "^/adm/source">
1.139 albertel 625: AuthType LONCAPA
1.125 albertel 626: Require valid-user
627: PerlAuthzHandler Apache::lonacc
1.83 taceyjo1 628: SetHandler perl-script
1.126 albertel 629: PerlHandler Apache::lonsource
1.83 taceyjo1 630: ErrorDocument 403 /adm/login
1.85 www 631: ErrorDocument 406 /adm/roles
1.83 taceyjo1 632: ErrorDocument 500 /adm/errorhandler
633: </LocationMatch>
634:
635:
1.66 www 636: <LocationMatch "^/adm/localize/">
1.139 albertel 637: AuthType LONCAPA
1.125 albertel 638: Require valid-user
639: PerlAuthzHandler Apache::lonacc
1.66 www 640: SetHandler perl-script
1.126 albertel 641: PerlHandler Apache::lonlocalize
1.1 harris41 642: ErrorDocument 403 /adm/login
643: ErrorDocument 500 /adm/errorhandler
644: </LocationMatch>
645:
646: # -------------------------------------------------------------- Admin Programs
1.24 albertel 647:
648: <Location /adm/randomlabel.png>
1.139 albertel 649: AuthType LONCAPA
1.125 albertel 650: Require valid-user
651: PerlAuthzHandler Apache::lonacc
1.24 albertel 652: SetHandler perl-script
1.126 albertel 653: PerlHandler Apache::randomlylabel
1.69 albertel 654: ErrorDocument 403 /adm/login
655: ErrorDocument 500 /adm/errorhandler
656: </Location>
657:
658: <Location /adm/imagechoice>
1.139 albertel 659: AuthType LONCAPA
1.125 albertel 660: Require valid-user
661: PerlAuthzHandler Apache::lonacc
1.69 albertel 662: SetHandler perl-script
1.126 albertel 663: PerlHandler Apache::imagechoice
1.24 albertel 664: ErrorDocument 403 /adm/login
665: ErrorDocument 500 /adm/errorhandler
666: </Location>
1.1 harris41 667:
1.200 www 668: <Location /adm/searchcourse>
669: AuthType LONCAPA
670: Require valid-user
671: PerlAuthzHandler Apache::lonacc
672: SetHandler perl-script
673: PerlHandler Apache::lonsearchcourse
674: ErrorDocument 403 /adm/login
675: ErrorDocument 500 /adm/errorhandler
676: </Location>
677:
1.201 www 678: <Location /adm/indexcourse>
679: AuthType LONCAPA
680: Require valid-user
681: PerlAuthzHandler Apache::lonacc
682: SetHandler perl-script
683: PerlHandler Apache::lonindexcourse
684: ErrorDocument 403 /adm/login
685: ErrorDocument 500 /adm/errorhandler
686: </Location>
1.200 www 687:
1.1 harris41 688: <Location /adm/statistics>
1.139 albertel 689: AuthType LONCAPA
1.125 albertel 690: Require valid-user
691: PerlAuthzHandler Apache::lonacc
1.1 harris41 692: SetHandler perl-script
1.126 albertel 693: PerlHandler Apache::lonstatistics
1.1 harris41 694: ErrorDocument 403 /adm/login
1.20 www 695: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 696: ErrorDocument 500 /adm/errorhandler
697: </Location>
698:
1.92 matthew 699: <Location /adm/trackstudent>
1.139 albertel 700: AuthType LONCAPA
1.125 albertel 701: Require valid-user
702: PerlAuthzHandler Apache::lonacc
1.92 matthew 703: SetHandler perl-script
1.126 albertel 704: PerlHandler Apache::lontrackstudent
1.92 matthew 705: ErrorDocument 403 /adm/login
706: ErrorDocument 413 /adm/overloaded.txt
707: ErrorDocument 500 /adm/errorhandler
708: </Location>
709:
1.1 harris41 710: <Location /adm/roles>
1.139 albertel 711: AuthType LONCAPA
1.125 albertel 712: Require valid-user
713: PerlAuthzHandler Apache::lonacc
1.1 harris41 714: SetHandler perl-script
1.126 albertel 715: PerlHandler Apache::lonroles
1.33 www 716: ErrorDocument 403 /adm/login
1.174 www 717: ErrorDocument 409 /adm/preferences?action=lockwarning
1.33 www 718: ErrorDocument 500 /adm/errorhandler
719: </Location>
720:
721: <Location /adm/menu>
1.139 albertel 722: AuthType LONCAPA
1.125 albertel 723: Require valid-user
724: PerlAuthzHandler Apache::lonacc
1.33 www 725: SetHandler perl-script
1.128 albertel 726: PerlHandler Apache::lonmainmenu
1.42 www 727: ErrorDocument 403 /adm/login
728: ErrorDocument 500 /adm/errorhandler
729: </Location>
730:
1.203 www 731: <Location /adm/pickresource>
732: AuthType LONCAPA
733: Require valid-user
734: PerlAuthzHandler Apache::lonacc
735: SetHandler perl-script
736: PerlHandler Apache::lonpickresource
737: ErrorDocument 403 /adm/login
738: ErrorDocument 500 /adm/errorhandler
739: </Location>
740:
1.176 raeburn 741: <Location /adm/pickauthor>
742: AuthType LONCAPA
743: Require valid-user
744: PerlAuthzHandler Apache::lonacc
745: SetHandler perl-script
746: PerlHandler Apache::lonpickauthor
747: ErrorDocument 403 /adm/login
748: ErrorDocument 500 /adm/errorhandler
749: </Location>
750:
1.27 www 751: <Location /adm/pickstudent>
1.139 albertel 752: AuthType LONCAPA
1.125 albertel 753: Require valid-user
754: PerlAuthzHandler Apache::lonacc
1.27 www 755: SetHandler perl-script
1.126 albertel 756: PerlHandler Apache::lonpickstudent
1.40 www 757: ErrorDocument 403 /adm/login
758: ErrorDocument 500 /adm/errorhandler
759: </Location>
760:
1.187 raeburn 761: <Location /adm/pickuser>
762: AuthType LONCAPA
763: Require valid-user
764: PerlAuthzHandler Apache::lonacc
765: SetHandler perl-script
766: PerlHandler Apache::lonpickuser
767: ErrorDocument 403 /adm/login
768: ErrorDocument 406 /adm/roles
769: ErrorDocument 500 /adm/errorhandler
770: </Location>
771:
1.40 www 772: <Location /adm/pickcourse>
1.139 albertel 773: AuthType LONCAPA
1.125 albertel 774: Require valid-user
775: PerlAuthzHandler Apache::lonacc
1.40 www 776: SetHandler perl-script
1.126 albertel 777: PerlHandler Apache::lonpickcourse
1.77 albertel 778: ErrorDocument 403 /adm/login
779: ErrorDocument 500 /adm/errorhandler
780: </Location>
781:
782: <Location /adm/pickcode>
1.139 albertel 783: AuthType LONCAPA
1.125 albertel 784: Require valid-user
785: PerlAuthzHandler Apache::lonacc
1.77 albertel 786: SetHandler perl-script
1.126 albertel 787: PerlHandler Apache::lonpickcode
1.1 harris41 788: ErrorDocument 403 /adm/login
789: ErrorDocument 500 /adm/errorhandler
790: </Location>
791:
1.215 raeburn 792: <Location /adm/dependencies>
793: AuthType LONCAPA
794: Require valid-user
795: PerlAuthzHandler Apache::lonacc
796: SetHandler perl-script
797: PerlHandler Apache::londependencies
798: ErrorDocument 403 /adm/login
799: ErrorDocument 406 /adm/roles
800: ErrorDocument 500 /adm/errorhandler
801: </Location>
802:
1.279 raeburn 803: <Location /adm/courseauthor>
804: AuthType LONCAPA
805: Require valid-user
806: PerlAuthzHandler Apache::lonacc
807: SetHandler perl-script
808: PerlHandler Apache::loncourseauthor
809: ErrorDocument 403 /adm/login
810: ErrorDocument 406 /adm/roles
811: ErrorDocument 500 /adm/errorhandler
812: </Location>
813:
1.280 raeburn 814: <Location /adm/courseuser>
815: AuthType LONCAPA
816: Require valid-user
817: PerlAuthzHandler Apache::lonacc
818: SetHandler perl-script
819: PerlHandler Apache::loncourseuser
820: ErrorDocument 403 /adm/login
821: ErrorDocument 406 /adm/roles
822: ErrorDocument 500 /adm/errorhandler
823: </Location>
824:
1.1 harris41 825: <Location /adm/login>
826: SetHandler perl-script
1.126 albertel 827: PerlHandler Apache::lonlogin
1.1 harris41 828: </Location>
829:
1.275 raeburn 830: <LocationMatch "^/+adm/launch/tiny/[\w.-]+/\w+">
831: SetHandler perl-script
832: PerlHandler Apache::ltiauth
833: </LocationMatch>
834:
1.277 raeburn 835: <Location /adm/relaunch>
836: SetHandler perl-script
837: PerlHandler Apache::lonrelaunch
838: </Location>
839:
1.258 raeburn 840: <LocationMatch "^/+adm/lti($|/)">
841: SetHandler perl-script
1.259 raeburn 842: PerlHandler Apache::ltiauth
1.258 raeburn 843: </LocationMatch>
844:
1.261 raeburn 845: <Location /adm/service/passback>
846: SetHandler perl-script
847: PerlHandler Apache::ltipassback
848: </Location>
849:
1.260 raeburn 850: <Location /adm/service/roster>
851: SetHandler perl-script
852: PerlHandler Apache::ltiroster
853: </Location>
854:
1.269 raeburn 855: <LocationMatch "^/adm/service/logout/\w+$">
856: SetHandler perl-script
857: PerlHandler Apache::ltilogout
858: </LocationMatch>
859:
1.148 raeburn 860: <Location /adm/restrictedaccess>
861: PerlAccessHandler Apache::publiccheck
862: AuthType LONCAPA
1.152 albertel 863: Require valid-user
1.228 raeburn 864: PerlAuthzHandler Apache::lonacc
1.148 raeburn 865: SetHandler perl-script
866: PerlHandler Apache::restrictedaccess
1.154 albertel 867: ErrorDocument 500 /adm/errorhandler
1.148 raeburn 868: </Location>
869:
1.162 raeburn 870: <Location /adm/blockedaccess>
871: PerlAccessHandler Apache::publiccheck
872: AuthType LONCAPA
873: Require valid-user
1.228 raeburn 874: PerlAuthzHandler Apache::lonacc
1.162 raeburn 875: SetHandler perl-script
876: PerlHandler Apache::blockedaccess
877: ErrorDocument 500 /adm/errorhandler
878: </Location>
879:
1.267 raeburn 880: <Location /adm/protected>
881: PerlAccessHandler Apache::publiccheck
882: AuthType LONCAPA
883: Require valid-user
884: PerlAuthzHandler Apache::lonacc
885: SetHandler perl-script
886: PerlHandler Apache::lonprotected
887: ErrorDocument 403 /adm/login
888: ErrorDocument 500 /adm/errorhandler
889: </Location>
890:
1.1 harris41 891: <Location /adm/logout>
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::lonlogout
1.1 harris41 897: ErrorDocument 403 /adm/login
1.175 www 898: ErrorDocument 409 /adm/preferences?action=lockwarning
1.154 albertel 899: ErrorDocument 500 /adm/errorhandler
1.1 harris41 900: </Location>
901:
1.117 albertel 902: <Location /adm/switchserver>
1.139 albertel 903: AuthType LONCAPA
1.125 albertel 904: Require valid-user
905: PerlAuthzHandler Apache::lonacc
1.117 albertel 906: SetHandler perl-script
1.126 albertel 907: PerlHandler Apache::switchserver
1.117 albertel 908: ErrorDocument 403 /adm/login
1.154 albertel 909: ErrorDocument 500 /adm/errorhandler
1.117 albertel 910: </Location>
911:
1.1 harris41 912: <Location /adm/authenticate>
913: SetHandler perl-script
1.126 albertel 914: PerlHandler Apache::lonauth
1.1 harris41 915: </Location>
916:
1.117 albertel 917: <Location /adm/migrateuser>
918: SetHandler perl-script
1.126 albertel 919: PerlHandler Apache::migrateuser
1.117 albertel 920: </Location>
921:
1.212 raeburn 922: <Location /adm/sso>
1.276 raeburn 923: Header set Cache-Control "private,no-store,no-cache,max-age=0"
1.212 raeburn 924: <IfModule mod_shib>
925: AuthType shibboleth
926: ShibUseEnvironment On
927: ShibRequestSetting requireSession 1
928: ShibRequestSetting redirectToSSL 443
929: require valid-user
930: PerlAuthzHandler Apache::lonshibacc
931: PerlAuthzHandler Apache::lonacc
1.276 raeburn 932: ErrorDocument 403 /adm/login
933: ErrorDocument 500 /adm/errorhandler
1.212 raeburn 934: </IfModule>
1.213 raeburn 935: <IfModule !mod_shib>
936: PerlTypeHandler Apache::lonnoshib
937: </IfModule>
1.212 raeburn 938: </Location>
939:
1.278 raeburn 940: <Location /adm/linkexit>
941: AuthType LONCAPA
942: Require valid-user
943: PerlAuthzHandler Apache::lonacc
944: SetHandler perl-script
945: PerlHandler Apache::lonlinkexit
946: ErrorDocument 403 /adm/login
947: ErrorDocument 409 /adm/preferences?action=lockwarning
948: ErrorDocument 500 /adm/errorhandler
949: </Location>
950:
1.1 harris41 951: <Location /adm/annotations>
1.139 albertel 952: AuthType LONCAPA
1.125 albertel 953: Require valid-user
954: PerlAuthzHandler Apache::lonacc
1.1 harris41 955: SetHandler perl-script
1.126 albertel 956: PerlHandler Apache::admannotations
1.1 harris41 957: ErrorDocument 403 /adm/login
958: ErrorDocument 500 /adm/errorhandler
959: </Location>
960:
1.265 raeburn 961: <Location /adm/annotation>
962: AuthType LONCAPA
963: Require valid-user
964: PerlAuthzHandler Apache::lonacc
965: SetHandler perl-script
966: PerlHandler Apache::admannotations
967: ErrorDocument 403 /adm/login
968: ErrorDocument 500 /adm/errorhandler
969: </Location>
970:
1.91 www 971: <Location /adm/spellcheck>
1.139 albertel 972: AuthType LONCAPA
1.125 albertel 973: Require valid-user
974: PerlAuthzHandler Apache::lonacc
1.91 www 975: SetHandler perl-script
1.126 albertel 976: PerlHandler Apache::lonspeller
1.91 www 977: ErrorDocument 403 /adm/login
978: ErrorDocument 500 /adm/errorhandler
979: </Location>
980:
1.1 harris41 981: <Location /adm/flip>
1.139 albertel 982: AuthType LONCAPA
1.125 albertel 983: Require valid-user
984: PerlAuthzHandler Apache::lonacc
1.1 harris41 985: SetHandler perl-script
1.126 albertel 986: PerlHandler Apache::lonpageflip
1.30 www 987: PerlCleanupHandler Apache::lonpageflip::cleanup
1.129 albertel 988: PerlCleanupHandler Apache::lonacc::cleanup
1.1 harris41 989: ErrorDocument 406 /adm/roles
990: ErrorDocument 403 /adm/login
991: ErrorDocument 500 /adm/errorhandler
992: </Location>
993:
994: <Location /adm/ambiguous>
1.139 albertel 995: AuthType LONCAPA
1.125 albertel 996: Require valid-user
997: PerlAuthzHandler Apache::lonacc
1.1 harris41 998: SetHandler perl-script
1.126 albertel 999: PerlHandler Apache::lonambiguous
1.30 www 1000: PerlCleanupHandler Apache::lonambiguous::cleanup
1.129 albertel 1001: PerlCleanupHandler Apache::lonacc::cleanup
1.1 harris41 1002: ErrorDocument 403 /adm/login
1003: ErrorDocument 500 /adm/errorhandler
1004: </Location>
1005:
1006: <Location /adm/email>
1.139 albertel 1007: AuthType LONCAPA
1.125 albertel 1008: Require valid-user
1009: PerlAuthzHandler Apache::lonacc
1.1 harris41 1010: SetHandler perl-script
1.130 albertel 1011: PerlHandler Apache::lonmsgdisplay
1.1 harris41 1012: ErrorDocument 403 /adm/login
1013: ErrorDocument 500 /adm/errorhandler
1014: </Location>
1015:
1.116 raeburn 1016: <Location /adm/notify>
1.139 albertel 1017: AuthType LONCAPA
1.125 albertel 1018: Require valid-user
1019: PerlAuthzHandler Apache::lonacc
1.116 raeburn 1020: SetHandler perl-script
1.126 albertel 1021: PerlHandler Apache::lonnotify
1.116 raeburn 1022: ErrorDocument 403 /adm/login
1023: ErrorDocument 500 /adm/errorhandler
1024: </Location>
1025:
1.1 harris41 1026: <Location /adm/parmset>
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::lonparmset
1.31 bowersj2 1032: ErrorDocument 403 /adm/login
1033: ErrorDocument 406 /adm/roles
1034: ErrorDocument 500 /adm/errorhandler
1035: </Location>
1036:
1.185 raeburn 1037: <Location /adm/courseprefs>
1038: AuthType LONCAPA
1039: Require valid-user
1040: PerlAuthzHandler Apache::lonacc
1041: SetHandler perl-script
1042: PerlHandler Apache::courseprefs
1043: ErrorDocument 403 /adm/login
1044: ErrorDocument 406 /adm/roles
1045: ErrorDocument 500 /adm/errorhandler
1046: </Location>
1047:
1.110 albertel 1048: <Location /adm/slotrequest>
1.139 albertel 1049: AuthType LONCAPA
1.125 albertel 1050: Require valid-user
1051: PerlAuthzHandler Apache::lonacc
1.110 albertel 1052: SetHandler perl-script
1.126 albertel 1053: PerlHandler Apache::slotrequest
1.110 albertel 1054: ErrorDocument 403 /adm/login
1055: ErrorDocument 406 /adm/roles
1056: ErrorDocument 500 /adm/errorhandler
1057: </Location>
1058:
1.31 bowersj2 1059: <Location /adm/wizard>
1.139 albertel 1060: AuthType LONCAPA
1.125 albertel 1061: Require valid-user
1062: PerlAuthzHandler Apache::lonacc
1.31 bowersj2 1063: SetHandler perl-script
1.126 albertel 1064: PerlHandler Apache::lonwizard
1.1 harris41 1065: ErrorDocument 403 /adm/login
1066: ErrorDocument 406 /adm/roles
1067: ErrorDocument 500 /adm/errorhandler
1068: </Location>
1069:
1070: <Location /adm/grades>
1.139 albertel 1071: AuthType LONCAPA
1.125 albertel 1072: Require valid-user
1073: PerlAuthzHandler Apache::lonacc
1.1 harris41 1074: SetHandler perl-script
1.126 albertel 1075: PerlHandler Apache::grades
1.1 harris41 1076: ErrorDocument 403 /adm/login
1077: ErrorDocument 406 /adm/roles
1078: ErrorDocument 500 /adm/errorhandler
1079: </Location>
1080:
1.187 raeburn 1081: <Location /adm/requestcourse>
1082: AuthType LONCAPA
1083: Require valid-user
1084: PerlAuthzHandler Apache::lonacc
1085: SetHandler perl-script
1086: PerlHandler Apache::lonrequestcourse
1087: ErrorDocument 403 /adm/login
1088: ErrorDocument 406 /adm/roles
1089: ErrorDocument 500 /adm/errorhandler
1090: </Location>
1091:
1.1 harris41 1092: <Location /adm/createcourse>
1.139 albertel 1093: AuthType LONCAPA
1.125 albertel 1094: Require valid-user
1095: PerlAuthzHandler Apache::lonacc
1.1 harris41 1096: SetHandler perl-script
1.126 albertel 1097: PerlHandler Apache::loncreatecourse
1.1 harris41 1098: ErrorDocument 403 /adm/login
1099: ErrorDocument 406 /adm/roles
1100: ErrorDocument 500 /adm/errorhandler
1.67 raeburn 1101: </Location>
1102:
1103: <Location /adm/modifycourse>
1.139 albertel 1104: AuthType LONCAPA
1.125 albertel 1105: Require valid-user
1106: PerlAuthzHandler Apache::lonacc
1.67 raeburn 1107: SetHandler perl-script
1.126 albertel 1108: PerlHandler Apache::lonmodifycourse
1.67 raeburn 1109: ErrorDocument 403 /adm/login
1110: ErrorDocument 406 /adm/roles
1111: ErrorDocument 500 /adm/errorhandler
1.1 harris41 1112: </Location>
1113:
1.163 raeburn 1114: <Location /adm/domainprefs>
1115: AuthType LONCAPA
1116: Require valid-user
1117: PerlAuthzHandler Apache::lonacc
1118: SetHandler perl-script
1119: PerlHandler Apache::domainprefs
1120: ErrorDocument 403 /adm/login
1121: ErrorDocument 406 /adm/roles
1122: ErrorDocument 500 /adm/errorhandler
1123: </Location>
1124:
1.182 raeburn 1125: <Location /adm/domainstatus>
1126: PerlAccessHandler Apache::lonstatusacc
1127: SetHandler perl-script
1128: PerlHandler Apache::domainstatus
1129: ErrorDocument 403 /adm/login
1130: ErrorDocument 406 /adm/roles
1131: ErrorDocument 500 /adm/errorhandler
1132: </Location>
1133:
1.1 harris41 1134: <Location /adm/createuser>
1.139 albertel 1135: AuthType LONCAPA
1.125 albertel 1136: Require valid-user
1137: PerlAuthzHandler Apache::lonacc
1.1 harris41 1138: SetHandler perl-script
1.126 albertel 1139: PerlHandler Apache::loncreateuser
1.1 harris41 1140: ErrorDocument 403 /adm/login
1141: ErrorDocument 406 /adm/roles
1142: ErrorDocument 500 /adm/errorhandler
1143: </Location>
1144:
1145: <Location /adm/publish>
1.139 albertel 1146: AuthType LONCAPA
1.125 albertel 1147: Require valid-user
1148: PerlAuthzHandler Apache::lonacc
1.1 harris41 1149: SetHandler perl-script
1.126 albertel 1150: PerlHandler Apache::lonpublisher
1.1 harris41 1151: ErrorDocument 403 /adm/login
1152: ErrorDocument 404 /adm/notfound.html
1.18 www 1153: ErrorDocument 406 /adm/unauthorized
1.1 harris41 1154: ErrorDocument 500 /adm/errorhandler
1155: </Location>
1156:
1.205 www 1157: <LocationMatch "^/+priv/.*/$">
1.139 albertel 1158: AuthType LONCAPA
1.131 albertel 1159: Require valid-user
1.125 albertel 1160: PerlAuthzHandler Apache::loncacc
1.1 harris41 1161: SetHandler perl-script
1.126 albertel 1162: PerlHandler Apache::lonpubdir
1.1 harris41 1163: ErrorDocument 403 /adm/login
1164: ErrorDocument 404 /adm/notfound.html
1.18 www 1165: ErrorDocument 406 /adm/unauthorized
1.1 harris41 1166: ErrorDocument 500 /adm/errorhandler
1167: </LocationMatch>
1168:
1.18 www 1169: <Location /adm/unauthorized>
1.139 albertel 1170: AuthType LONCAPA
1.125 albertel 1171: Require valid-user
1172: PerlAuthzHandler Apache::lonacc
1.18 www 1173: SetHandler perl-script
1.126 albertel 1174: PerlHandler Apache::lonunauthorized
1.18 www 1175: ErrorDocument 403 /adm/login
1176: ErrorDocument 404 /adm/notfound.html
1.1 harris41 1177: ErrorDocument 500 /adm/errorhandler
1178: </Location>
1179:
1180: <Location /adm/retrieve>
1.139 albertel 1181: AuthType LONCAPA
1.125 albertel 1182: Require valid-user
1183: PerlAuthzHandler Apache::lonacc
1.1 harris41 1184: SetHandler perl-script
1.126 albertel 1185: PerlHandler Apache::lonretrieve
1.1 harris41 1186: ErrorDocument 403 /adm/login
1187: ErrorDocument 404 /adm/notfound.html
1.18 www 1188: ErrorDocument 406 /adm/unauthorized
1.1 harris41 1189: ErrorDocument 500 /adm/errorhandler
1190: </Location>
1191:
1.109 www 1192: <Location /adm/cleanup>
1.139 albertel 1193: AuthType LONCAPA
1.125 albertel 1194: Require valid-user
1195: PerlAuthzHandler Apache::lonacc
1.109 www 1196: SetHandler perl-script
1.126 albertel 1197: PerlHandler Apache::loncleanup
1.109 www 1198: ErrorDocument 403 /adm/login
1199: ErrorDocument 404 /adm/notfound.html
1200: ErrorDocument 406 /adm/unauthorized
1201: ErrorDocument 500 /adm/errorhandler
1202: </Location>
1203:
1.1 harris41 1204: <Location /adm/cfile>
1.139 albertel 1205: AuthType LONCAPA
1.125 albertel 1206: Require valid-user
1207: PerlAuthzHandler Apache::lonacc
1.1 harris41 1208: SetHandler perl-script
1.126 albertel 1209: PerlHandler Apache::loncfile
1.1 harris41 1210: ErrorDocument 403 /adm/login
1211: ErrorDocument 404 /adm/notfound.html
1.18 www 1212: ErrorDocument 406 /adm/unauthorized
1.1 harris41 1213: ErrorDocument 500 /adm/errorhandler
1214: </Location>
1215:
1216: <Location /adm/diff>
1.139 albertel 1217: AuthType LONCAPA
1.125 albertel 1218: Require valid-user
1219: PerlAuthzHandler Apache::lonacc
1.1 harris41 1220: SetHandler perl-script
1.126 albertel 1221: PerlHandler Apache::londiff
1.1 harris41 1222: ErrorDocument 403 /adm/login
1223: ErrorDocument 404 /adm/notfound.html
1.18 www 1224: ErrorDocument 406 /adm/unauthorized
1.1 harris41 1225: ErrorDocument 500 /adm/errorhandler
1226: </Location>
1227:
1228: <Location /adm/upload>
1.139 albertel 1229: AuthType LONCAPA
1.125 albertel 1230: Require valid-user
1231: PerlAuthzHandler Apache::lonacc
1.1 harris41 1232: SetHandler perl-script
1.126 albertel 1233: PerlHandler Apache::lonupload
1.1 harris41 1234: ErrorDocument 403 /adm/login
1235: ErrorDocument 404 /adm/notfound.html
1.18 www 1236: ErrorDocument 406 /adm/unauthorized
1.1 harris41 1237: ErrorDocument 500 /adm/errorhandler
1.72 raeburn 1238: </Location>
1239:
1.73 raeburn 1240: <Location /adm/imsimport>
1.139 albertel 1241: AuthType LONCAPA
1.125 albertel 1242: Require valid-user
1243: PerlAuthzHandler Apache::lonacc
1.73 raeburn 1244: SetHandler perl-script
1.126 albertel 1245: PerlHandler Apache::imsimport
1.73 raeburn 1246: ErrorDocument 403 /adm/login
1247: ErrorDocument 404 /adm/notfound.html
1248: ErrorDocument 406 /adm/unauthorized
1249: ErrorDocument 500 /adm/errorhandler
1250: </Location>
1251:
1.72 raeburn 1252: <Location /adm/testbank>
1.139 albertel 1253: AuthType LONCAPA
1.125 albertel 1254: Require valid-user
1255: PerlAuthzHandler Apache::lonacc
1.72 raeburn 1256: SetHandler perl-script
1.126 albertel 1257: PerlHandler Apache::testbankimport
1.72 raeburn 1258: ErrorDocument 403 /adm/login
1259: ErrorDocument 404 /adm/notfound.html
1260: ErrorDocument 406 /adm/unauthorized
1261: ErrorDocument 500 /adm/errorhandler
1.1 harris41 1262: </Location>
1263:
1264: <Location /adm/assesscalc>
1.139 albertel 1265: AuthType LONCAPA
1.125 albertel 1266: Require valid-user
1267: PerlAuthzHandler Apache::lonacc
1.1 harris41 1268: SetHandler perl-script
1.126 albertel 1269: PerlHandler Apache::lonspreadsheet
1.1 harris41 1270: ErrorDocument 403 /adm/login
1271: ErrorDocument 406 /adm/roles
1.20 www 1272: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 1273: ErrorDocument 500 /adm/errorhandler
1274: </Location>
1275:
1276: <Location /adm/studentcalc>
1.139 albertel 1277: AuthType LONCAPA
1.125 albertel 1278: Require valid-user
1279: PerlAuthzHandler Apache::lonacc
1.1 harris41 1280: SetHandler perl-script
1.126 albertel 1281: PerlHandler Apache::lonspreadsheet
1.1 harris41 1282: ErrorDocument 403 /adm/login
1283: ErrorDocument 406 /adm/roles
1.20 www 1284: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 1285: ErrorDocument 500 /adm/errorhandler
1286: </Location>
1287:
1288: <Location /adm/classcalc>
1.139 albertel 1289: AuthType LONCAPA
1.125 albertel 1290: Require valid-user
1291: PerlAuthzHandler Apache::lonacc
1.1 harris41 1292: SetHandler perl-script
1.126 albertel 1293: PerlHandler Apache::lonspreadsheet
1.1 harris41 1294: ErrorDocument 403 /adm/login
1295: ErrorDocument 406 /adm/roles
1.20 www 1296: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 1297: ErrorDocument 500 /adm/errorhandler
1298: </Location>
1299:
1300: <Location /adm/dropadd>
1.139 albertel 1301: AuthType LONCAPA
1.125 albertel 1302: Require valid-user
1303: PerlAuthzHandler Apache::lonacc
1.1 harris41 1304: SetHandler perl-script
1.126 albertel 1305: PerlHandler Apache::londropadd
1.44 www 1306: ErrorDocument 403 /adm/login
1307: ErrorDocument 406 /adm/roles
1308: ErrorDocument 500 /adm/errorhandler
1.65 raeburn 1309: </Location>
1310:
1.92 matthew 1311: <Location /adm/viewclasslist>
1.139 albertel 1312: AuthType LONCAPA
1.125 albertel 1313: Require valid-user
1314: PerlAuthzHandler Apache::lonacc
1.92 matthew 1315: SetHandler perl-script
1.126 albertel 1316: PerlHandler Apache::lonviewclasslist
1.92 matthew 1317: ErrorDocument 403 /adm/login
1318: ErrorDocument 406 /adm/roles
1319: ErrorDocument 500 /adm/errorhandler
1320: </Location>
1321:
1.118 raeburn 1322: <Location /adm/coursegroups>
1.139 albertel 1323: AuthType LONCAPA
1.125 albertel 1324: Require valid-user
1325: PerlAuthzHandler Apache::lonacc
1.118 raeburn 1326: SetHandler perl-script
1.126 albertel 1327: PerlHandler Apache::loncoursegroups
1.118 raeburn 1328: ErrorDocument 403 /adm/login
1329: ErrorDocument 406 /adm/roles
1330: ErrorDocument 500 /adm/errorhandler
1331: </Location>
1332:
1.143 raeburn 1333: <Location /adm/groupboards>
1334: AuthType LONCAPA
1335: Require valid-user
1336: PerlAuthzHandler Apache::lonacc
1337: SetHandler perl-script
1338: PerlHandler Apache::groupboards
1339: ErrorDocument 403 /adm/login
1340: ErrorDocument 406 /adm/roles
1341: ErrorDocument 500 /adm/errorhandler
1342: </Location>
1343:
1.144 raeburn 1344: <Location /adm/grouproster>
1345: AuthType LONCAPA
1346: Require valid-user
1347: PerlAuthzHandler Apache::lonacc
1348: SetHandler perl-script
1349: PerlHandler Apache::grouproster
1350: ErrorDocument 403 /adm/login
1351: ErrorDocument 406 /adm/roles
1352: ErrorDocument 500 /adm/errorhandler
1353: </Location>
1354:
1.112 raeburn 1355: <Location /adm/whatsnew>
1.139 albertel 1356: AuthType LONCAPA
1.125 albertel 1357: Require valid-user
1358: PerlAuthzHandler Apache::lonacc
1.112 raeburn 1359: SetHandler perl-script
1.126 albertel 1360: PerlHandler Apache::lonwhatsnew
1.112 raeburn 1361: ErrorDocument 403 /adm/login
1362: ErrorDocument 406 /adm/roles
1363: ErrorDocument 500 /adm/errorhandler
1364: </Location>
1365:
1.65 raeburn 1366: <Location /adm/populate>
1.139 albertel 1367: AuthType LONCAPA
1.125 albertel 1368: Require valid-user
1369: PerlAuthzHandler Apache::lonacc
1.65 raeburn 1370: SetHandler perl-script
1.126 albertel 1371: PerlHandler Apache::lonpopulate
1.65 raeburn 1372: ErrorDocument 403 /adm/login
1373: ErrorDocument 406 /adm/roles
1374: ErrorDocument 500 /adm/errorhandler
1.44 www 1375: </Location>
1376:
1377: <Location /adm/managekeys>
1.139 albertel 1378: AuthType LONCAPA
1.125 albertel 1379: Require valid-user
1380: PerlAuthzHandler Apache::lonacc
1.44 www 1381: SetHandler perl-script
1.126 albertel 1382: PerlHandler Apache::lonmanagekeys
1.1 harris41 1383: ErrorDocument 403 /adm/login
1384: ErrorDocument 406 /adm/roles
1385: ErrorDocument 500 /adm/errorhandler
1386: </Location>
1387:
1388: <Location /adm/printout>
1.139 albertel 1389: AuthType LONCAPA
1.125 albertel 1390: Require valid-user
1391: PerlAuthzHandler Apache::lonacc
1.1 harris41 1392: SetHandler perl-script
1.126 albertel 1393: PerlHandler Apache::lonprintout
1.1 harris41 1394: ErrorDocument 403 /adm/login
1.20 www 1395: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 1396: ErrorDocument 500 /adm/errorhandler
1397: </Location>
1398:
1399: <Location /adm/feedback>
1.139 albertel 1400: AuthType LONCAPA
1.125 albertel 1401: Require valid-user
1402: PerlAuthzHandler Apache::lonacc
1.1 harris41 1403: SetHandler perl-script
1.126 albertel 1404: PerlHandler Apache::lonfeedback
1.10 www 1405: ErrorDocument 403 /adm/login
1406: ErrorDocument 500 /adm/errorhandler
1407: </Location>
1408:
1409: <Location /adm/coursedocs>
1.139 albertel 1410: AuthType LONCAPA
1.125 albertel 1411: Require valid-user
1412: PerlAuthzHandler Apache::lonacc
1.10 www 1413: SetHandler perl-script
1.126 albertel 1414: PerlHandler Apache::londocs
1.108 albertel 1415: PerlCleanupHandler Apache::londocs::untiehash
1.129 albertel 1416: PerlCleanupHandler Apache::lonacc::cleanup
1.10 www 1417: ErrorDocument 403 /adm/login
1418: ErrorDocument 500 /adm/errorhandler
1.73 raeburn 1419: </Location>
1420:
1.207 raeburn 1421: <Location /adm/supplemental>
1422: AuthType LONCAPA
1423: Require valid-user
1424: PerlAuthzHandler Apache::lonacc
1425: SetHandler perl-script
1426: PerlHandler Apache::londocs
1427: PerlCleanupHandler Apache::londocs::untiehash
1428: PerlCleanupHandler Apache::lonacc::cleanup
1429: ErrorDocument 403 /adm/login
1430: ErrorDocument 500 /adm/errorhandler
1431: </Location>
1432:
1.73 raeburn 1433: <Location /adm/imsimportdocs>
1.139 albertel 1434: AuthType LONCAPA
1.125 albertel 1435: Require valid-user
1436: PerlAuthzHandler Apache::lonacc
1.73 raeburn 1437: SetHandler perl-script
1.126 albertel 1438: PerlHandler Apache::imsimportdocs
1.73 raeburn 1439: ErrorDocument 403 /adm/login
1440: ErrorDocument 500 /adm/errorhandler
1.10 www 1441: </Location>
1442:
1.224 raeburn 1443: <Location /adm/extresedit>
1444: AuthType LONCAPA
1445: Require valid-user
1446: PerlAuthzHandler Apache::lonacc
1447: SetHandler perl-script
1448: PerlHandler Apache::lonextresedit
1449: ErrorDocument 403 /adm/login
1450: ErrorDocument 500 /adm/errorhandler
1451: </Location>
1452:
1.135 www 1453: <LocationMatch "^/adm/announcements">
1.139 albertel 1454: AuthType LONCAPA
1.125 albertel 1455: Require valid-user
1456: PerlAuthzHandler Apache::lonacc
1.10 www 1457: SetHandler perl-script
1.126 albertel 1458: PerlHandler Apache::lonannounce
1.10 www 1459: ErrorDocument 403 /adm/login
1460: ErrorDocument 500 /adm/errorhandler
1.135 www 1461: </LocationMatch>
1.10 www 1462:
1463: <Location /adm/chat>
1.139 albertel 1464: AuthType LONCAPA
1.125 albertel 1465: Require valid-user
1466: PerlAuthzHandler Apache::lonacc
1.10 www 1467: SetHandler perl-script
1.126 albertel 1468: PerlHandler Apache::lonchat
1.13 www 1469: ErrorDocument 500 /adm/errorhandler
1470: </Location>
1471:
1472: <Location /adm/chatfetch>
1.139 albertel 1473: AuthType LONCAPA
1.125 albertel 1474: Require valid-user
1475: PerlAuthzHandler Apache::lonacc
1.13 www 1476: SetHandler perl-script
1.126 albertel 1477: PerlHandler Apache::lonchatfetch
1.20 www 1478: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 1479: ErrorDocument 500 /adm/errorhandler
1480: </Location>
1481:
1.137 albertel 1482: <Location /adm/groupchat>
1.139 albertel 1483: AuthType LONCAPA
1.137 albertel 1484: Require valid-user
1485: PerlAuthzHandler Apache::lonacc
1486: SetHandler perl-script
1487: PerlHandler Apache::longroupchat
1488: ErrorDocument 403 /adm/login
1489: ErrorDocument 500 /adm/errorhandler
1490: </Location>
1491:
1.1 harris41 1492: <Location /adm/evaluate>
1.139 albertel 1493: AuthType LONCAPA
1.125 albertel 1494: Require valid-user
1495: PerlAuthzHandler Apache::lonacc
1.1 harris41 1496: SetHandler perl-script
1.126 albertel 1497: PerlHandler Apache::lonevaluate
1.1 harris41 1498: ErrorDocument 403 /adm/login
1499: ErrorDocument 500 /adm/errorhandler
1500: </Location>
1501:
1502: <Location /adm/preferences>
1.139 albertel 1503: AuthType LONCAPA
1.125 albertel 1504: Require valid-user
1505: PerlAuthzHandler Apache::lonacc
1.1 harris41 1506: SetHandler perl-script
1.126 albertel 1507: PerlHandler Apache::lonpreferences
1.1 harris41 1508: ErrorDocument 403 /adm/login
1509: ErrorDocument 500 /adm/errorhandler
1510: </Location>
1511:
1.284 raeburn 1512: <Location /adm/viewcoauthors>
1513: AuthType LONCAPA
1514: Require valid-user
1515: PerlAuthzHandler Apache::lonacc
1516: SetHandler perl-script
1517: PerlHandler Apache::lonviewcoauthors
1518: ErrorDocument 403 /adm/login
1519: ErrorDocument 406 /adm/roles
1520: ErrorDocument 500 /adm/errorhandler
1521: </Location>
1522:
1.1 harris41 1523: <Location /adm/communicate>
1.139 albertel 1524: AuthType LONCAPA
1.125 albertel 1525: Require valid-user
1526: PerlAuthzHandler Apache::lonacc
1.1 harris41 1527: SetHandler perl-script
1.126 albertel 1528: PerlHandler Apache::loncommunicate
1.1 harris41 1529: ErrorDocument 403 /adm/login
1530: ErrorDocument 500 /adm/errorhandler
1531: </Location>
1532:
1533: <Location /adm/searchcat>
1.139 albertel 1534: AuthType LONCAPA
1.125 albertel 1535: Require valid-user
1536: PerlAuthzHandler Apache::lonacc
1.1 harris41 1537: SetHandler perl-script
1.126 albertel 1538: PerlHandler Apache::lonsearchcat
1.28 www 1539: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.129 albertel 1540: PerlCleanupHandler Apache::lonacc::cleanup
1.1 harris41 1541: ErrorDocument 403 /adm/login
1.20 www 1542: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 1543: ErrorDocument 500 /adm/errorhandler
1544: </Location>
1545:
1546: <Location /adm/navmaps>
1.139 albertel 1547: AuthType LONCAPA
1.125 albertel 1548: Require valid-user
1549: PerlAuthzHandler Apache::lonacc
1.1 harris41 1550: SetHandler perl-script
1.160 albertel 1551: PerlHandler Apache::lonnavdisplay
1.1 harris41 1552: ErrorDocument 403 /adm/login
1553: ErrorDocument 406 /adm/roles
1554: ErrorDocument 500 /adm/errorhandler
1.26 bowersj2 1555: </Location>
1556:
1557: <Location /adm/quickgrades>
1.139 albertel 1558: AuthType LONCAPA
1.125 albertel 1559: Require valid-user
1560: PerlAuthzHandler Apache::lonacc
1.26 bowersj2 1561: SetHandler perl-script
1.126 albertel 1562: PerlHandler Apache::lonquickgrades
1.26 bowersj2 1563: ErrorDocument 403 /adm/login
1564: ErrorDocument 406 /adm/roles
1565: ErrorDocument 500 /adm/errorhandler
1.1 harris41 1566: </Location>
1567:
1568: <Location /adm/groupsort>
1.139 albertel 1569: AuthType LONCAPA
1.125 albertel 1570: Require valid-user
1571: PerlAuthzHandler Apache::lonacc
1.1 harris41 1572: SetHandler perl-script
1.126 albertel 1573: PerlHandler Apache::groupsort
1.29 www 1574: PerlCleanupHandler Apache::groupsort::cleanup
1.129 albertel 1575: PerlCleanupHandler Apache::lonacc::cleanup
1.1 harris41 1576: ErrorDocument 403 /adm/login
1.251 raeburn 1577: ErrorDocument 406 /adm/roles
1.1 harris41 1578: ErrorDocument 500 /adm/errorhandler
1579: </Location>
1580:
1.197 wenzelju 1581: <Location /adm/wishlist>
1582: AuthType LONCAPA
1583: Require valid-user
1584: PerlAuthzHandler Apache::lonacc
1585: SetHandler perl-script
1.202 wenzelju 1586: PerlHandler Apache::lonwishlistdisplay
1.197 wenzelju 1587: ErrorDocument 403 /adm/login
1588: ErrorDocument 406 /adm/roles
1589: ErrorDocument 500 /adm/errorhandler
1590: </Location>
1591:
1.208 raeburn 1592: <Location /adm/setblock>
1593: AuthType LONCAPA
1594: Require valid-user
1595: PerlAuthzHandler Apache::lonacc
1596: SetHandler perl-script
1597: PerlHandler Apache::lonblockingmenu
1598: ErrorDocument 403 /adm/login
1.209 raeburn 1599: ErrorDocument 406 /adm/roles
1.208 raeburn 1600: ErrorDocument 500 /adm/errorhandler
1601: </Location>
1602:
1.186 droeschl 1603: <Location /adm/blockingstatus>
1.188 droeschl 1604: PerlAccessHandler Apache::publiccheck
1.186 droeschl 1605: AuthType LONCAPA
1606: Require valid-user
1607: PerlAuthzHandler Apache::lonacc
1.188 droeschl 1608: SetHandler perl-script
1609: PerlHandler Apache::lonblockingstatus
1.186 droeschl 1610: </Location>
1611:
1.249 raeburn 1612: <Location /adm/accesstimes>
1613: AuthType LONCAPA
1614: Require valid-user
1615: PerlAuthzHandler Apache::lonacc
1616: SetHandler perl-script
1617: PerlHandler Apache::lonaccesstimes
1618: ErrorDocument 403 /adm/login
1619: ErrorDocument 406 /adm/roles
1620: ErrorDocument 500 /adm/errorhandler
1621: </Location>
1622:
1.1 harris41 1623: <Location /adm/errorhandler>
1624: SetHandler perl-script
1.126 albertel 1625: PerlHandler Apache::lonerrorhandler
1.1 harris41 1626: </Location>
1627:
1.7 bowersj2 1628: <LocationMatch "^/adm/help/.*\.hlp$">
1.139 albertel 1629: AuthType LONCAPA
1.125 albertel 1630: Require valid-user
1.147 albertel 1631: PerlAccessHandler Apache::publiccheck
1.125 albertel 1632: PerlAuthzHandler Apache::lonacc
1.7 bowersj2 1633: SetHandler perl-script
1.126 albertel 1634: PerlHandler Apache::lonhelp
1.154 albertel 1635: ErrorDocument 500 /adm/errorhandler
1.7 bowersj2 1636: </LocationMatch>
1637:
1.90 raeburn 1638: <LocationMatch "^/adm/helpmenu">
1.139 albertel 1639: AuthType LONCAPA
1.125 albertel 1640: Require valid-user
1641: PerlAuthzHandler Apache::lonacc
1.90 raeburn 1642: SetHandler perl-script
1.126 albertel 1643: PerlHandler Apache::lonhelpmenu
1.154 albertel 1644: ErrorDocument 500 /adm/errorhandler
1.90 raeburn 1645: </LocationMatch>
1646:
1647: <LocationMatch "^/adm/support">
1.139 albertel 1648: AuthType LONCAPA
1.125 albertel 1649: Require valid-user
1650: PerlAuthzHandler Apache::lonacc
1.90 raeburn 1651: SetHandler perl-script
1.126 albertel 1652: PerlHandler Apache::lonsupportreq
1.154 albertel 1653: ErrorDocument 500 /adm/errorhandler
1.90 raeburn 1654: </LocationMatch>
1655:
1.100 raeburn 1656: <LocationMatch "^/adm/helpdesk">
1657: SetHandler perl-script
1.126 albertel 1658: PerlHandler Apache::lonsupportreq
1.154 albertel 1659: ErrorDocument 500 /adm/errorhandler
1.100 raeburn 1660: </LocationMatch>
1661:
1.221 raeburn 1662: <LocationMatch "^/adm/css/.*\.css$">
1.133 albertel 1663: SetHandler perl-script
1664: PerlHandler Apache::loncss
1.154 albertel 1665: ErrorDocument 500 /adm/errorhandler
1.133 albertel 1666: </LocationMatch>
1667:
1.155 raeburn 1668: <LocationMatch "^/adm/coursecatalog">
1669: SetHandler perl-script
1670: PerlHandler Apache::coursecatalog
1.156 albertel 1671: ErrorDocument 500 /adm/errorhandler
1.155 raeburn 1672: </LocationMatch>
1673:
1.161 raeburn 1674: <LocationMatch "^/adm/resetpw">
1675: SetHandler perl-script
1676: PerlHandler Apache::resetpw
1677: ErrorDocument 500 /adm/errorhandler
1678: </LocationMatch>
1.155 raeburn 1679:
1.173 raeburn 1680: <LocationMatch "^/adm/selfenroll">
1681: SetHandler perl-script
1682: PerlHandler Apache::selfenroll
1683: ErrorDocument 500 /adm/errorhandler
1684: </LocationMatch>
1685:
1.171 raeburn 1686: <LocationMatch "^/adm/createaccount">
1687: SetHandler perl-script
1688: PerlHandler Apache::createaccount
1689: ErrorDocument 500 /adm/errorhandler
1690: </LocationMatch>
1691:
1.165 albertel 1692: <LocationMatch "^/adm/dns">
1693: SetHandler perl-script
1694: PerlHandler Apache::londns
1695: ErrorDocument 500 /adm/errorhandler
1696: </LocationMatch>
1.164 albertel 1697:
1.219 foxr 1698: <LocationMatch "^/ajax/spellcheck">
1.218 foxr 1699: SetHandler perl-script
1.219 foxr 1700: PerlHandler Apache::spellcheck
1.218 foxr 1701: </LocationMatch>
1702:
1.266 raeburn 1703: <LocationMatch "^/tiny/[\w.-]+/\w+$">
1.262 raeburn 1704: AuthType LONCAPA
1705: Require valid-user
1706: PerlAuthzHandler Apache::lonacc
1707: SetHandler perl-script
1708: PerlHandler Apache::lontiny
1709: ErrorDocument 403 /adm/login
1710: ErrorDocument 406 /adm/roles
1711: ErrorDocument 500 /adm/errorhandler
1712: </LocationMatch>
1.218 foxr 1713:
1.1 harris41 1714: # ------------------------------------------------- Backdoor Adm Tests/Programs
1715:
1716: <Location /adm/test>
1.181 raeburn 1717: PerlAccessHandler Apache::lonstatusacc
1.1 harris41 1718: SetHandler perl-script
1.126 albertel 1719: PerlHandler Apache::lontest
1.1 harris41 1720: </Location>
1721:
1722: # ------------------------------------------------------- Shutting down a child
1723:
1.129 albertel 1724: PerlChildExitHandler Apache::lonacc::goodbye
1.1 harris41 1725:
1726: #
1727: # LON-CAPA Section (extensions to access.conf permission configuration)
1728: #
1729: # =========================================================== Directory Options
1730:
1731: # Start out with "no"
1732:
1733: <Directory />
1734: Options None
1735: AllowOverride None
1.226 raeburn 1736: <IfModule mod_authz_core.c>
1737: Require all denied
1738: </IfModule>
1739: <IfModule !mod_authz_core.c>
1740: order deny,allow
1741: deny from all
1742: </IfModule>
1.158 raeburn 1743: </Directory>
1744:
1745: # Allow uploaded files to be served
1746:
1747: <Directory "/home/httpd/lonUsers">
1.257 raeburn 1748: Options FollowSymLinks
1.158 raeburn 1749: AllowOverride None
1.226 raeburn 1750: <IfModule mod_authz_core.c>
1751: Require all granted
1752: </IfModule>
1753: <IfModule !mod_authz_core.c>
1754: order allow,deny
1755: allow from all
1756: </IfModule>
1.158 raeburn 1757: </Directory>
1758:
1.1 harris41 1759: # Yes to symbolic links and server-side includes
1760:
1761: <Directory /home/httpd/html>
1.257 raeburn 1762: Options FollowSymLinks
1.1 harris41 1763: AllowOverride None
1.226 raeburn 1764: <IfModule mod_authz_core.c>
1765: Require all granted
1766: </IfModule>
1767: <IfModule !mod_authz_core.c>
1768: order allow,deny
1769: allow from all
1770: </IfModule>
1.1 harris41 1771: </Directory>
1772:
1773: # If it is in cgi-bin, then it can be executed as a CGI script.
1774:
1775: <Directory /home/httpd/cgi-bin>
1776: AllowOverride None
1.157 albertel 1777: Options ExecCGI FollowSymLinks
1.226 raeburn 1778: <IfModule mod_authz_core.c>
1779: Require all granted
1780: </IfModule>
1781: <IfModule !mod_authz_core.c>
1782: order allow,deny
1783: allow from all
1784: </IfModule>
1.159 raeburn 1785: </Directory>
1786:
1787: # Allow serving of files in prtspool
1788:
1789: <Directory "/home/httpd/prtspool/">
1.256 raeburn 1790: Options FollowSymLinks
1.159 raeburn 1791: AllowOverride None
1.226 raeburn 1792: <IfModule mod_authz_core.c>
1793: Require all granted
1794: </IfModule>
1795: <IfModule !mod_authz_core.c>
1796: order allow,deny
1797: allow from all
1798: </IfModule>
1.1 harris41 1799: </Directory>
1800:
1.167 banghart 1801: # Allow serving of files in zipspool
1802:
1803: <Directory "/home/httpd/zipspool/">
1.256 raeburn 1804: Options FollowSymLinks
1.167 banghart 1805: AllowOverride None
1.226 raeburn 1806: <IfModule mod_authz_core.c>
1807: Require all granted
1808: </IfModule>
1809: <IfModule !mod_authz_core.c>
1810: order allow,deny
1811: allow from all
1812: </IfModule>
1.167 banghart 1813: </Directory>
1814:
1.177 raeburn 1815: # Allow serving of files in captchaspool
1816:
1817: <Directory "/home/httpd/captchaspool/">
1.256 raeburn 1818: Options FollowSymLinks
1.177 raeburn 1819: AllowOverride None
1.226 raeburn 1820: <IfModule mod_authz_core.c>
1821: Require all granted
1822: </IfModule>
1823: <IfModule !mod_authz_core.c>
1824: order allow,deny
1825: allow from all
1826: </IfModule>
1.177 raeburn 1827: </Directory>
1828:
1.227 raeburn 1829: <DirectoryMatch "^/home/httpd/html/priv/.+/">
1830: DirectoryIndex disabled
1831: </DirectoryMatch>
1832:
1.235 raeburn 1833: <DirectoryMatch "^/home/httpd/html/res/.+/">
1834: DirectoryIndex disabled
1835: </DirectoryMatch>
1836:
1.1 harris41 1837: # ============================================================= Access Handlers
1838:
1839: # ------------------------------------------------- Allow server-status reports
1840: <Location /server-status>
1.181 raeburn 1841: PerlAccessHandler Apache::lonstatusacc
1.1 harris41 1842: SetHandler server-status
1843: </Location>
1844:
1845: # ------------------------ Allow LON-CAPA "low-level" connection status reports
1.181 raeburn 1846: <LocationMatch "^/+lon-status/.*">
1847: PerlAccessHandler Apache::lonstatusacc
1848: ErrorDocument 406 /adm/roles
1849: ErrorDocument 500 /adm/errorhandler
1850: </LocationMatch>
1.1 harris41 1851:
1852: # ------------------- Allow access to local system documentation from localhost
1853: Alias /doc /usr/doc
1854: <Directory /usr/doc>
1855: Options Indexes FollowSymLinks
1.226 raeburn 1856: <IfModule mod_authz_host.c>
1857: Require local
1858: </IfModule>
1859: <IfModule !mod_authz_host.c>
1860: order deny,allow
1861: deny from all
1862: allow from localhost
1863: </IfModule>
1.1 harris41 1864: </Directory>
1865:
1866: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
1867: # ====================================== Internal Settings / Perl Configuration
1868:
1.250 raeburn 1869: PerlSetVar lonVersion '<!-- VERSION -->'
1.1 harris41 1870: PerlSetVar lonIDsDir /home/httpd/lonIDs
1.264 raeburn 1871: PerlSetVar lonBalanceDir /home/httpd/balanceIDs
1.210 raeburn 1872: PerlSetVar lonDAVsessDir /home/httpd/webdav/sessionIDs
1.1 harris41 1873: PerlSetVar lonTabDir /home/httpd/lonTabs
1874: PerlSetVar lonUsersDir /home/httpd/lonUsers
1875: PerlSetVar lonIconsURL /adm/lonIcons
1876: PerlSetVar londPort 5663
1.229 raeburn 1877: PerlSetVar lonSysEMail techsupport@loncapa.org
1.1 harris41 1878: PerlSetVar lonDaemons /home/httpd/perl
1.184 foxr 1879: PerlSetVar lonLib /home/httpd/lib
1.1 harris41 1880: PerlSetVar lonSockDir /home/httpd/sockets
1.164 albertel 1881: PerlSetVar lonSockCreate /home/httpd/sockets/common
1.1 harris41 1882: PerlSetVar lonDocRoot /home/httpd/html
1.98 albertel 1883: PerlSetVar lonPrtDir /home/httpd/prtspool
1.1 harris41 1884: PerlSetVar lonIncludes /home/httpd/html/res/adm/includes
1.166 banghart 1885: PerlSetVar lonZipDir /home/httpd/zipspool
1.177 raeburn 1886: PerlSetVar lonCaptchaDir /home/httpd/captchaspool
1887: PerlSetVar lonCaptchaDb /home/httpd/captchadb
1.258 raeburn 1888: PerlSetVar lonLTIDir /home/httpd/lonLTItmp
1.269 raeburn 1889: PerlSetVar ltiIDsDir /home/httpd/ltiIDs
1.168 albertel 1890: PerlSetVar lonFontsDir /home/httpd/html/adm/fonts
1.231 raeburn 1891: # & separated list of % separated fields in order of
1.119 albertel 1892: # - internal name to call it,
1893: # - regexp that it should match (done case-insensitively)
1894: # - regexp that is should not match (done case-insensitively)
1895: # - regexp that will pull out the version number into $1
1896: # - a number that describes the minimum version that has mathml support
1897: # - a number that describes the minimum number version that has unicode support
1898:
1.233 raeburn 1899: PerlSetVar lonBrowsDet explorer%msie%netscape%msie\s(\d+\.\d+)\;%9999%5&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&chrome%chrome%chromeframe%\s+chrome\/(\d+\.\d+)%9999%1&explorer%\s+rv\:\d+\.\d+%firefox%\s+rv\:(\d+\.\d+)%9999%5&opera%\sOPR\/\d+\.\d+%shouldnotmatch%\sOPR\/(\d+\.\d+)%9999%6&opera%^Opera\/9.80\s.+Version\/\d+\.\d+$%shouldnotmatch%Version\/(\d+\.\d+)$%9999%6&opera%^Opera\/\d+\.\d+\s%Version\/\d+\.\d+$%^Opera\/(\d+\.\d+)\s%9999%6
1.119 albertel 1900:
1.105 albertel 1901: PerlSetVar lonTextBrowsers windows\s+ce:lynx
1.43 albertel 1902: PerlSetVar lonScansDir /home/httpd/scantron
1903: PerlSetVar lonScriptTimeout 10
1.270 raeburn 1904: PerlSetVar BugzillaHost https://bugs.loncapa.org/
1.70 www 1905: PerlSetVar FAQHost http://help.lon-capa.org/
1.2 harris41 1906: # -----------------------------------------------------------------------------
1907: # NOTE: lonSqlAccess key is the password for the MySQL user
1908: # www@localhost. This value must always be "localhostkey".
1909: # The only security risk occurs when somebody logs in as 'www' on your system
1910: # (in which case you have much bigger problems than whether or not they
1911: # can access the non-authoritative loncapa database on your machine).
1912:
1913: PerlSetVar lonSqlAccess localhostkey
1914:
1.86 foxr 1915: #----------------------------------------------------------------------------
1916: #
1.79 foxr 1917: # Parameters used by secure lond/lonc
1918:
1919: #
1920: # Secure lond/lonc require ssl certificate and private
1921: # key files to function correctly. The certificate
1922: # files need not be terribly secure, but the private key files
1923: # should be set up so that only www (the lonc/lond effective user)
1924: # can read them.
1925: #
1926: # The definition below is the full path to the directory that
1927: # contains the certificate and key files:
1.82 foxr 1928:
1.79 foxr 1929: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
1930:
1931: #
1932: # Secure lond/lonc require two certificates and a private host key.
1933: # The certificates required are that of the lonCAPA certificate authority
1934: # and the certificate that authority issued to this host.
1935: # lonnetCertificateAuthority is the name of the file that contains the
1936: # lonCAPA certificate authority's certificate.
1937: # lonnetCertificate is the name of the file that contains the certificate
1938: # issued to the host by the certificate authority.
1939: # Both of these variables are names of files assumed to be in
1940: # lonCertificateDirectory:
1941:
1942: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
1943: PerlSetVar lonnetCertificate lonhostcert.pem
1.248 raeburn 1944: PerlSetVar lonnetHostnameCertificate lonhostnamecert.pem
1.263 raeburn 1945: PerlSetVar lonnetCertRevocationList loncapaCAcrl.pem
1.79 foxr 1946:
1947: #
1948: # To generate the request for a certificate, and to negotiate the
1949: # initial ssl connection, the host requires a private key. This key
1950: # is created at lonCAPA install time. Did we mention above that it
1951: # should be set so that only www can read it? The variale below
1952: # is the name of the file relative to lonnetCertificateDirectory
1953: # that has the host's private key. Did we remember to tell you to
1954: # keep the permissions on that file set to rw------- (0600)?
1955: #
1956:
1957: PerlSetVar lonnetPrivateKey lonKey.pem
1958:
1959: # Did we mention that the file described above must have
1960: # permissions really locked down so that it can't be stolen?
1961:
1.86 foxr 1962: #-------------------------------------------------------------------------
1963:
1964: # Parameters that define where all the ssl stuff is that's needed
1965: # to generate certificate requests and, on a system that's a CA
1966: # the certificate authority.
1967: #
1968: # SSLProgram -> Path to the openssl command
1969: # SSLDirectory -> Directory containing ssl configuration files etc.
1970: # SSLCAConfig -> Name of the SSL config file for the certificate
1971: # Authority.
1.87 foxr 1972: # SSLCAFile -> Full path to the Certificate authority file
1973: # (on the cert manager system).
1974: # SSLEmail -> E-mail address of loncapa certificate manager.
1.86 foxr 1975: # The following are good for the loncapa redhat installs and
1976: # the loncapa certificate authority system:
1977: #
1978: PerlSetVar SSLProgram /usr/bin/openssl
1979: PerlSetVar SSLDirectory /usr/share/ssl
1980: PerlSetVar SSLCAConfig loncapaca
1.87 foxr 1981: PerlSetVar SSLCAFile /usr/share/ssl/loncapaca/cacert.pem
1.93 albertel 1982: PerlSetVar SSLEmail certificate@lon-capa.org
1.86 foxr 1983:
1984: #-------------------------------------------------------------------------
1985:
1.79 foxr 1986:
1.204 raeburn 1987: # ====================================== Include support for SSL rewrites
1988:
1989: Include conf/loncapa_rewrite.conf
1.79 foxr 1990:
1.2 harris41 1991:
1.8 harris41 1992: # ====================================== Include machine-specific configuration
1.2 harris41 1993:
1994: Include conf/loncapa.conf
1.61 albertel 1995:
1996: # ================================================= Include local configuration
1997:
1998: Include conf/loncapa_apache_local*.conf
1.1 harris41 1999:
2000: # ================================================== Initiate mod_perl starting
2001:
2002: PerlRequire conf/startup.pl
1.47 albertel 2003: <IfDefine !MODPERL2>
1.1 harris41 2004: PerlFreshRestart On
1.47 albertel 2005: </IfDefine>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>