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