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