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