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