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