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