Annotation of loncom/loncapa_apache.conf, revision 1.286
1.1 harris41 1: ##
2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
3: ##
1.222 raeburn 4:
1.286 ! raeburn 5: # $Id: loncapa_apache.conf,v 1.285 2023/12/22 13:38:02 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.286 ! raeburn 445: PerlHandler Apache::londatecheck
! 446: PerlHandler Apache::lonipcheck
1.126 albertel 447: PerlHandler Apache::lontex
1.1 harris41 448: </LocationMatch>
449:
1.71 www 450: <LocationMatch "^/+res/.*\.page$">
1.1 harris41 451: SetHandler perl-script
1.126 albertel 452: PerlHandler Apache::lonpage
1.1 harris41 453: </LocationMatch>
454:
1.71 www 455: <LocationMatch "^/+res/.*\.sequence$">
1.1 harris41 456: SetHandler perl-script
1.126 albertel 457: PerlHandler Apache::lonsequence
1.1 harris41 458: </LocationMatch>
459:
1.205 www 460: <LocationMatch "^/+(res|priv|public|uploaded|editupload|adm)/.*\.meta$">
1.132 albertel 461: PerlAccessHandler Apache::publiccheck
1.1 harris41 462: SetHandler perl-script
1.126 albertel 463: PerlHandler Apache::lonmeta
1.99 www 464: ErrorDocument 413 /adm/overloaded.txt
1.39 www 465: </LocationMatch>
466:
1.71 www 467: <LocationMatch "^/adm/bombs/">
1.139 albertel 468: AuthType LONCAPA
1.125 albertel 469: Require valid-user
1.228 raeburn 470: PerlAuthzHandler Apache::lonacc
1.71 www 471: SetHandler perl-script
1.126 albertel 472: PerlHandler Apache::lonmeta
1.71 www 473: </LocationMatch>
474:
475:
476:
1.205 www 477: <LocationMatch "^/+(res|priv)/.*\.rights$">
1.39 www 478: SetHandler perl-script
1.126 albertel 479: PerlHandler Apache::lonrights
1.1 harris41 480: </LocationMatch>
481:
1.205 www 482: <LocationMatch "^/+(uploaded|res|priv)/.*\.(xml|html|htm|xhtml|xhtm|sty)$">
1.1 harris41 483: SetHandler perl-script
1.126 albertel 484: PerlHandler Apache::londatecheck
1.178 raeburn 485: PerlHandler Apache::lonipcheck
1.126 albertel 486: PerlHandler Apache::lonxml
1.1 harris41 487: </LocationMatch>
488:
1.205 www 489: <LocationMatch "^/+(res|priv).*\.(task|problem|exam|quiz|assess|survey|form|library)$">
1.1 harris41 490: SetHandler perl-script
1.126 albertel 491: PerlHandler Apache::lonhomework
1.1 harris41 492: </LocationMatch>
493:
1.205 www 494: <LocationMatch "^/+priv/.*\.(js|css|txt|tex)$">
1.185 raeburn 495: SetHandler perl-script
496: PerlHandler Apache::lonxml
497: </LocationMatch>
498:
1.253 damieng 499: <LocationMatch "^/daxepage/priv/">
1.236 damieng 500: AuthType LONCAPA
501: Require valid-user
502: PerlAuthzHandler Apache::loncacc
1.240 damieng 503: ErrorDocument 403 /adm/login
504: ErrorDocument 404 /adm/notfound.html
505: ErrorDocument 406 /adm/unauthorized
506: ErrorDocument 500 /adm/errorhandler
507: </LocationMatch>
508:
1.253 damieng 509: <LocationMatch "^/daxeopen/">
510: AuthType LONCAPA
511: Require valid-user
512: PerlAuthzHandler Apache::lonacc
513: </LocationMatch>
514:
1.283 raeburn 515: <LocationMatch "^/daxeopen/priv/[^/]+/[^/]+/">
516: AuthType LONCAPA
517: Require valid-user
518: PerlAuthzHandler Apache::loncacc
519: </LocationMatch>
520:
521: <LocationMatch "^/daxeopen/(res/|$)">
522: ErrorDocument 403 /adm/login
523: ErrorDocument 404 /adm/notfound.html
524: ErrorDocument 406 /adm/roles
525: ErrorDocument 500 /adm/errorhandler
526: </LocationMatch>
527:
528: <LocationMatch "^/daxeopen/priv/">
529: ErrorDocument 403 /adm/login
530: ErrorDocument 404 /adm/notfound.html
531: ErrorDocument 406 /adm/unauthorized
532: ErrorDocument 500 /adm/errorhandler
533: </LocationMatch>
534:
1.240 damieng 535: <LocationMatch "^/daxe(page|open)/uploaded/">
536: AuthType LONCAPA
537: Require valid-user
538: PerlAuthzHandler Apache::lonacc
1.236 damieng 539: ErrorDocument 403 /adm/login
540: ErrorDocument 404 /adm/notfound.html
1.282 raeburn 541: ErrorDocument 406 /adm/roles
1.236 damieng 542: ErrorDocument 500 /adm/errorhandler
543: </LocationMatch>
544:
1.238 damieng 545: <LocationMatch "^/daxepage/priv/.*\.(task|problem|exam|quiz|assess|survey|library|xml|html|htm|xhtml|xhtm)$">
1.237 damieng 546: SetHandler perl-script
547: PerlHandler Apache::daxepage
548: </LocationMatch>
549:
1.282 raeburn 550: <LocationMatch "^/daxepage/uploaded/[^/]+/[^/]+/(docs|supplemental)/.*html?$">
1.239 damieng 551: SetHandler perl-script
552: PerlHandler Apache::daxepage
553: </LocationMatch>
554:
1.238 damieng 555: <LocationMatch "^/daxeopen/priv/.*\.(task|problem|exam|quiz|assess|survey|library|xml|html|htm|xhtml|xhtm)$">
1.236 damieng 556: SetHandler perl-script
557: PerlHandler Apache::daxeopen
558: </LocationMatch>
559:
1.252 damieng 560: <LocationMatch "^/daxeopen/$">
561: SetHandler perl-script
562: PerlHandler Apache::daxeopen
563: </LocationMatch>
564:
1.282 raeburn 565: <LocationMatch "^/daxeopen/(res|priv|uploaded)/(.+/)?$">
1.236 damieng 566: SetHandler perl-script
567: PerlHandler Apache::daxeopen
568: </LocationMatch>
569:
1.282 raeburn 570: <LocationMatch "^/daxeopen/uploaded/[^/]+/[^/]+/(docs|supplemental)/.*html?$">
1.239 damieng 571: SetHandler perl-script
572: PerlHandler Apache::daxeopen
573: </LocationMatch>
574:
1.246 raeburn 575: <LocationMatch "(?i)^/daxeopen/priv/.+\.(?!task$|problem$|exam$|quiz$|assess$|survey$|library$|xml$|html$|htm$|xhtml$|xhtm$)[^.]*$">
1.236 damieng 576: <IfModule mod_rewrite.c>
577: RewriteEngine on
1.245 raeburn 578: RewriteRule /daxeopen/(.*) /$1
1.236 damieng 579: </IfModule>
1.245 raeburn 580: </LocationMatch>
1.236 damieng 581:
1.282 raeburn 582: <LocationMatch "(?i)^/daxeopen/uploaded/.+\.(?!html$|htm$|xhtml$|xhtm$)[^.]*$">
583: <IfModule mod_rewrite.c>
584: RewriteEngine on
585: RewriteRule /daxeopen/(.*) /$1
586: </IfModule>
587: </LocationMatch>
588:
1.252 damieng 589: <LocationMatch "(?i)^/daxeopen/(res/.*\.(jpg|jpeg|gif|png|svg))$">
590: <IfModule mod_rewrite.c>
591: RewriteEngine on
592: RewriteRule /daxeopen/(.*) /$1
593: </IfModule>
594: </LocationMatch>
595:
1.236 damieng 596: <LocationMatch "^/daxesave$">
597: AuthType LONCAPA
598: Require valid-user
599: PerlAuthzHandler Apache::lonacc
600: SetHandler perl-script
601: PerlHandler Apache::daxesave
602: </LocationMatch>
603:
1.247 raeburn 604: <Location /adm/coursepub>
605: AuthType LONCAPA
606: Require valid-user
607: PerlAuthzHandler Apache::lonacc
608: SetHandler perl-script
609: PerlHandler Apache::loncoursepub
610: ErrorDocument 404 /adm/notfound.html
611: ErrorDocument 500 /adm/errorhandler
612: </Location>
613:
1.1 harris41 614: <LocationMatch "^/adm/wrapper/">
1.139 albertel 615: AuthType LONCAPA
1.125 albertel 616: Require valid-user
617: PerlAuthzHandler Apache::lonacc
1.172 www 618: PerlHandler Apache::londatecheck
1.178 raeburn 619: PerlHandler Apache::lonipcheck
1.1 harris41 620: SetHandler perl-script
1.126 albertel 621: PerlHandler Apache::lonwrapper
1.66 www 622: ErrorDocument 403 /adm/login
623: ErrorDocument 500 /adm/errorhandler
624: </LocationMatch>
625:
1.113 www 626: <LocationMatch "^/adm/source">
1.139 albertel 627: AuthType LONCAPA
1.125 albertel 628: Require valid-user
629: PerlAuthzHandler Apache::lonacc
1.83 taceyjo1 630: SetHandler perl-script
1.126 albertel 631: PerlHandler Apache::lonsource
1.83 taceyjo1 632: ErrorDocument 403 /adm/login
1.85 www 633: ErrorDocument 406 /adm/roles
1.83 taceyjo1 634: ErrorDocument 500 /adm/errorhandler
635: </LocationMatch>
636:
637:
1.66 www 638: <LocationMatch "^/adm/localize/">
1.139 albertel 639: AuthType LONCAPA
1.125 albertel 640: Require valid-user
641: PerlAuthzHandler Apache::lonacc
1.66 www 642: SetHandler perl-script
1.126 albertel 643: PerlHandler Apache::lonlocalize
1.1 harris41 644: ErrorDocument 403 /adm/login
645: ErrorDocument 500 /adm/errorhandler
646: </LocationMatch>
647:
648: # -------------------------------------------------------------- Admin Programs
1.24 albertel 649:
650: <Location /adm/randomlabel.png>
1.139 albertel 651: AuthType LONCAPA
1.125 albertel 652: Require valid-user
653: PerlAuthzHandler Apache::lonacc
1.24 albertel 654: SetHandler perl-script
1.126 albertel 655: PerlHandler Apache::randomlylabel
1.69 albertel 656: ErrorDocument 403 /adm/login
657: ErrorDocument 500 /adm/errorhandler
658: </Location>
659:
660: <Location /adm/imagechoice>
1.139 albertel 661: AuthType LONCAPA
1.125 albertel 662: Require valid-user
663: PerlAuthzHandler Apache::lonacc
1.69 albertel 664: SetHandler perl-script
1.126 albertel 665: PerlHandler Apache::imagechoice
1.24 albertel 666: ErrorDocument 403 /adm/login
667: ErrorDocument 500 /adm/errorhandler
668: </Location>
1.1 harris41 669:
1.200 www 670: <Location /adm/searchcourse>
671: AuthType LONCAPA
672: Require valid-user
673: PerlAuthzHandler Apache::lonacc
674: SetHandler perl-script
675: PerlHandler Apache::lonsearchcourse
676: ErrorDocument 403 /adm/login
677: ErrorDocument 500 /adm/errorhandler
678: </Location>
679:
1.201 www 680: <Location /adm/indexcourse>
681: AuthType LONCAPA
682: Require valid-user
683: PerlAuthzHandler Apache::lonacc
684: SetHandler perl-script
685: PerlHandler Apache::lonindexcourse
686: ErrorDocument 403 /adm/login
687: ErrorDocument 500 /adm/errorhandler
688: </Location>
1.200 www 689:
1.1 harris41 690: <Location /adm/statistics>
1.139 albertel 691: AuthType LONCAPA
1.125 albertel 692: Require valid-user
693: PerlAuthzHandler Apache::lonacc
1.1 harris41 694: SetHandler perl-script
1.126 albertel 695: PerlHandler Apache::lonstatistics
1.1 harris41 696: ErrorDocument 403 /adm/login
1.20 www 697: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 698: ErrorDocument 500 /adm/errorhandler
699: </Location>
700:
1.92 matthew 701: <Location /adm/trackstudent>
1.139 albertel 702: AuthType LONCAPA
1.125 albertel 703: Require valid-user
704: PerlAuthzHandler Apache::lonacc
1.92 matthew 705: SetHandler perl-script
1.126 albertel 706: PerlHandler Apache::lontrackstudent
1.92 matthew 707: ErrorDocument 403 /adm/login
708: ErrorDocument 413 /adm/overloaded.txt
709: ErrorDocument 500 /adm/errorhandler
710: </Location>
711:
1.1 harris41 712: <Location /adm/roles>
1.139 albertel 713: AuthType LONCAPA
1.125 albertel 714: Require valid-user
715: PerlAuthzHandler Apache::lonacc
1.1 harris41 716: SetHandler perl-script
1.126 albertel 717: PerlHandler Apache::lonroles
1.33 www 718: ErrorDocument 403 /adm/login
1.174 www 719: ErrorDocument 409 /adm/preferences?action=lockwarning
1.33 www 720: ErrorDocument 500 /adm/errorhandler
721: </Location>
722:
723: <Location /adm/menu>
1.139 albertel 724: AuthType LONCAPA
1.125 albertel 725: Require valid-user
726: PerlAuthzHandler Apache::lonacc
1.33 www 727: SetHandler perl-script
1.128 albertel 728: PerlHandler Apache::lonmainmenu
1.42 www 729: ErrorDocument 403 /adm/login
730: ErrorDocument 500 /adm/errorhandler
731: </Location>
732:
1.203 www 733: <Location /adm/pickresource>
734: AuthType LONCAPA
735: Require valid-user
736: PerlAuthzHandler Apache::lonacc
737: SetHandler perl-script
738: PerlHandler Apache::lonpickresource
739: ErrorDocument 403 /adm/login
740: ErrorDocument 500 /adm/errorhandler
741: </Location>
742:
1.176 raeburn 743: <Location /adm/pickauthor>
744: AuthType LONCAPA
745: Require valid-user
746: PerlAuthzHandler Apache::lonacc
747: SetHandler perl-script
748: PerlHandler Apache::lonpickauthor
749: ErrorDocument 403 /adm/login
750: ErrorDocument 500 /adm/errorhandler
751: </Location>
752:
1.27 www 753: <Location /adm/pickstudent>
1.139 albertel 754: AuthType LONCAPA
1.125 albertel 755: Require valid-user
756: PerlAuthzHandler Apache::lonacc
1.27 www 757: SetHandler perl-script
1.126 albertel 758: PerlHandler Apache::lonpickstudent
1.40 www 759: ErrorDocument 403 /adm/login
760: ErrorDocument 500 /adm/errorhandler
761: </Location>
762:
1.187 raeburn 763: <Location /adm/pickuser>
764: AuthType LONCAPA
765: Require valid-user
766: PerlAuthzHandler Apache::lonacc
767: SetHandler perl-script
768: PerlHandler Apache::lonpickuser
769: ErrorDocument 403 /adm/login
770: ErrorDocument 406 /adm/roles
771: ErrorDocument 500 /adm/errorhandler
772: </Location>
773:
1.40 www 774: <Location /adm/pickcourse>
1.139 albertel 775: AuthType LONCAPA
1.125 albertel 776: Require valid-user
777: PerlAuthzHandler Apache::lonacc
1.40 www 778: SetHandler perl-script
1.126 albertel 779: PerlHandler Apache::lonpickcourse
1.77 albertel 780: ErrorDocument 403 /adm/login
781: ErrorDocument 500 /adm/errorhandler
782: </Location>
783:
784: <Location /adm/pickcode>
1.139 albertel 785: AuthType LONCAPA
1.125 albertel 786: Require valid-user
787: PerlAuthzHandler Apache::lonacc
1.77 albertel 788: SetHandler perl-script
1.126 albertel 789: PerlHandler Apache::lonpickcode
1.1 harris41 790: ErrorDocument 403 /adm/login
791: ErrorDocument 500 /adm/errorhandler
792: </Location>
793:
1.215 raeburn 794: <Location /adm/dependencies>
795: AuthType LONCAPA
796: Require valid-user
797: PerlAuthzHandler Apache::lonacc
798: SetHandler perl-script
799: PerlHandler Apache::londependencies
800: ErrorDocument 403 /adm/login
801: ErrorDocument 406 /adm/roles
802: ErrorDocument 500 /adm/errorhandler
803: </Location>
804:
1.279 raeburn 805: <Location /adm/courseauthor>
806: AuthType LONCAPA
807: Require valid-user
808: PerlAuthzHandler Apache::lonacc
809: SetHandler perl-script
810: PerlHandler Apache::loncourseauthor
811: ErrorDocument 403 /adm/login
812: ErrorDocument 406 /adm/roles
813: ErrorDocument 500 /adm/errorhandler
814: </Location>
815:
1.280 raeburn 816: <Location /adm/courseuser>
817: AuthType LONCAPA
818: Require valid-user
819: PerlAuthzHandler Apache::lonacc
820: SetHandler perl-script
821: PerlHandler Apache::loncourseuser
822: ErrorDocument 403 /adm/login
823: ErrorDocument 406 /adm/roles
824: ErrorDocument 500 /adm/errorhandler
825: </Location>
826:
1.1 harris41 827: <Location /adm/login>
828: SetHandler perl-script
1.126 albertel 829: PerlHandler Apache::lonlogin
1.1 harris41 830: </Location>
831:
1.275 raeburn 832: <LocationMatch "^/+adm/launch/tiny/[\w.-]+/\w+">
833: SetHandler perl-script
834: PerlHandler Apache::ltiauth
835: </LocationMatch>
836:
1.277 raeburn 837: <Location /adm/relaunch>
838: SetHandler perl-script
839: PerlHandler Apache::lonrelaunch
840: </Location>
841:
1.258 raeburn 842: <LocationMatch "^/+adm/lti($|/)">
843: SetHandler perl-script
1.259 raeburn 844: PerlHandler Apache::ltiauth
1.258 raeburn 845: </LocationMatch>
846:
1.261 raeburn 847: <Location /adm/service/passback>
848: SetHandler perl-script
849: PerlHandler Apache::ltipassback
850: </Location>
851:
1.260 raeburn 852: <Location /adm/service/roster>
853: SetHandler perl-script
854: PerlHandler Apache::ltiroster
855: </Location>
856:
1.269 raeburn 857: <LocationMatch "^/adm/service/logout/\w+$">
858: SetHandler perl-script
859: PerlHandler Apache::ltilogout
860: </LocationMatch>
861:
1.148 raeburn 862: <Location /adm/restrictedaccess>
863: PerlAccessHandler Apache::publiccheck
864: AuthType LONCAPA
1.152 albertel 865: Require valid-user
1.228 raeburn 866: PerlAuthzHandler Apache::lonacc
1.148 raeburn 867: SetHandler perl-script
868: PerlHandler Apache::restrictedaccess
1.154 albertel 869: ErrorDocument 500 /adm/errorhandler
1.148 raeburn 870: </Location>
871:
1.162 raeburn 872: <Location /adm/blockedaccess>
873: PerlAccessHandler Apache::publiccheck
874: AuthType LONCAPA
875: Require valid-user
1.228 raeburn 876: PerlAuthzHandler Apache::lonacc
1.162 raeburn 877: SetHandler perl-script
878: PerlHandler Apache::blockedaccess
879: ErrorDocument 500 /adm/errorhandler
880: </Location>
881:
1.267 raeburn 882: <Location /adm/protected>
883: PerlAccessHandler Apache::publiccheck
884: AuthType LONCAPA
885: Require valid-user
886: PerlAuthzHandler Apache::lonacc
887: SetHandler perl-script
888: PerlHandler Apache::lonprotected
889: ErrorDocument 403 /adm/login
890: ErrorDocument 500 /adm/errorhandler
891: </Location>
892:
1.1 harris41 893: <Location /adm/logout>
1.139 albertel 894: AuthType LONCAPA
1.125 albertel 895: Require valid-user
896: PerlAuthzHandler Apache::lonacc
1.1 harris41 897: SetHandler perl-script
1.126 albertel 898: PerlHandler Apache::lonlogout
1.1 harris41 899: ErrorDocument 403 /adm/login
1.175 www 900: ErrorDocument 409 /adm/preferences?action=lockwarning
1.154 albertel 901: ErrorDocument 500 /adm/errorhandler
1.1 harris41 902: </Location>
903:
1.117 albertel 904: <Location /adm/switchserver>
1.139 albertel 905: AuthType LONCAPA
1.125 albertel 906: Require valid-user
907: PerlAuthzHandler Apache::lonacc
1.117 albertel 908: SetHandler perl-script
1.126 albertel 909: PerlHandler Apache::switchserver
1.117 albertel 910: ErrorDocument 403 /adm/login
1.154 albertel 911: ErrorDocument 500 /adm/errorhandler
1.117 albertel 912: </Location>
913:
1.1 harris41 914: <Location /adm/authenticate>
915: SetHandler perl-script
1.126 albertel 916: PerlHandler Apache::lonauth
1.1 harris41 917: </Location>
918:
1.117 albertel 919: <Location /adm/migrateuser>
920: SetHandler perl-script
1.126 albertel 921: PerlHandler Apache::migrateuser
1.117 albertel 922: </Location>
923:
1.212 raeburn 924: <Location /adm/sso>
1.276 raeburn 925: Header set Cache-Control "private,no-store,no-cache,max-age=0"
1.212 raeburn 926: <IfModule mod_shib>
927: AuthType shibboleth
928: ShibUseEnvironment On
929: ShibRequestSetting requireSession 1
930: ShibRequestSetting redirectToSSL 443
931: require valid-user
932: PerlAuthzHandler Apache::lonshibacc
933: PerlAuthzHandler Apache::lonacc
1.276 raeburn 934: ErrorDocument 403 /adm/login
935: ErrorDocument 500 /adm/errorhandler
1.212 raeburn 936: </IfModule>
1.213 raeburn 937: <IfModule !mod_shib>
938: PerlTypeHandler Apache::lonnoshib
939: </IfModule>
1.212 raeburn 940: </Location>
941:
1.278 raeburn 942: <Location /adm/linkexit>
943: AuthType LONCAPA
944: Require valid-user
945: PerlAuthzHandler Apache::lonacc
946: SetHandler perl-script
947: PerlHandler Apache::lonlinkexit
948: ErrorDocument 403 /adm/login
949: ErrorDocument 409 /adm/preferences?action=lockwarning
950: ErrorDocument 500 /adm/errorhandler
951: </Location>
952:
1.1 harris41 953: <Location /adm/annotations>
1.139 albertel 954: AuthType LONCAPA
1.125 albertel 955: Require valid-user
956: PerlAuthzHandler Apache::lonacc
1.1 harris41 957: SetHandler perl-script
1.126 albertel 958: PerlHandler Apache::admannotations
1.1 harris41 959: ErrorDocument 403 /adm/login
960: ErrorDocument 500 /adm/errorhandler
961: </Location>
962:
1.265 raeburn 963: <Location /adm/annotation>
964: AuthType LONCAPA
965: Require valid-user
966: PerlAuthzHandler Apache::lonacc
967: SetHandler perl-script
968: PerlHandler Apache::admannotations
969: ErrorDocument 403 /adm/login
970: ErrorDocument 500 /adm/errorhandler
971: </Location>
972:
1.91 www 973: <Location /adm/spellcheck>
1.139 albertel 974: AuthType LONCAPA
1.125 albertel 975: Require valid-user
976: PerlAuthzHandler Apache::lonacc
1.91 www 977: SetHandler perl-script
1.126 albertel 978: PerlHandler Apache::lonspeller
1.91 www 979: ErrorDocument 403 /adm/login
980: ErrorDocument 500 /adm/errorhandler
981: </Location>
982:
1.1 harris41 983: <Location /adm/flip>
1.139 albertel 984: AuthType LONCAPA
1.125 albertel 985: Require valid-user
986: PerlAuthzHandler Apache::lonacc
1.1 harris41 987: SetHandler perl-script
1.126 albertel 988: PerlHandler Apache::lonpageflip
1.30 www 989: PerlCleanupHandler Apache::lonpageflip::cleanup
1.129 albertel 990: PerlCleanupHandler Apache::lonacc::cleanup
1.1 harris41 991: ErrorDocument 406 /adm/roles
992: ErrorDocument 403 /adm/login
993: ErrorDocument 500 /adm/errorhandler
994: </Location>
995:
996: <Location /adm/ambiguous>
1.139 albertel 997: AuthType LONCAPA
1.125 albertel 998: Require valid-user
999: PerlAuthzHandler Apache::lonacc
1.1 harris41 1000: SetHandler perl-script
1.126 albertel 1001: PerlHandler Apache::lonambiguous
1.30 www 1002: PerlCleanupHandler Apache::lonambiguous::cleanup
1.129 albertel 1003: PerlCleanupHandler Apache::lonacc::cleanup
1.1 harris41 1004: ErrorDocument 403 /adm/login
1005: ErrorDocument 500 /adm/errorhandler
1006: </Location>
1007:
1008: <Location /adm/email>
1.139 albertel 1009: AuthType LONCAPA
1.125 albertel 1010: Require valid-user
1011: PerlAuthzHandler Apache::lonacc
1.1 harris41 1012: SetHandler perl-script
1.130 albertel 1013: PerlHandler Apache::lonmsgdisplay
1.1 harris41 1014: ErrorDocument 403 /adm/login
1015: ErrorDocument 500 /adm/errorhandler
1016: </Location>
1017:
1.116 raeburn 1018: <Location /adm/notify>
1.139 albertel 1019: AuthType LONCAPA
1.125 albertel 1020: Require valid-user
1021: PerlAuthzHandler Apache::lonacc
1.116 raeburn 1022: SetHandler perl-script
1.126 albertel 1023: PerlHandler Apache::lonnotify
1.116 raeburn 1024: ErrorDocument 403 /adm/login
1025: ErrorDocument 500 /adm/errorhandler
1026: </Location>
1027:
1.1 harris41 1028: <Location /adm/parmset>
1.139 albertel 1029: AuthType LONCAPA
1.125 albertel 1030: Require valid-user
1031: PerlAuthzHandler Apache::lonacc
1.1 harris41 1032: SetHandler perl-script
1.126 albertel 1033: PerlHandler Apache::lonparmset
1.31 bowersj2 1034: ErrorDocument 403 /adm/login
1035: ErrorDocument 406 /adm/roles
1036: ErrorDocument 500 /adm/errorhandler
1037: </Location>
1038:
1.185 raeburn 1039: <Location /adm/courseprefs>
1040: AuthType LONCAPA
1041: Require valid-user
1042: PerlAuthzHandler Apache::lonacc
1043: SetHandler perl-script
1044: PerlHandler Apache::courseprefs
1045: ErrorDocument 403 /adm/login
1046: ErrorDocument 406 /adm/roles
1047: ErrorDocument 500 /adm/errorhandler
1048: </Location>
1049:
1.110 albertel 1050: <Location /adm/slotrequest>
1.139 albertel 1051: AuthType LONCAPA
1.125 albertel 1052: Require valid-user
1053: PerlAuthzHandler Apache::lonacc
1.110 albertel 1054: SetHandler perl-script
1.126 albertel 1055: PerlHandler Apache::slotrequest
1.110 albertel 1056: ErrorDocument 403 /adm/login
1057: ErrorDocument 406 /adm/roles
1058: ErrorDocument 500 /adm/errorhandler
1059: </Location>
1060:
1.31 bowersj2 1061: <Location /adm/wizard>
1.139 albertel 1062: AuthType LONCAPA
1.125 albertel 1063: Require valid-user
1064: PerlAuthzHandler Apache::lonacc
1.31 bowersj2 1065: SetHandler perl-script
1.126 albertel 1066: PerlHandler Apache::lonwizard
1.1 harris41 1067: ErrorDocument 403 /adm/login
1068: ErrorDocument 406 /adm/roles
1069: ErrorDocument 500 /adm/errorhandler
1070: </Location>
1071:
1072: <Location /adm/grades>
1.139 albertel 1073: AuthType LONCAPA
1.125 albertel 1074: Require valid-user
1075: PerlAuthzHandler Apache::lonacc
1.1 harris41 1076: SetHandler perl-script
1.126 albertel 1077: PerlHandler Apache::grades
1.1 harris41 1078: ErrorDocument 403 /adm/login
1079: ErrorDocument 406 /adm/roles
1080: ErrorDocument 500 /adm/errorhandler
1081: </Location>
1082:
1.187 raeburn 1083: <Location /adm/requestcourse>
1084: AuthType LONCAPA
1085: Require valid-user
1086: PerlAuthzHandler Apache::lonacc
1087: SetHandler perl-script
1088: PerlHandler Apache::lonrequestcourse
1089: ErrorDocument 403 /adm/login
1090: ErrorDocument 406 /adm/roles
1091: ErrorDocument 500 /adm/errorhandler
1092: </Location>
1093:
1.1 harris41 1094: <Location /adm/createcourse>
1.139 albertel 1095: AuthType LONCAPA
1.125 albertel 1096: Require valid-user
1097: PerlAuthzHandler Apache::lonacc
1.1 harris41 1098: SetHandler perl-script
1.126 albertel 1099: PerlHandler Apache::loncreatecourse
1.1 harris41 1100: ErrorDocument 403 /adm/login
1101: ErrorDocument 406 /adm/roles
1102: ErrorDocument 500 /adm/errorhandler
1.67 raeburn 1103: </Location>
1104:
1105: <Location /adm/modifycourse>
1.139 albertel 1106: AuthType LONCAPA
1.125 albertel 1107: Require valid-user
1108: PerlAuthzHandler Apache::lonacc
1.67 raeburn 1109: SetHandler perl-script
1.126 albertel 1110: PerlHandler Apache::lonmodifycourse
1.67 raeburn 1111: ErrorDocument 403 /adm/login
1112: ErrorDocument 406 /adm/roles
1113: ErrorDocument 500 /adm/errorhandler
1.1 harris41 1114: </Location>
1115:
1.163 raeburn 1116: <Location /adm/domainprefs>
1117: AuthType LONCAPA
1118: Require valid-user
1119: PerlAuthzHandler Apache::lonacc
1120: SetHandler perl-script
1121: PerlHandler Apache::domainprefs
1122: ErrorDocument 403 /adm/login
1123: ErrorDocument 406 /adm/roles
1124: ErrorDocument 500 /adm/errorhandler
1125: </Location>
1126:
1.182 raeburn 1127: <Location /adm/domainstatus>
1128: PerlAccessHandler Apache::lonstatusacc
1129: SetHandler perl-script
1130: PerlHandler Apache::domainstatus
1131: ErrorDocument 403 /adm/login
1132: ErrorDocument 406 /adm/roles
1133: ErrorDocument 500 /adm/errorhandler
1134: </Location>
1135:
1.1 harris41 1136: <Location /adm/createuser>
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::loncreateuser
1.1 harris41 1142: ErrorDocument 403 /adm/login
1143: ErrorDocument 406 /adm/roles
1144: ErrorDocument 500 /adm/errorhandler
1145: </Location>
1146:
1147: <Location /adm/publish>
1.139 albertel 1148: AuthType LONCAPA
1.125 albertel 1149: Require valid-user
1150: PerlAuthzHandler Apache::lonacc
1.1 harris41 1151: SetHandler perl-script
1.126 albertel 1152: PerlHandler Apache::lonpublisher
1.1 harris41 1153: ErrorDocument 403 /adm/login
1154: ErrorDocument 404 /adm/notfound.html
1.18 www 1155: ErrorDocument 406 /adm/unauthorized
1.1 harris41 1156: ErrorDocument 500 /adm/errorhandler
1157: </Location>
1158:
1.205 www 1159: <LocationMatch "^/+priv/.*/$">
1.139 albertel 1160: AuthType LONCAPA
1.131 albertel 1161: Require valid-user
1.125 albertel 1162: PerlAuthzHandler Apache::loncacc
1.1 harris41 1163: SetHandler perl-script
1.126 albertel 1164: PerlHandler Apache::lonpubdir
1.1 harris41 1165: ErrorDocument 403 /adm/login
1166: ErrorDocument 404 /adm/notfound.html
1.18 www 1167: ErrorDocument 406 /adm/unauthorized
1.1 harris41 1168: ErrorDocument 500 /adm/errorhandler
1169: </LocationMatch>
1170:
1.18 www 1171: <Location /adm/unauthorized>
1.139 albertel 1172: AuthType LONCAPA
1.125 albertel 1173: Require valid-user
1174: PerlAuthzHandler Apache::lonacc
1.18 www 1175: SetHandler perl-script
1.126 albertel 1176: PerlHandler Apache::lonunauthorized
1.18 www 1177: ErrorDocument 403 /adm/login
1178: ErrorDocument 404 /adm/notfound.html
1.1 harris41 1179: ErrorDocument 500 /adm/errorhandler
1180: </Location>
1181:
1182: <Location /adm/retrieve>
1.139 albertel 1183: AuthType LONCAPA
1.125 albertel 1184: Require valid-user
1185: PerlAuthzHandler Apache::lonacc
1.1 harris41 1186: SetHandler perl-script
1.126 albertel 1187: PerlHandler Apache::lonretrieve
1.1 harris41 1188: ErrorDocument 403 /adm/login
1189: ErrorDocument 404 /adm/notfound.html
1.18 www 1190: ErrorDocument 406 /adm/unauthorized
1.1 harris41 1191: ErrorDocument 500 /adm/errorhandler
1192: </Location>
1193:
1.109 www 1194: <Location /adm/cleanup>
1.139 albertel 1195: AuthType LONCAPA
1.125 albertel 1196: Require valid-user
1197: PerlAuthzHandler Apache::lonacc
1.109 www 1198: SetHandler perl-script
1.126 albertel 1199: PerlHandler Apache::loncleanup
1.109 www 1200: ErrorDocument 403 /adm/login
1201: ErrorDocument 404 /adm/notfound.html
1202: ErrorDocument 406 /adm/unauthorized
1203: ErrorDocument 500 /adm/errorhandler
1204: </Location>
1205:
1.1 harris41 1206: <Location /adm/cfile>
1.139 albertel 1207: AuthType LONCAPA
1.125 albertel 1208: Require valid-user
1209: PerlAuthzHandler Apache::lonacc
1.1 harris41 1210: SetHandler perl-script
1.126 albertel 1211: PerlHandler Apache::loncfile
1.1 harris41 1212: ErrorDocument 403 /adm/login
1213: ErrorDocument 404 /adm/notfound.html
1.18 www 1214: ErrorDocument 406 /adm/unauthorized
1.1 harris41 1215: ErrorDocument 500 /adm/errorhandler
1216: </Location>
1217:
1218: <Location /adm/diff>
1.139 albertel 1219: AuthType LONCAPA
1.125 albertel 1220: Require valid-user
1221: PerlAuthzHandler Apache::lonacc
1.1 harris41 1222: SetHandler perl-script
1.126 albertel 1223: PerlHandler Apache::londiff
1.1 harris41 1224: ErrorDocument 403 /adm/login
1225: ErrorDocument 404 /adm/notfound.html
1.18 www 1226: ErrorDocument 406 /adm/unauthorized
1.1 harris41 1227: ErrorDocument 500 /adm/errorhandler
1228: </Location>
1229:
1230: <Location /adm/upload>
1.139 albertel 1231: AuthType LONCAPA
1.125 albertel 1232: Require valid-user
1233: PerlAuthzHandler Apache::lonacc
1.1 harris41 1234: SetHandler perl-script
1.126 albertel 1235: PerlHandler Apache::lonupload
1.1 harris41 1236: ErrorDocument 403 /adm/login
1237: ErrorDocument 404 /adm/notfound.html
1.18 www 1238: ErrorDocument 406 /adm/unauthorized
1.1 harris41 1239: ErrorDocument 500 /adm/errorhandler
1.72 raeburn 1240: </Location>
1241:
1.73 raeburn 1242: <Location /adm/imsimport>
1.139 albertel 1243: AuthType LONCAPA
1.125 albertel 1244: Require valid-user
1245: PerlAuthzHandler Apache::lonacc
1.73 raeburn 1246: SetHandler perl-script
1.126 albertel 1247: PerlHandler Apache::imsimport
1.73 raeburn 1248: ErrorDocument 403 /adm/login
1249: ErrorDocument 404 /adm/notfound.html
1250: ErrorDocument 406 /adm/unauthorized
1251: ErrorDocument 500 /adm/errorhandler
1252: </Location>
1253:
1.72 raeburn 1254: <Location /adm/testbank>
1.139 albertel 1255: AuthType LONCAPA
1.125 albertel 1256: Require valid-user
1257: PerlAuthzHandler Apache::lonacc
1.72 raeburn 1258: SetHandler perl-script
1.126 albertel 1259: PerlHandler Apache::testbankimport
1.72 raeburn 1260: ErrorDocument 403 /adm/login
1261: ErrorDocument 404 /adm/notfound.html
1262: ErrorDocument 406 /adm/unauthorized
1263: ErrorDocument 500 /adm/errorhandler
1.1 harris41 1264: </Location>
1265:
1266: <Location /adm/assesscalc>
1.139 albertel 1267: AuthType LONCAPA
1.125 albertel 1268: Require valid-user
1269: PerlAuthzHandler Apache::lonacc
1.1 harris41 1270: SetHandler perl-script
1.126 albertel 1271: PerlHandler Apache::lonspreadsheet
1.1 harris41 1272: ErrorDocument 403 /adm/login
1273: ErrorDocument 406 /adm/roles
1.20 www 1274: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 1275: ErrorDocument 500 /adm/errorhandler
1276: </Location>
1277:
1278: <Location /adm/studentcalc>
1.139 albertel 1279: AuthType LONCAPA
1.125 albertel 1280: Require valid-user
1281: PerlAuthzHandler Apache::lonacc
1.1 harris41 1282: SetHandler perl-script
1.126 albertel 1283: PerlHandler Apache::lonspreadsheet
1.1 harris41 1284: ErrorDocument 403 /adm/login
1285: ErrorDocument 406 /adm/roles
1.20 www 1286: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 1287: ErrorDocument 500 /adm/errorhandler
1288: </Location>
1289:
1290: <Location /adm/classcalc>
1.139 albertel 1291: AuthType LONCAPA
1.125 albertel 1292: Require valid-user
1293: PerlAuthzHandler Apache::lonacc
1.1 harris41 1294: SetHandler perl-script
1.126 albertel 1295: PerlHandler Apache::lonspreadsheet
1.1 harris41 1296: ErrorDocument 403 /adm/login
1297: ErrorDocument 406 /adm/roles
1.20 www 1298: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 1299: ErrorDocument 500 /adm/errorhandler
1300: </Location>
1301:
1302: <Location /adm/dropadd>
1.139 albertel 1303: AuthType LONCAPA
1.125 albertel 1304: Require valid-user
1305: PerlAuthzHandler Apache::lonacc
1.1 harris41 1306: SetHandler perl-script
1.126 albertel 1307: PerlHandler Apache::londropadd
1.44 www 1308: ErrorDocument 403 /adm/login
1309: ErrorDocument 406 /adm/roles
1310: ErrorDocument 500 /adm/errorhandler
1.65 raeburn 1311: </Location>
1312:
1.92 matthew 1313: <Location /adm/viewclasslist>
1.139 albertel 1314: AuthType LONCAPA
1.125 albertel 1315: Require valid-user
1316: PerlAuthzHandler Apache::lonacc
1.92 matthew 1317: SetHandler perl-script
1.126 albertel 1318: PerlHandler Apache::lonviewclasslist
1.92 matthew 1319: ErrorDocument 403 /adm/login
1320: ErrorDocument 406 /adm/roles
1321: ErrorDocument 500 /adm/errorhandler
1322: </Location>
1323:
1.118 raeburn 1324: <Location /adm/coursegroups>
1.139 albertel 1325: AuthType LONCAPA
1.125 albertel 1326: Require valid-user
1327: PerlAuthzHandler Apache::lonacc
1.118 raeburn 1328: SetHandler perl-script
1.126 albertel 1329: PerlHandler Apache::loncoursegroups
1.118 raeburn 1330: ErrorDocument 403 /adm/login
1331: ErrorDocument 406 /adm/roles
1332: ErrorDocument 500 /adm/errorhandler
1333: </Location>
1334:
1.143 raeburn 1335: <Location /adm/groupboards>
1336: AuthType LONCAPA
1337: Require valid-user
1338: PerlAuthzHandler Apache::lonacc
1339: SetHandler perl-script
1340: PerlHandler Apache::groupboards
1341: ErrorDocument 403 /adm/login
1342: ErrorDocument 406 /adm/roles
1343: ErrorDocument 500 /adm/errorhandler
1344: </Location>
1345:
1.144 raeburn 1346: <Location /adm/grouproster>
1347: AuthType LONCAPA
1348: Require valid-user
1349: PerlAuthzHandler Apache::lonacc
1350: SetHandler perl-script
1351: PerlHandler Apache::grouproster
1352: ErrorDocument 403 /adm/login
1353: ErrorDocument 406 /adm/roles
1354: ErrorDocument 500 /adm/errorhandler
1355: </Location>
1356:
1.112 raeburn 1357: <Location /adm/whatsnew>
1.139 albertel 1358: AuthType LONCAPA
1.125 albertel 1359: Require valid-user
1360: PerlAuthzHandler Apache::lonacc
1.112 raeburn 1361: SetHandler perl-script
1.126 albertel 1362: PerlHandler Apache::lonwhatsnew
1.112 raeburn 1363: ErrorDocument 403 /adm/login
1364: ErrorDocument 406 /adm/roles
1365: ErrorDocument 500 /adm/errorhandler
1366: </Location>
1367:
1.65 raeburn 1368: <Location /adm/populate>
1.139 albertel 1369: AuthType LONCAPA
1.125 albertel 1370: Require valid-user
1371: PerlAuthzHandler Apache::lonacc
1.65 raeburn 1372: SetHandler perl-script
1.126 albertel 1373: PerlHandler Apache::lonpopulate
1.65 raeburn 1374: ErrorDocument 403 /adm/login
1375: ErrorDocument 406 /adm/roles
1376: ErrorDocument 500 /adm/errorhandler
1.44 www 1377: </Location>
1378:
1379: <Location /adm/managekeys>
1.139 albertel 1380: AuthType LONCAPA
1.125 albertel 1381: Require valid-user
1382: PerlAuthzHandler Apache::lonacc
1.44 www 1383: SetHandler perl-script
1.126 albertel 1384: PerlHandler Apache::lonmanagekeys
1.1 harris41 1385: ErrorDocument 403 /adm/login
1386: ErrorDocument 406 /adm/roles
1387: ErrorDocument 500 /adm/errorhandler
1388: </Location>
1389:
1390: <Location /adm/printout>
1.139 albertel 1391: AuthType LONCAPA
1.125 albertel 1392: Require valid-user
1393: PerlAuthzHandler Apache::lonacc
1.1 harris41 1394: SetHandler perl-script
1.126 albertel 1395: PerlHandler Apache::lonprintout
1.1 harris41 1396: ErrorDocument 403 /adm/login
1.20 www 1397: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 1398: ErrorDocument 500 /adm/errorhandler
1399: </Location>
1400:
1401: <Location /adm/feedback>
1.139 albertel 1402: AuthType LONCAPA
1.125 albertel 1403: Require valid-user
1404: PerlAuthzHandler Apache::lonacc
1.1 harris41 1405: SetHandler perl-script
1.126 albertel 1406: PerlHandler Apache::lonfeedback
1.10 www 1407: ErrorDocument 403 /adm/login
1408: ErrorDocument 500 /adm/errorhandler
1409: </Location>
1410:
1411: <Location /adm/coursedocs>
1.139 albertel 1412: AuthType LONCAPA
1.125 albertel 1413: Require valid-user
1414: PerlAuthzHandler Apache::lonacc
1.10 www 1415: SetHandler perl-script
1.126 albertel 1416: PerlHandler Apache::londocs
1.108 albertel 1417: PerlCleanupHandler Apache::londocs::untiehash
1.129 albertel 1418: PerlCleanupHandler Apache::lonacc::cleanup
1.10 www 1419: ErrorDocument 403 /adm/login
1420: ErrorDocument 500 /adm/errorhandler
1.73 raeburn 1421: </Location>
1422:
1.207 raeburn 1423: <Location /adm/supplemental>
1424: AuthType LONCAPA
1425: Require valid-user
1426: PerlAuthzHandler Apache::lonacc
1427: SetHandler perl-script
1428: PerlHandler Apache::londocs
1429: PerlCleanupHandler Apache::londocs::untiehash
1430: PerlCleanupHandler Apache::lonacc::cleanup
1431: ErrorDocument 403 /adm/login
1432: ErrorDocument 500 /adm/errorhandler
1433: </Location>
1434:
1.73 raeburn 1435: <Location /adm/imsimportdocs>
1.139 albertel 1436: AuthType LONCAPA
1.125 albertel 1437: Require valid-user
1438: PerlAuthzHandler Apache::lonacc
1.73 raeburn 1439: SetHandler perl-script
1.126 albertel 1440: PerlHandler Apache::imsimportdocs
1.73 raeburn 1441: ErrorDocument 403 /adm/login
1442: ErrorDocument 500 /adm/errorhandler
1.10 www 1443: </Location>
1444:
1.224 raeburn 1445: <Location /adm/extresedit>
1446: AuthType LONCAPA
1447: Require valid-user
1448: PerlAuthzHandler Apache::lonacc
1449: SetHandler perl-script
1450: PerlHandler Apache::lonextresedit
1451: ErrorDocument 403 /adm/login
1452: ErrorDocument 500 /adm/errorhandler
1453: </Location>
1454:
1.135 www 1455: <LocationMatch "^/adm/announcements">
1.139 albertel 1456: AuthType LONCAPA
1.125 albertel 1457: Require valid-user
1458: PerlAuthzHandler Apache::lonacc
1.10 www 1459: SetHandler perl-script
1.126 albertel 1460: PerlHandler Apache::lonannounce
1.10 www 1461: ErrorDocument 403 /adm/login
1462: ErrorDocument 500 /adm/errorhandler
1.135 www 1463: </LocationMatch>
1.10 www 1464:
1465: <Location /adm/chat>
1.139 albertel 1466: AuthType LONCAPA
1.125 albertel 1467: Require valid-user
1468: PerlAuthzHandler Apache::lonacc
1.10 www 1469: SetHandler perl-script
1.126 albertel 1470: PerlHandler Apache::lonchat
1.13 www 1471: ErrorDocument 500 /adm/errorhandler
1472: </Location>
1473:
1474: <Location /adm/chatfetch>
1.139 albertel 1475: AuthType LONCAPA
1.125 albertel 1476: Require valid-user
1477: PerlAuthzHandler Apache::lonacc
1.13 www 1478: SetHandler perl-script
1.126 albertel 1479: PerlHandler Apache::lonchatfetch
1.20 www 1480: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 1481: ErrorDocument 500 /adm/errorhandler
1482: </Location>
1483:
1.137 albertel 1484: <Location /adm/groupchat>
1.139 albertel 1485: AuthType LONCAPA
1.137 albertel 1486: Require valid-user
1487: PerlAuthzHandler Apache::lonacc
1488: SetHandler perl-script
1489: PerlHandler Apache::longroupchat
1490: ErrorDocument 403 /adm/login
1491: ErrorDocument 500 /adm/errorhandler
1492: </Location>
1493:
1.1 harris41 1494: <Location /adm/evaluate>
1.139 albertel 1495: AuthType LONCAPA
1.125 albertel 1496: Require valid-user
1497: PerlAuthzHandler Apache::lonacc
1.1 harris41 1498: SetHandler perl-script
1.126 albertel 1499: PerlHandler Apache::lonevaluate
1.1 harris41 1500: ErrorDocument 403 /adm/login
1501: ErrorDocument 500 /adm/errorhandler
1502: </Location>
1503:
1504: <Location /adm/preferences>
1.139 albertel 1505: AuthType LONCAPA
1.125 albertel 1506: Require valid-user
1507: PerlAuthzHandler Apache::lonacc
1.1 harris41 1508: SetHandler perl-script
1.126 albertel 1509: PerlHandler Apache::lonpreferences
1.1 harris41 1510: ErrorDocument 403 /adm/login
1511: ErrorDocument 500 /adm/errorhandler
1512: </Location>
1513:
1.284 raeburn 1514: <Location /adm/viewcoauthors>
1515: AuthType LONCAPA
1516: Require valid-user
1517: PerlAuthzHandler Apache::lonacc
1518: SetHandler perl-script
1519: PerlHandler Apache::lonviewcoauthors
1520: ErrorDocument 403 /adm/login
1521: ErrorDocument 406 /adm/roles
1522: ErrorDocument 500 /adm/errorhandler
1523: </Location>
1524:
1.1 harris41 1525: <Location /adm/communicate>
1.139 albertel 1526: AuthType LONCAPA
1.125 albertel 1527: Require valid-user
1528: PerlAuthzHandler Apache::lonacc
1.1 harris41 1529: SetHandler perl-script
1.126 albertel 1530: PerlHandler Apache::loncommunicate
1.1 harris41 1531: ErrorDocument 403 /adm/login
1532: ErrorDocument 500 /adm/errorhandler
1533: </Location>
1534:
1535: <Location /adm/searchcat>
1.139 albertel 1536: AuthType LONCAPA
1.125 albertel 1537: Require valid-user
1538: PerlAuthzHandler Apache::lonacc
1.1 harris41 1539: SetHandler perl-script
1.126 albertel 1540: PerlHandler Apache::lonsearchcat
1.28 www 1541: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.129 albertel 1542: PerlCleanupHandler Apache::lonacc::cleanup
1.1 harris41 1543: ErrorDocument 403 /adm/login
1.20 www 1544: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 1545: ErrorDocument 500 /adm/errorhandler
1546: </Location>
1547:
1548: <Location /adm/navmaps>
1.139 albertel 1549: AuthType LONCAPA
1.125 albertel 1550: Require valid-user
1551: PerlAuthzHandler Apache::lonacc
1.1 harris41 1552: SetHandler perl-script
1.160 albertel 1553: PerlHandler Apache::lonnavdisplay
1.1 harris41 1554: ErrorDocument 403 /adm/login
1555: ErrorDocument 406 /adm/roles
1556: ErrorDocument 500 /adm/errorhandler
1.26 bowersj2 1557: </Location>
1558:
1559: <Location /adm/quickgrades>
1.139 albertel 1560: AuthType LONCAPA
1.125 albertel 1561: Require valid-user
1562: PerlAuthzHandler Apache::lonacc
1.26 bowersj2 1563: SetHandler perl-script
1.126 albertel 1564: PerlHandler Apache::lonquickgrades
1.26 bowersj2 1565: ErrorDocument 403 /adm/login
1566: ErrorDocument 406 /adm/roles
1567: ErrorDocument 500 /adm/errorhandler
1.1 harris41 1568: </Location>
1569:
1570: <Location /adm/groupsort>
1.139 albertel 1571: AuthType LONCAPA
1.125 albertel 1572: Require valid-user
1573: PerlAuthzHandler Apache::lonacc
1.1 harris41 1574: SetHandler perl-script
1.126 albertel 1575: PerlHandler Apache::groupsort
1.29 www 1576: PerlCleanupHandler Apache::groupsort::cleanup
1.129 albertel 1577: PerlCleanupHandler Apache::lonacc::cleanup
1.1 harris41 1578: ErrorDocument 403 /adm/login
1.251 raeburn 1579: ErrorDocument 406 /adm/roles
1.1 harris41 1580: ErrorDocument 500 /adm/errorhandler
1581: </Location>
1582:
1.197 wenzelju 1583: <Location /adm/wishlist>
1584: AuthType LONCAPA
1585: Require valid-user
1586: PerlAuthzHandler Apache::lonacc
1587: SetHandler perl-script
1.202 wenzelju 1588: PerlHandler Apache::lonwishlistdisplay
1.197 wenzelju 1589: ErrorDocument 403 /adm/login
1590: ErrorDocument 406 /adm/roles
1591: ErrorDocument 500 /adm/errorhandler
1592: </Location>
1593:
1.208 raeburn 1594: <Location /adm/setblock>
1595: AuthType LONCAPA
1596: Require valid-user
1597: PerlAuthzHandler Apache::lonacc
1598: SetHandler perl-script
1599: PerlHandler Apache::lonblockingmenu
1600: ErrorDocument 403 /adm/login
1.209 raeburn 1601: ErrorDocument 406 /adm/roles
1.208 raeburn 1602: ErrorDocument 500 /adm/errorhandler
1603: </Location>
1604:
1.186 droeschl 1605: <Location /adm/blockingstatus>
1.188 droeschl 1606: PerlAccessHandler Apache::publiccheck
1.186 droeschl 1607: AuthType LONCAPA
1608: Require valid-user
1609: PerlAuthzHandler Apache::lonacc
1.188 droeschl 1610: SetHandler perl-script
1611: PerlHandler Apache::lonblockingstatus
1.186 droeschl 1612: </Location>
1613:
1.249 raeburn 1614: <Location /adm/accesstimes>
1615: AuthType LONCAPA
1616: Require valid-user
1617: PerlAuthzHandler Apache::lonacc
1618: SetHandler perl-script
1619: PerlHandler Apache::lonaccesstimes
1620: ErrorDocument 403 /adm/login
1621: ErrorDocument 406 /adm/roles
1622: ErrorDocument 500 /adm/errorhandler
1623: </Location>
1624:
1.1 harris41 1625: <Location /adm/errorhandler>
1626: SetHandler perl-script
1.126 albertel 1627: PerlHandler Apache::lonerrorhandler
1.1 harris41 1628: </Location>
1629:
1.7 bowersj2 1630: <LocationMatch "^/adm/help/.*\.hlp$">
1.139 albertel 1631: AuthType LONCAPA
1.125 albertel 1632: Require valid-user
1.147 albertel 1633: PerlAccessHandler Apache::publiccheck
1.125 albertel 1634: PerlAuthzHandler Apache::lonacc
1.7 bowersj2 1635: SetHandler perl-script
1.126 albertel 1636: PerlHandler Apache::lonhelp
1.154 albertel 1637: ErrorDocument 500 /adm/errorhandler
1.7 bowersj2 1638: </LocationMatch>
1639:
1.90 raeburn 1640: <LocationMatch "^/adm/helpmenu">
1.139 albertel 1641: AuthType LONCAPA
1.125 albertel 1642: Require valid-user
1643: PerlAuthzHandler Apache::lonacc
1.90 raeburn 1644: SetHandler perl-script
1.126 albertel 1645: PerlHandler Apache::lonhelpmenu
1.154 albertel 1646: ErrorDocument 500 /adm/errorhandler
1.90 raeburn 1647: </LocationMatch>
1648:
1649: <LocationMatch "^/adm/support">
1.139 albertel 1650: AuthType LONCAPA
1.125 albertel 1651: Require valid-user
1652: PerlAuthzHandler Apache::lonacc
1.90 raeburn 1653: SetHandler perl-script
1.126 albertel 1654: PerlHandler Apache::lonsupportreq
1.154 albertel 1655: ErrorDocument 500 /adm/errorhandler
1.90 raeburn 1656: </LocationMatch>
1657:
1.100 raeburn 1658: <LocationMatch "^/adm/helpdesk">
1659: SetHandler perl-script
1.126 albertel 1660: PerlHandler Apache::lonsupportreq
1.154 albertel 1661: ErrorDocument 500 /adm/errorhandler
1.100 raeburn 1662: </LocationMatch>
1663:
1.221 raeburn 1664: <LocationMatch "^/adm/css/.*\.css$">
1.133 albertel 1665: SetHandler perl-script
1666: PerlHandler Apache::loncss
1.154 albertel 1667: ErrorDocument 500 /adm/errorhandler
1.133 albertel 1668: </LocationMatch>
1669:
1.155 raeburn 1670: <LocationMatch "^/adm/coursecatalog">
1671: SetHandler perl-script
1672: PerlHandler Apache::coursecatalog
1.156 albertel 1673: ErrorDocument 500 /adm/errorhandler
1.155 raeburn 1674: </LocationMatch>
1675:
1.161 raeburn 1676: <LocationMatch "^/adm/resetpw">
1677: SetHandler perl-script
1678: PerlHandler Apache::resetpw
1679: ErrorDocument 500 /adm/errorhandler
1680: </LocationMatch>
1.155 raeburn 1681:
1.173 raeburn 1682: <LocationMatch "^/adm/selfenroll">
1683: SetHandler perl-script
1684: PerlHandler Apache::selfenroll
1685: ErrorDocument 500 /adm/errorhandler
1686: </LocationMatch>
1687:
1.171 raeburn 1688: <LocationMatch "^/adm/createaccount">
1689: SetHandler perl-script
1690: PerlHandler Apache::createaccount
1691: ErrorDocument 500 /adm/errorhandler
1692: </LocationMatch>
1693:
1.165 albertel 1694: <LocationMatch "^/adm/dns">
1695: SetHandler perl-script
1696: PerlHandler Apache::londns
1697: ErrorDocument 500 /adm/errorhandler
1698: </LocationMatch>
1.164 albertel 1699:
1.219 foxr 1700: <LocationMatch "^/ajax/spellcheck">
1.218 foxr 1701: SetHandler perl-script
1.219 foxr 1702: PerlHandler Apache::spellcheck
1.218 foxr 1703: </LocationMatch>
1704:
1.266 raeburn 1705: <LocationMatch "^/tiny/[\w.-]+/\w+$">
1.262 raeburn 1706: AuthType LONCAPA
1707: Require valid-user
1708: PerlAuthzHandler Apache::lonacc
1709: SetHandler perl-script
1710: PerlHandler Apache::lontiny
1711: ErrorDocument 403 /adm/login
1712: ErrorDocument 406 /adm/roles
1713: ErrorDocument 500 /adm/errorhandler
1714: </LocationMatch>
1.218 foxr 1715:
1.1 harris41 1716: # ------------------------------------------------- Backdoor Adm Tests/Programs
1717:
1718: <Location /adm/test>
1.181 raeburn 1719: PerlAccessHandler Apache::lonstatusacc
1.1 harris41 1720: SetHandler perl-script
1.126 albertel 1721: PerlHandler Apache::lontest
1.1 harris41 1722: </Location>
1723:
1724: # ------------------------------------------------------- Shutting down a child
1725:
1.129 albertel 1726: PerlChildExitHandler Apache::lonacc::goodbye
1.1 harris41 1727:
1728: #
1729: # LON-CAPA Section (extensions to access.conf permission configuration)
1730: #
1731: # =========================================================== Directory Options
1732:
1733: # Start out with "no"
1734:
1735: <Directory />
1736: Options None
1737: AllowOverride None
1.226 raeburn 1738: <IfModule mod_authz_core.c>
1739: Require all denied
1740: </IfModule>
1741: <IfModule !mod_authz_core.c>
1742: order deny,allow
1743: deny from all
1744: </IfModule>
1.158 raeburn 1745: </Directory>
1746:
1747: # Allow uploaded files to be served
1748:
1749: <Directory "/home/httpd/lonUsers">
1.257 raeburn 1750: Options FollowSymLinks
1.158 raeburn 1751: AllowOverride None
1.226 raeburn 1752: <IfModule mod_authz_core.c>
1753: Require all granted
1754: </IfModule>
1755: <IfModule !mod_authz_core.c>
1756: order allow,deny
1757: allow from all
1758: </IfModule>
1.158 raeburn 1759: </Directory>
1760:
1.1 harris41 1761: # Yes to symbolic links and server-side includes
1762:
1763: <Directory /home/httpd/html>
1.257 raeburn 1764: Options FollowSymLinks
1.1 harris41 1765: AllowOverride None
1.226 raeburn 1766: <IfModule mod_authz_core.c>
1767: Require all granted
1768: </IfModule>
1769: <IfModule !mod_authz_core.c>
1770: order allow,deny
1771: allow from all
1772: </IfModule>
1.1 harris41 1773: </Directory>
1774:
1775: # If it is in cgi-bin, then it can be executed as a CGI script.
1776:
1777: <Directory /home/httpd/cgi-bin>
1778: AllowOverride None
1.157 albertel 1779: Options ExecCGI FollowSymLinks
1.226 raeburn 1780: <IfModule mod_authz_core.c>
1781: Require all granted
1782: </IfModule>
1783: <IfModule !mod_authz_core.c>
1784: order allow,deny
1785: allow from all
1786: </IfModule>
1.159 raeburn 1787: </Directory>
1788:
1789: # Allow serving of files in prtspool
1790:
1791: <Directory "/home/httpd/prtspool/">
1.256 raeburn 1792: Options FollowSymLinks
1.159 raeburn 1793: AllowOverride None
1.226 raeburn 1794: <IfModule mod_authz_core.c>
1795: Require all granted
1796: </IfModule>
1797: <IfModule !mod_authz_core.c>
1798: order allow,deny
1799: allow from all
1800: </IfModule>
1.1 harris41 1801: </Directory>
1802:
1.167 banghart 1803: # Allow serving of files in zipspool
1804:
1805: <Directory "/home/httpd/zipspool/">
1.256 raeburn 1806: Options FollowSymLinks
1.167 banghart 1807: AllowOverride None
1.226 raeburn 1808: <IfModule mod_authz_core.c>
1809: Require all granted
1810: </IfModule>
1811: <IfModule !mod_authz_core.c>
1812: order allow,deny
1813: allow from all
1814: </IfModule>
1.167 banghart 1815: </Directory>
1816:
1.177 raeburn 1817: # Allow serving of files in captchaspool
1818:
1819: <Directory "/home/httpd/captchaspool/">
1.256 raeburn 1820: Options FollowSymLinks
1.177 raeburn 1821: AllowOverride None
1.226 raeburn 1822: <IfModule mod_authz_core.c>
1823: Require all granted
1824: </IfModule>
1825: <IfModule !mod_authz_core.c>
1826: order allow,deny
1827: allow from all
1828: </IfModule>
1.177 raeburn 1829: </Directory>
1830:
1.227 raeburn 1831: <DirectoryMatch "^/home/httpd/html/priv/.+/">
1832: DirectoryIndex disabled
1833: </DirectoryMatch>
1834:
1.235 raeburn 1835: <DirectoryMatch "^/home/httpd/html/res/.+/">
1836: DirectoryIndex disabled
1837: </DirectoryMatch>
1838:
1.1 harris41 1839: # ============================================================= Access Handlers
1840:
1841: # ------------------------------------------------- Allow server-status reports
1842: <Location /server-status>
1.181 raeburn 1843: PerlAccessHandler Apache::lonstatusacc
1.1 harris41 1844: SetHandler server-status
1845: </Location>
1846:
1847: # ------------------------ Allow LON-CAPA "low-level" connection status reports
1.181 raeburn 1848: <LocationMatch "^/+lon-status/.*">
1849: PerlAccessHandler Apache::lonstatusacc
1850: ErrorDocument 406 /adm/roles
1851: ErrorDocument 500 /adm/errorhandler
1852: </LocationMatch>
1.1 harris41 1853:
1854: # ------------------- Allow access to local system documentation from localhost
1855: Alias /doc /usr/doc
1856: <Directory /usr/doc>
1857: Options Indexes FollowSymLinks
1.226 raeburn 1858: <IfModule mod_authz_host.c>
1859: Require local
1860: </IfModule>
1861: <IfModule !mod_authz_host.c>
1862: order deny,allow
1863: deny from all
1864: allow from localhost
1865: </IfModule>
1.1 harris41 1866: </Directory>
1867:
1868: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
1869: # ====================================== Internal Settings / Perl Configuration
1870:
1.250 raeburn 1871: PerlSetVar lonVersion '<!-- VERSION -->'
1.1 harris41 1872: PerlSetVar lonIDsDir /home/httpd/lonIDs
1.264 raeburn 1873: PerlSetVar lonBalanceDir /home/httpd/balanceIDs
1.210 raeburn 1874: PerlSetVar lonDAVsessDir /home/httpd/webdav/sessionIDs
1.1 harris41 1875: PerlSetVar lonTabDir /home/httpd/lonTabs
1876: PerlSetVar lonUsersDir /home/httpd/lonUsers
1877: PerlSetVar lonIconsURL /adm/lonIcons
1878: PerlSetVar londPort 5663
1.229 raeburn 1879: PerlSetVar lonSysEMail techsupport@loncapa.org
1.1 harris41 1880: PerlSetVar lonDaemons /home/httpd/perl
1.184 foxr 1881: PerlSetVar lonLib /home/httpd/lib
1.1 harris41 1882: PerlSetVar lonSockDir /home/httpd/sockets
1.164 albertel 1883: PerlSetVar lonSockCreate /home/httpd/sockets/common
1.1 harris41 1884: PerlSetVar lonDocRoot /home/httpd/html
1.98 albertel 1885: PerlSetVar lonPrtDir /home/httpd/prtspool
1.1 harris41 1886: PerlSetVar lonIncludes /home/httpd/html/res/adm/includes
1.166 banghart 1887: PerlSetVar lonZipDir /home/httpd/zipspool
1.177 raeburn 1888: PerlSetVar lonCaptchaDir /home/httpd/captchaspool
1889: PerlSetVar lonCaptchaDb /home/httpd/captchadb
1.258 raeburn 1890: PerlSetVar lonLTIDir /home/httpd/lonLTItmp
1.269 raeburn 1891: PerlSetVar ltiIDsDir /home/httpd/ltiIDs
1.168 albertel 1892: PerlSetVar lonFontsDir /home/httpd/html/adm/fonts
1.231 raeburn 1893: # & separated list of % separated fields in order of
1.119 albertel 1894: # - internal name to call it,
1895: # - regexp that it should match (done case-insensitively)
1896: # - regexp that is should not match (done case-insensitively)
1897: # - regexp that will pull out the version number into $1
1898: # - a number that describes the minimum version that has mathml support
1899: # - a number that describes the minimum number version that has unicode support
1900:
1.233 raeburn 1901: 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 1902:
1.105 albertel 1903: PerlSetVar lonTextBrowsers windows\s+ce:lynx
1.43 albertel 1904: PerlSetVar lonScansDir /home/httpd/scantron
1905: PerlSetVar lonScriptTimeout 10
1.270 raeburn 1906: PerlSetVar BugzillaHost https://bugs.loncapa.org/
1.70 www 1907: PerlSetVar FAQHost http://help.lon-capa.org/
1.2 harris41 1908: # -----------------------------------------------------------------------------
1909: # NOTE: lonSqlAccess key is the password for the MySQL user
1910: # www@localhost. This value must always be "localhostkey".
1911: # The only security risk occurs when somebody logs in as 'www' on your system
1912: # (in which case you have much bigger problems than whether or not they
1913: # can access the non-authoritative loncapa database on your machine).
1914:
1915: PerlSetVar lonSqlAccess localhostkey
1916:
1.86 foxr 1917: #----------------------------------------------------------------------------
1918: #
1.79 foxr 1919: # Parameters used by secure lond/lonc
1920:
1921: #
1922: # Secure lond/lonc require ssl certificate and private
1923: # key files to function correctly. The certificate
1924: # files need not be terribly secure, but the private key files
1925: # should be set up so that only www (the lonc/lond effective user)
1926: # can read them.
1927: #
1928: # The definition below is the full path to the directory that
1929: # contains the certificate and key files:
1.82 foxr 1930:
1.79 foxr 1931: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
1932:
1933: #
1934: # Secure lond/lonc require two certificates and a private host key.
1935: # The certificates required are that of the lonCAPA certificate authority
1936: # and the certificate that authority issued to this host.
1937: # lonnetCertificateAuthority is the name of the file that contains the
1938: # lonCAPA certificate authority's certificate.
1939: # lonnetCertificate is the name of the file that contains the certificate
1940: # issued to the host by the certificate authority.
1941: # Both of these variables are names of files assumed to be in
1942: # lonCertificateDirectory:
1943:
1944: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
1945: PerlSetVar lonnetCertificate lonhostcert.pem
1.248 raeburn 1946: PerlSetVar lonnetHostnameCertificate lonhostnamecert.pem
1.263 raeburn 1947: PerlSetVar lonnetCertRevocationList loncapaCAcrl.pem
1.79 foxr 1948:
1949: #
1950: # To generate the request for a certificate, and to negotiate the
1951: # initial ssl connection, the host requires a private key. This key
1952: # is created at lonCAPA install time. Did we mention above that it
1953: # should be set so that only www can read it? The variale below
1954: # is the name of the file relative to lonnetCertificateDirectory
1955: # that has the host's private key. Did we remember to tell you to
1956: # keep the permissions on that file set to rw------- (0600)?
1957: #
1958:
1959: PerlSetVar lonnetPrivateKey lonKey.pem
1960:
1961: # Did we mention that the file described above must have
1962: # permissions really locked down so that it can't be stolen?
1963:
1.86 foxr 1964: #-------------------------------------------------------------------------
1965:
1966: # Parameters that define where all the ssl stuff is that's needed
1967: # to generate certificate requests and, on a system that's a CA
1968: # the certificate authority.
1969: #
1970: # SSLProgram -> Path to the openssl command
1971: # SSLDirectory -> Directory containing ssl configuration files etc.
1972: # SSLCAConfig -> Name of the SSL config file for the certificate
1973: # Authority.
1.87 foxr 1974: # SSLCAFile -> Full path to the Certificate authority file
1975: # (on the cert manager system).
1976: # SSLEmail -> E-mail address of loncapa certificate manager.
1.86 foxr 1977: # The following are good for the loncapa redhat installs and
1978: # the loncapa certificate authority system:
1979: #
1980: PerlSetVar SSLProgram /usr/bin/openssl
1981: PerlSetVar SSLDirectory /usr/share/ssl
1982: PerlSetVar SSLCAConfig loncapaca
1.87 foxr 1983: PerlSetVar SSLCAFile /usr/share/ssl/loncapaca/cacert.pem
1.93 albertel 1984: PerlSetVar SSLEmail certificate@lon-capa.org
1.86 foxr 1985:
1986: #-------------------------------------------------------------------------
1987:
1.79 foxr 1988:
1.204 raeburn 1989: # ====================================== Include support for SSL rewrites
1990:
1991: Include conf/loncapa_rewrite.conf
1.79 foxr 1992:
1.2 harris41 1993:
1.8 harris41 1994: # ====================================== Include machine-specific configuration
1.2 harris41 1995:
1996: Include conf/loncapa.conf
1.61 albertel 1997:
1998: # ================================================= Include local configuration
1999:
2000: Include conf/loncapa_apache_local*.conf
1.1 harris41 2001:
2002: # ================================================== Initiate mod_perl starting
2003:
2004: PerlRequire conf/startup.pl
1.47 albertel 2005: <IfDefine !MODPERL2>
1.1 harris41 2006: PerlFreshRestart On
1.47 albertel 2007: </IfDefine>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>