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