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