File:
[LON-CAPA] /
loncom /
loncapa_apache.conf
Revision
1.284:
download - view:
text,
annotated -
select for diffs
Fri Nov 3 01:12:17 2023 UTC (11 months ago) by
raeburn
Branches:
MAIN
CVS tags:
HEAD
- Authoring Space defaults defaults which domain coordinator can override.
- Available Editors, WebDAV access, Disk Quota for Authoring Space
can be set for specific users by DC via "Add/modify user"
- Bug 5273 Co-authors in "group authoring" accounts can manage co-authors
- Existing co-author(s) can be assigned rights to add/revoke co-author
roles. Can be set by DC via "Add/modify user" or by author via "People"
- Co-authors and Assistant co-authors can view a list of co-authors for
the Authoring Space. Availability set by Author or Co-author "manager".
Listing can be set to "opt-in".
1: ##
2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
3: ##
4:
5: # $Id: loncapa_apache.conf,v 1.284 2023/11/03 01:12:17 raeburn Exp $
6:
7: #
8: # LON-CAPA Section (extensions to httpd.conf daemon configuration)
9: #
10: # ================================================================ DocumentRoot
11:
12: DocumentRoot "/home/httpd/html"
13:
14: # ======================================================================== User
15:
16: User www
17: Group www
18:
19: # ======================================================= Shared Object Modules
20:
21: <IfModule !perl_module>
22: LoadModule perl_module modules/libperl.so
23: </IfModule>
24: <IfDefine !MODPERL2>
25: AddModule mod_perl.c
26: </IfDefine>
27:
28: <IfDefine MODPERL2>
29: PerlSetVar MODPERL2 1
30: </IfDefine>
31: # =============================================================== Miscellaneous
32:
33: ServerAdmin consortium@loncapa.org
34: ExtendedStatus On
35: #
36: # LON-CAPA Section (extensions to srm.conf name space servicing)
37: #
38: # ===================================================================== Aliases
39:
40: Alias /zipspool/ /home/httpd/zipspool/
41: Alias /prtspool/ /home/httpd/prtspool/
42: Alias /captchaspool/ /home/httpd/captchaspool/
43: Alias /webdav/ /home/httpd/html/priv/
44: ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
45: <IfModule mod_dav_fs.c>
46: DAVLockDB /home/httpd/webdav/DAVLock
47: </IfModule>
48:
49: # ================================================================= Directories
50:
51: # ------------------------------------------------------------- Access Handlers
52:
53: PerlTransHandler Apache::lontrans
54: PerlCleanupHandler Apache::lonacc::cleanup
55:
56: PerlAuthenHandler Apache::checkauthen
57: PerlSetVar lonOtherAuthen no
58:
59: <IfModule mod_shib>
60: PerlAuthenHandler Apache::lonshibauth
61: PerlSetVar lonOtherAuthen yes
62: PerlSetVar lonOtherAuthenType Shibboleth
63: </IfModule>
64:
65: #PerlWarn On
66: <LocationMatch "^/+res/adm/pages/[^/]+\.(gif|png)$">
67: PerlAuthzHandler 'sub { return OK }'
68: </LocationMatch>
69:
70: # Send proper expires header to avoid unnecessary HTTP request for static content
71: <LocationMatch "^(/adm/lonIcons|/adm/jQuery|/res/adm/pages|/ckeditor|/adm/jpicker|/adm/countdown|/adm/spellchecker|/adm/nicescroll|/adm/MathJax|/adm/daxe)">
72: ExpiresActive On
73: ExpiresDefault "access plus 12 hours"
74: Header set Cache-Control "public, no-transform"
75: </LocationMatch>
76:
77: <LocationMatch "^/+res.*">
78:
79: AuthType LONCAPA
80: Require valid-user
81:
82: PerlAccessHandler Apache::publiccheck
83: PerlAuthzHandler Apache::lonacc
84: PerlHeaderParserHandler Apache::lonrep
85: ErrorDocument 403 /adm/login
86: ErrorDocument 404 /adm/notfound.html
87: ErrorDocument 406 /adm/roles
88: ErrorDocument 500 /adm/errorhandler
89: </LocationMatch>
90:
91:
92: <LocationMatch "/.*">
93: </LocationMatch>
94:
95:
96: <LocationMatch "^/+enc.*">
97: SetHandler perl-script
98: PerlHandler Apache::lonencurl
99: ErrorDocument 403 /adm/login
100: ErrorDocument 404 /adm/notfound.html
101: ErrorDocument 406 /adm/roles
102: ErrorDocument 500 /adm/errorhandler
103: </LocationMatch>
104:
105: <Location /adm/portfolio>
106: AuthType LONCAPA
107: Require valid-user
108: PerlAuthzHandler Apache::lonacc
109: SetHandler perl-script
110: PerlHandler Apache::portfolio
111: </Location>
112:
113: <Location /adm/coursegrp_portfolio>
114: AuthType LONCAPA
115: Require valid-user
116: PerlAuthzHandler Apache::lonacc
117: SetHandler perl-script
118: PerlHandler Apache::portfolio
119: </Location>
120:
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:
133: <LocationMatch "^/+userfiles.*">
134: Options +FollowSymLinks -Includes
135: PerlAccessHandler Apache::lontokacc
136: PerlCleanupHandler Apache::lontokacc::removefile
137: PerlCleanupHandler Apache::lonacc::cleanup
138: </LocationMatch>
139:
140: <LocationMatch "^/+uploaded.*">
141: AuthType LONCAPA
142: Require valid-user
143: PerlAuthzHandler Apache::lonacc
144: PerlHandler Apache::londatecheck
145: PerlHandler Apache::lonipcheck
146: PerlHeaderParserHandler Apache::lonuploadrep
147: ErrorDocument 403 /adm/login
148: ErrorDocument 404 /adm/notfound.html
149: ErrorDocument 406 /adm/roles
150: ErrorDocument 500 /adm/errorhandler
151: </LocationMatch>
152:
153: <LocationMatch "^/+uploaded/.+/.+/(portfolio|feedback|docs|groups|supplemental)/.+">
154: Options +FollowSymLinks -Includes
155: </LocationMatch>
156:
157: <LocationMatch "^/+editupload.*">
158: AuthType LONCAPA
159: Require valid-user
160: PerlAuthzHandler Apache::lonacc
161: ErrorDocument 403 /adm/login
162: ErrorDocument 406 /adm/roles
163: ErrorDocument 500 /adm/errorhandler
164: </LocationMatch>
165:
166: <LocationMatch "^/+uploaded/.*/.*/internal/.*">
167: PerlAuthenHandler Apache::lonuploadedacc
168: PerlAuthzHandler Apache::lonuploadedacc::skip_phase
169: PerlAccessHandler Apache::lonuploadedacc::skip_phase
170: </LocationMatch>
171:
172: <LocationMatch "^/+uploaded/.*/.*/portfolio/.*">
173: PerlAccessHandler Apache::publiccheck
174: AuthType LONCAPA
175: Require valid-user
176: PerlAuthzHandler Apache::lonacc
177: </LocationMatch>
178:
179: <LocationMatch "^/+uploaded/.*/.*/groups/.*/portfolio/.*">
180: PerlAccessHandler Apache::publiccheck
181: AuthType LONCAPA
182: Require valid-user
183: PerlAuthzHandler Apache::lonacc
184: </LocationMatch>
185:
186: <LocationMatch "^/+uploaded/.*\.page$">
187: SetHandler perl-script
188: PerlHandler Apache::lonpage
189: </LocationMatch>
190:
191: <LocationMatch "^/+uploaded/.*\.sequence$">
192: SetHandler perl-script
193: PerlHandler Apache::lonsequence
194: </LocationMatch>
195:
196: <LocationMatch "^/+public/.*/syllabus$">
197: PerlAccessHandler Apache::publiccheck
198: AuthType LONCAPA
199: Require valid-user
200: PerlAuthzHandler Apache::lonacc
201: SetHandler perl-script
202: PerlHandler Apache::lonsyllabus
203: ErrorDocument 404 /adm/notfound.html
204: ErrorDocument 500 /adm/errorhandler
205: </LocationMatch>
206:
207: <LocationMatch "^/+(public|adm)/.*(\.rss|_rss\.html)$">
208: PerlAccessHandler Apache::publiccheck
209: AuthType LONCAPA
210: Require valid-user
211: PerlAuthzHandler Apache::lonacc
212: SetHandler perl-script
213: PerlHandler Apache::lonrss
214: ErrorDocument 404 /adm/notfound.html
215: ErrorDocument 500 /adm/errorhandler
216: </LocationMatch>
217:
218: <LocationMatch "^/adm/.*/aboutme$">
219: AuthType LONCAPA
220: Require valid-user
221: PerlAuthzHandler Apache::lonacc
222: SetHandler perl-script
223: PerlHandler Apache::lonaboutme
224: ErrorDocument 404 /adm/notfound.html
225: ErrorDocument 406 /adm/notinit.html
226: ErrorDocument 500 /adm/errorhandler
227: </LocationMatch>
228:
229: <LocationMatch "^/adm/.*/aboutme/portfolio$">
230: PerlAccessHandler Apache::publiccheck
231: AuthType LONCAPA
232: Require valid-user
233: PerlAuthzHandler Apache::lonacc
234: SetHandler perl-script
235: PerlHandler Apache::lonaboutme
236: ErrorDocument 404 /adm/notfound.html
237: ErrorDocument 406 /adm/notinit.html
238: ErrorDocument 500 /adm/errorhandler
239: </LocationMatch>
240:
241: <LocationMatch "^/adm/.*/smppg$">
242: AuthType LONCAPA
243: Require valid-user
244: PerlAuthzHandler Apache::lonacc
245: SetHandler perl-script
246: PerlHandler Apache::londatecheck
247: PerlHandler Apache::lonipcheck
248: PerlHandler Apache::lonsimplepage
249: ErrorDocument 404 /adm/notfound.html
250: ErrorDocument 406 /adm/notinit.html
251: ErrorDocument 500 /adm/errorhandler
252: </LocationMatch>
253:
254: <LocationMatch "^/adm/.*/bulletinboard$">
255: AuthType LONCAPA
256: Require valid-user
257: PerlAuthzHandler Apache::lonacc
258: SetHandler perl-script
259: PerlHandler Apache::londatecheck
260: PerlHandler Apache::lonipcheck
261: PerlHandler Apache::lonbulletin
262: ErrorDocument 404 /adm/notfound.html
263: ErrorDocument 406 /adm/notinit.html
264: ErrorDocument 500 /adm/errorhandler
265: </LocationMatch>
266:
267: <LocationMatch "\.problem/smpedit$">
268: AuthType LONCAPA
269: Require valid-user
270: PerlAuthzHandler Apache::lonacc
271: SetHandler perl-script
272: PerlHandler Apache::lonsimpleproblemedit
273: ErrorDocument 404 /adm/notfound.html
274: ErrorDocument 406 /adm/notinit.html
275: ErrorDocument 500 /adm/errorhandler
276: </LocationMatch>
277:
278: <LocationMatch "^/adm/.*/ext\.tool$">
279: AuthType LONCAPA
280: Require valid-user
281: PerlAuthzHandler Apache::lonacc
282: SetHandler perl-script
283: PerlHandler Apache::lonslotcheck
284: PerlHandler Apache::londatecheck
285: PerlHandler Apache::lonipcheck
286: PerlHandler Apache::lonexttool
287: ErrorDocument 404 /adm/notfound.html
288: ErrorDocument 406 /adm/notinit.html
289: ErrorDocument 500 /adm/errorhandler
290: </LocationMatch>
291:
292: <LocationMatch "^/adm/placement$">
293: AuthType LONCAPA
294: Require valid-user
295: PerlAuthzHandler Apache::lonacc
296: SetHandler perl-script
297: PerlHandler Apache::lonplacementtest
298: ErrorDocument 404 /adm/notfound.html
299: ErrorDocument 406 /adm/notinit.html
300: ErrorDocument 500 /adm/errorhandler
301: </LocationMatch>
302:
303: <Location /adm/exturlcheck>
304: AuthType LONCAPA
305: Require valid-user
306: PerlAuthzHandler Apache::lonacc
307: SetHandler perl-script
308: PerlHandler Apache::lonexturlcheck
309: ErrorDocument 403 /adm/login
310: ErrorDocument 404 /adm/notfound.html
311: ErrorDocument 406 /adm/unauthorized
312: ErrorDocument 500 /adm/errorhandler
313: </Location>
314:
315: <LocationMatch "^/+priv/.*">
316: AuthType LONCAPA
317: Require valid-user
318: PerlAuthzHandler Apache::loncacc
319: SetHandler perl-script
320: ErrorDocument 403 /adm/login
321: ErrorDocument 404 /adm/notfound.html
322: ErrorDocument 406 /adm/unauthorized
323: ErrorDocument 500 /adm/errorhandler
324: </LocationMatch>
325:
326: <LocationMatch "^/+webdav/[\w\-.]+/\w[\w.\-\@]+/">
327: <IfModule mod_dav.c>
328: <IfModule mod_ssl.c>
329: AuthType Basic
330: AuthName "LONCAPA username,domain"
331: Require valid-user
332: SSLRequireSSL
333: PerlAuthenHandler Apache::lonwebdavauth
334: PerlAuthzHandler Apache::lonwebdavacc
335: Dav On
336: DirectoryIndex index.missing
337: Options Indexes FollowSymLinks
338: ErrorDocument 403 /adm/nowebdav.html
339: ErrorDocument 404 /adm/notfound.html
340: ErrorDocument 406 /adm/unauthorized
341: ErrorDocument 500 /adm/errorhandler
342: </IfModule>
343: <IfModule !mod_ssl.c>
344: <IfModule mod_rewrite.c>
345: RewriteEngine on
346: RewriteRule .* http://%{HTTP_HOST}/adm/nowebdav.html [L]
347: </IfModule>
348: </IfModule>
349: </IfModule>
350: <IfModule !mod_dav.c>
351: <IfModule mod_rewrite.c>
352: RewriteEngine on
353: RewriteRule .* http://%{HTTP_HOST}/adm/nowebdav.html [L]
354: </IfModule>
355: </IfModule>
356: </LocationMatch>
357:
358: <LocationMatch "^/+raw.*">
359: PerlAccessHandler Apache::lonracc
360: </LocationMatch>
361:
362: <LocationMatch "^/adm/helper/.*\.helper$">
363: AuthType LONCAPA
364: Require valid-user
365: PerlAuthzHandler Apache::lonacc
366: SetHandler perl-script
367: PerlHandler Apache::lonhelper
368: ErrorDocument 403 /adm/login
369: ErrorDocument 404 /adm/notfound.html
370: ErrorDocument 406 /adm/unauthorized
371: ErrorDocument 500 /adm/errorhandler
372: </LocationMatch>
373:
374: <LocationMatch "/prtspool">
375: AuthType LONCAPA
376: Require valid-user
377: PerlAuthzHandler Apache::lonacc
378: ErrorDocument 403 /adm/login
379: ErrorDocument 404 /adm/notfound.html
380: ErrorDocument 406 /adm/roles
381: ErrorDocument 413 /adm/overloaded.txt
382: ErrorDocument 500 /adm/errorhandler
383: </LocationMatch>
384:
385: <LocationMatch "/zipspool">
386: AuthType LONCAPA
387: Require valid-user
388: PerlAuthzHandler Apache::lonacc
389: ErrorDocument 403 /adm/login
390: ErrorDocument 404 /adm/notfound.html
391: ErrorDocument 406 /adm/roles
392: ErrorDocument 413 /adm/overloaded.txt
393: ErrorDocument 500 /adm/errorhandler
394: </LocationMatch>
395: # ------------------------------------------------------------------------- RAT
396:
397: <LocationMatch "^/+priv/.*\.sequence$">
398: SetHandler perl-script
399: PerlHandler Apache::lonratedt
400: </LocationMatch>
401:
402: <LocationMatch "^/+priv/.*\.page$">
403: SetHandler perl-script
404: PerlHandler Apache::lonratedt
405: </LocationMatch>
406:
407: <LocationMatch "^/+priv/.*\/ratserver$">
408: SetHandler perl-script
409: PerlHandler Apache::lonratsrv
410: </LocationMatch>
411:
412: <LocationMatch "^/+priv/.*\/adveditmenu$">
413: SetHandler perl-script
414: PerlHandler Apache::lonratmenu
415: </LocationMatch>
416:
417: <Location /adm/ratparms>
418: AuthType LONCAPA
419: Require valid-user
420: PerlAuthzHandler Apache::lonacc
421: SetHandler perl-script
422: PerlHandler Apache::lonratparms
423: ErrorDocument 403 /adm/login
424: ErrorDocument 500 /adm/errorhandler
425: </Location>
426:
427: # --------------------------------------------- Resource Space Content Handlers
428:
429: <LocationMatch "^/+res.*/$">
430: SetHandler perl-script
431: PerlHandler Apache::lonindexer
432: PerlCleanupHandler Apache::lonindexer::cleanup
433: PerlCleanupHandler Apache::lonacc::cleanup
434: </LocationMatch>
435:
436: <LocationMatch "^/+res.*\.tex$">
437: SetHandler perl-script
438: PerlHandler Apache::lontex
439: </LocationMatch>
440:
441: <LocationMatch "^/+res/.*\.page$">
442: SetHandler perl-script
443: PerlHandler Apache::lonpage
444: </LocationMatch>
445:
446: <LocationMatch "^/+res/.*\.sequence$">
447: SetHandler perl-script
448: PerlHandler Apache::lonsequence
449: </LocationMatch>
450:
451: <LocationMatch "^/+(res|priv|public|uploaded|editupload|adm)/.*\.meta$">
452: PerlAccessHandler Apache::publiccheck
453: SetHandler perl-script
454: PerlHandler Apache::lonmeta
455: ErrorDocument 413 /adm/overloaded.txt
456: </LocationMatch>
457:
458: <LocationMatch "^/adm/bombs/">
459: AuthType LONCAPA
460: Require valid-user
461: PerlAuthzHandler Apache::lonacc
462: SetHandler perl-script
463: PerlHandler Apache::lonmeta
464: </LocationMatch>
465:
466:
467:
468: <LocationMatch "^/+(res|priv)/.*\.rights$">
469: SetHandler perl-script
470: PerlHandler Apache::lonrights
471: </LocationMatch>
472:
473: <LocationMatch "^/+(uploaded|res|priv)/.*\.(xml|html|htm|xhtml|xhtm|sty)$">
474: SetHandler perl-script
475: PerlHandler Apache::londatecheck
476: PerlHandler Apache::lonipcheck
477: PerlHandler Apache::lonxml
478: </LocationMatch>
479:
480: <LocationMatch "^/+(res|priv).*\.(task|problem|exam|quiz|assess|survey|form|library)$">
481: SetHandler perl-script
482: PerlHandler Apache::lonhomework
483: </LocationMatch>
484:
485: <LocationMatch "^/+priv/.*\.(js|css|txt|tex)$">
486: SetHandler perl-script
487: PerlHandler Apache::lonxml
488: </LocationMatch>
489:
490: <LocationMatch "^/daxepage/priv/">
491: AuthType LONCAPA
492: Require valid-user
493: PerlAuthzHandler Apache::loncacc
494: ErrorDocument 403 /adm/login
495: ErrorDocument 404 /adm/notfound.html
496: ErrorDocument 406 /adm/unauthorized
497: ErrorDocument 500 /adm/errorhandler
498: </LocationMatch>
499:
500: <LocationMatch "^/daxeopen/">
501: AuthType LONCAPA
502: Require valid-user
503: PerlAuthzHandler Apache::lonacc
504: </LocationMatch>
505:
506: <LocationMatch "^/daxeopen/priv/[^/]+/[^/]+/">
507: AuthType LONCAPA
508: Require valid-user
509: PerlAuthzHandler Apache::loncacc
510: </LocationMatch>
511:
512: <LocationMatch "^/daxeopen/(res/|$)">
513: ErrorDocument 403 /adm/login
514: ErrorDocument 404 /adm/notfound.html
515: ErrorDocument 406 /adm/roles
516: ErrorDocument 500 /adm/errorhandler
517: </LocationMatch>
518:
519: <LocationMatch "^/daxeopen/priv/">
520: ErrorDocument 403 /adm/login
521: ErrorDocument 404 /adm/notfound.html
522: ErrorDocument 406 /adm/unauthorized
523: ErrorDocument 500 /adm/errorhandler
524: </LocationMatch>
525:
526: <LocationMatch "^/daxe(page|open)/uploaded/">
527: AuthType LONCAPA
528: Require valid-user
529: PerlAuthzHandler Apache::lonacc
530: ErrorDocument 403 /adm/login
531: ErrorDocument 404 /adm/notfound.html
532: ErrorDocument 406 /adm/roles
533: ErrorDocument 500 /adm/errorhandler
534: </LocationMatch>
535:
536: <LocationMatch "^/daxepage/priv/.*\.(task|problem|exam|quiz|assess|survey|library|xml|html|htm|xhtml|xhtm)$">
537: SetHandler perl-script
538: PerlHandler Apache::daxepage
539: </LocationMatch>
540:
541: <LocationMatch "^/daxepage/uploaded/[^/]+/[^/]+/(docs|supplemental)/.*html?$">
542: SetHandler perl-script
543: PerlHandler Apache::daxepage
544: </LocationMatch>
545:
546: <LocationMatch "^/daxeopen/priv/.*\.(task|problem|exam|quiz|assess|survey|library|xml|html|htm|xhtml|xhtm)$">
547: SetHandler perl-script
548: PerlHandler Apache::daxeopen
549: </LocationMatch>
550:
551: <LocationMatch "^/daxeopen/$">
552: SetHandler perl-script
553: PerlHandler Apache::daxeopen
554: </LocationMatch>
555:
556: <LocationMatch "^/daxeopen/(res|priv|uploaded)/(.+/)?$">
557: SetHandler perl-script
558: PerlHandler Apache::daxeopen
559: </LocationMatch>
560:
561: <LocationMatch "^/daxeopen/uploaded/[^/]+/[^/]+/(docs|supplemental)/.*html?$">
562: SetHandler perl-script
563: PerlHandler Apache::daxeopen
564: </LocationMatch>
565:
566: <LocationMatch "(?i)^/daxeopen/priv/.+\.(?!task$|problem$|exam$|quiz$|assess$|survey$|library$|xml$|html$|htm$|xhtml$|xhtm$)[^.]*$">
567: <IfModule mod_rewrite.c>
568: RewriteEngine on
569: RewriteRule /daxeopen/(.*) /$1
570: </IfModule>
571: </LocationMatch>
572:
573: <LocationMatch "(?i)^/daxeopen/uploaded/.+\.(?!html$|htm$|xhtml$|xhtm$)[^.]*$">
574: <IfModule mod_rewrite.c>
575: RewriteEngine on
576: RewriteRule /daxeopen/(.*) /$1
577: </IfModule>
578: </LocationMatch>
579:
580: <LocationMatch "(?i)^/daxeopen/(res/.*\.(jpg|jpeg|gif|png|svg))$">
581: <IfModule mod_rewrite.c>
582: RewriteEngine on
583: RewriteRule /daxeopen/(.*) /$1
584: </IfModule>
585: </LocationMatch>
586:
587: <LocationMatch "^/daxesave$">
588: AuthType LONCAPA
589: Require valid-user
590: PerlAuthzHandler Apache::lonacc
591: SetHandler perl-script
592: PerlHandler Apache::daxesave
593: </LocationMatch>
594:
595: <Location /adm/coursepub>
596: AuthType LONCAPA
597: Require valid-user
598: PerlAuthzHandler Apache::lonacc
599: SetHandler perl-script
600: PerlHandler Apache::loncoursepub
601: ErrorDocument 404 /adm/notfound.html
602: ErrorDocument 500 /adm/errorhandler
603: </Location>
604:
605: <LocationMatch "^/adm/wrapper/">
606: AuthType LONCAPA
607: Require valid-user
608: PerlAuthzHandler Apache::lonacc
609: PerlHandler Apache::londatecheck
610: PerlHandler Apache::lonipcheck
611: SetHandler perl-script
612: PerlHandler Apache::lonwrapper
613: ErrorDocument 403 /adm/login
614: ErrorDocument 500 /adm/errorhandler
615: </LocationMatch>
616:
617: <LocationMatch "^/adm/source">
618: AuthType LONCAPA
619: Require valid-user
620: PerlAuthzHandler Apache::lonacc
621: SetHandler perl-script
622: PerlHandler Apache::lonsource
623: ErrorDocument 403 /adm/login
624: ErrorDocument 406 /adm/roles
625: ErrorDocument 500 /adm/errorhandler
626: </LocationMatch>
627:
628:
629: <LocationMatch "^/adm/localize/">
630: AuthType LONCAPA
631: Require valid-user
632: PerlAuthzHandler Apache::lonacc
633: SetHandler perl-script
634: PerlHandler Apache::lonlocalize
635: ErrorDocument 403 /adm/login
636: ErrorDocument 500 /adm/errorhandler
637: </LocationMatch>
638:
639: # -------------------------------------------------------------- Admin Programs
640:
641: <Location /adm/randomlabel.png>
642: AuthType LONCAPA
643: Require valid-user
644: PerlAuthzHandler Apache::lonacc
645: SetHandler perl-script
646: PerlHandler Apache::randomlylabel
647: ErrorDocument 403 /adm/login
648: ErrorDocument 500 /adm/errorhandler
649: </Location>
650:
651: <Location /adm/imagechoice>
652: AuthType LONCAPA
653: Require valid-user
654: PerlAuthzHandler Apache::lonacc
655: SetHandler perl-script
656: PerlHandler Apache::imagechoice
657: ErrorDocument 403 /adm/login
658: ErrorDocument 500 /adm/errorhandler
659: </Location>
660:
661: <Location /adm/searchcourse>
662: AuthType LONCAPA
663: Require valid-user
664: PerlAuthzHandler Apache::lonacc
665: SetHandler perl-script
666: PerlHandler Apache::lonsearchcourse
667: ErrorDocument 403 /adm/login
668: ErrorDocument 500 /adm/errorhandler
669: </Location>
670:
671: <Location /adm/indexcourse>
672: AuthType LONCAPA
673: Require valid-user
674: PerlAuthzHandler Apache::lonacc
675: SetHandler perl-script
676: PerlHandler Apache::lonindexcourse
677: ErrorDocument 403 /adm/login
678: ErrorDocument 500 /adm/errorhandler
679: </Location>
680:
681: <Location /adm/statistics>
682: AuthType LONCAPA
683: Require valid-user
684: PerlAuthzHandler Apache::lonacc
685: SetHandler perl-script
686: PerlHandler Apache::lonstatistics
687: ErrorDocument 403 /adm/login
688: ErrorDocument 413 /adm/overloaded.txt
689: ErrorDocument 500 /adm/errorhandler
690: </Location>
691:
692: <Location /adm/trackstudent>
693: AuthType LONCAPA
694: Require valid-user
695: PerlAuthzHandler Apache::lonacc
696: SetHandler perl-script
697: PerlHandler Apache::lontrackstudent
698: ErrorDocument 403 /adm/login
699: ErrorDocument 413 /adm/overloaded.txt
700: ErrorDocument 500 /adm/errorhandler
701: </Location>
702:
703: <Location /adm/roles>
704: AuthType LONCAPA
705: Require valid-user
706: PerlAuthzHandler Apache::lonacc
707: SetHandler perl-script
708: PerlHandler Apache::lonroles
709: ErrorDocument 403 /adm/login
710: ErrorDocument 409 /adm/preferences?action=lockwarning
711: ErrorDocument 500 /adm/errorhandler
712: </Location>
713:
714: <Location /adm/menu>
715: AuthType LONCAPA
716: Require valid-user
717: PerlAuthzHandler Apache::lonacc
718: SetHandler perl-script
719: PerlHandler Apache::lonmainmenu
720: ErrorDocument 403 /adm/login
721: ErrorDocument 500 /adm/errorhandler
722: </Location>
723:
724: <Location /adm/pickresource>
725: AuthType LONCAPA
726: Require valid-user
727: PerlAuthzHandler Apache::lonacc
728: SetHandler perl-script
729: PerlHandler Apache::lonpickresource
730: ErrorDocument 403 /adm/login
731: ErrorDocument 500 /adm/errorhandler
732: </Location>
733:
734: <Location /adm/pickauthor>
735: AuthType LONCAPA
736: Require valid-user
737: PerlAuthzHandler Apache::lonacc
738: SetHandler perl-script
739: PerlHandler Apache::lonpickauthor
740: ErrorDocument 403 /adm/login
741: ErrorDocument 500 /adm/errorhandler
742: </Location>
743:
744: <Location /adm/pickstudent>
745: AuthType LONCAPA
746: Require valid-user
747: PerlAuthzHandler Apache::lonacc
748: SetHandler perl-script
749: PerlHandler Apache::lonpickstudent
750: ErrorDocument 403 /adm/login
751: ErrorDocument 500 /adm/errorhandler
752: </Location>
753:
754: <Location /adm/pickuser>
755: AuthType LONCAPA
756: Require valid-user
757: PerlAuthzHandler Apache::lonacc
758: SetHandler perl-script
759: PerlHandler Apache::lonpickuser
760: ErrorDocument 403 /adm/login
761: ErrorDocument 406 /adm/roles
762: ErrorDocument 500 /adm/errorhandler
763: </Location>
764:
765: <Location /adm/pickcourse>
766: AuthType LONCAPA
767: Require valid-user
768: PerlAuthzHandler Apache::lonacc
769: SetHandler perl-script
770: PerlHandler Apache::lonpickcourse
771: ErrorDocument 403 /adm/login
772: ErrorDocument 500 /adm/errorhandler
773: </Location>
774:
775: <Location /adm/pickcode>
776: AuthType LONCAPA
777: Require valid-user
778: PerlAuthzHandler Apache::lonacc
779: SetHandler perl-script
780: PerlHandler Apache::lonpickcode
781: ErrorDocument 403 /adm/login
782: ErrorDocument 500 /adm/errorhandler
783: </Location>
784:
785: <Location /adm/dependencies>
786: AuthType LONCAPA
787: Require valid-user
788: PerlAuthzHandler Apache::lonacc
789: SetHandler perl-script
790: PerlHandler Apache::londependencies
791: ErrorDocument 403 /adm/login
792: ErrorDocument 406 /adm/roles
793: ErrorDocument 500 /adm/errorhandler
794: </Location>
795:
796: <Location /adm/courseauthor>
797: AuthType LONCAPA
798: Require valid-user
799: PerlAuthzHandler Apache::lonacc
800: SetHandler perl-script
801: PerlHandler Apache::loncourseauthor
802: ErrorDocument 403 /adm/login
803: ErrorDocument 406 /adm/roles
804: ErrorDocument 500 /adm/errorhandler
805: </Location>
806:
807: <Location /adm/courseuser>
808: AuthType LONCAPA
809: Require valid-user
810: PerlAuthzHandler Apache::lonacc
811: SetHandler perl-script
812: PerlHandler Apache::loncourseuser
813: ErrorDocument 403 /adm/login
814: ErrorDocument 406 /adm/roles
815: ErrorDocument 500 /adm/errorhandler
816: </Location>
817:
818: <Location /adm/login>
819: SetHandler perl-script
820: PerlHandler Apache::lonlogin
821: </Location>
822:
823: <LocationMatch "^/+adm/launch/tiny/[\w.-]+/\w+">
824: SetHandler perl-script
825: PerlHandler Apache::ltiauth
826: </LocationMatch>
827:
828: <Location /adm/relaunch>
829: SetHandler perl-script
830: PerlHandler Apache::lonrelaunch
831: </Location>
832:
833: <LocationMatch "^/+adm/lti($|/)">
834: SetHandler perl-script
835: PerlHandler Apache::ltiauth
836: </LocationMatch>
837:
838: <Location /adm/service/passback>
839: SetHandler perl-script
840: PerlHandler Apache::ltipassback
841: </Location>
842:
843: <Location /adm/service/roster>
844: SetHandler perl-script
845: PerlHandler Apache::ltiroster
846: </Location>
847:
848: <LocationMatch "^/adm/service/logout/\w+$">
849: SetHandler perl-script
850: PerlHandler Apache::ltilogout
851: </LocationMatch>
852:
853: <Location /adm/restrictedaccess>
854: PerlAccessHandler Apache::publiccheck
855: AuthType LONCAPA
856: Require valid-user
857: PerlAuthzHandler Apache::lonacc
858: SetHandler perl-script
859: PerlHandler Apache::restrictedaccess
860: ErrorDocument 500 /adm/errorhandler
861: </Location>
862:
863: <Location /adm/blockedaccess>
864: PerlAccessHandler Apache::publiccheck
865: AuthType LONCAPA
866: Require valid-user
867: PerlAuthzHandler Apache::lonacc
868: SetHandler perl-script
869: PerlHandler Apache::blockedaccess
870: ErrorDocument 500 /adm/errorhandler
871: </Location>
872:
873: <Location /adm/protected>
874: PerlAccessHandler Apache::publiccheck
875: AuthType LONCAPA
876: Require valid-user
877: PerlAuthzHandler Apache::lonacc
878: SetHandler perl-script
879: PerlHandler Apache::lonprotected
880: ErrorDocument 403 /adm/login
881: ErrorDocument 500 /adm/errorhandler
882: </Location>
883:
884: <Location /adm/logout>
885: AuthType LONCAPA
886: Require valid-user
887: PerlAuthzHandler Apache::lonacc
888: SetHandler perl-script
889: PerlHandler Apache::lonlogout
890: ErrorDocument 403 /adm/login
891: ErrorDocument 409 /adm/preferences?action=lockwarning
892: ErrorDocument 500 /adm/errorhandler
893: </Location>
894:
895: <Location /adm/switchserver>
896: AuthType LONCAPA
897: Require valid-user
898: PerlAuthzHandler Apache::lonacc
899: SetHandler perl-script
900: PerlHandler Apache::switchserver
901: ErrorDocument 403 /adm/login
902: ErrorDocument 500 /adm/errorhandler
903: </Location>
904:
905: <Location /adm/authenticate>
906: SetHandler perl-script
907: PerlHandler Apache::lonauth
908: </Location>
909:
910: <Location /adm/migrateuser>
911: SetHandler perl-script
912: PerlHandler Apache::migrateuser
913: </Location>
914:
915: <Location /adm/sso>
916: Header set Cache-Control "private,no-store,no-cache,max-age=0"
917: <IfModule mod_shib>
918: AuthType shibboleth
919: ShibUseEnvironment On
920: ShibRequestSetting requireSession 1
921: ShibRequestSetting redirectToSSL 443
922: require valid-user
923: PerlAuthzHandler Apache::lonshibacc
924: PerlAuthzHandler Apache::lonacc
925: ErrorDocument 403 /adm/login
926: ErrorDocument 500 /adm/errorhandler
927: </IfModule>
928: <IfModule !mod_shib>
929: PerlTypeHandler Apache::lonnoshib
930: </IfModule>
931: </Location>
932:
933: <Location /adm/linkexit>
934: AuthType LONCAPA
935: Require valid-user
936: PerlAuthzHandler Apache::lonacc
937: SetHandler perl-script
938: PerlHandler Apache::lonlinkexit
939: ErrorDocument 403 /adm/login
940: ErrorDocument 409 /adm/preferences?action=lockwarning
941: ErrorDocument 500 /adm/errorhandler
942: </Location>
943:
944: <Location /adm/annotations>
945: AuthType LONCAPA
946: Require valid-user
947: PerlAuthzHandler Apache::lonacc
948: SetHandler perl-script
949: PerlHandler Apache::admannotations
950: ErrorDocument 403 /adm/login
951: ErrorDocument 500 /adm/errorhandler
952: </Location>
953:
954: <Location /adm/annotation>
955: AuthType LONCAPA
956: Require valid-user
957: PerlAuthzHandler Apache::lonacc
958: SetHandler perl-script
959: PerlHandler Apache::admannotations
960: ErrorDocument 403 /adm/login
961: ErrorDocument 500 /adm/errorhandler
962: </Location>
963:
964: <Location /adm/spellcheck>
965: AuthType LONCAPA
966: Require valid-user
967: PerlAuthzHandler Apache::lonacc
968: SetHandler perl-script
969: PerlHandler Apache::lonspeller
970: ErrorDocument 403 /adm/login
971: ErrorDocument 500 /adm/errorhandler
972: </Location>
973:
974: <Location /adm/flip>
975: AuthType LONCAPA
976: Require valid-user
977: PerlAuthzHandler Apache::lonacc
978: SetHandler perl-script
979: PerlHandler Apache::lonpageflip
980: PerlCleanupHandler Apache::lonpageflip::cleanup
981: PerlCleanupHandler Apache::lonacc::cleanup
982: ErrorDocument 406 /adm/roles
983: ErrorDocument 403 /adm/login
984: ErrorDocument 500 /adm/errorhandler
985: </Location>
986:
987: <Location /adm/ambiguous>
988: AuthType LONCAPA
989: Require valid-user
990: PerlAuthzHandler Apache::lonacc
991: SetHandler perl-script
992: PerlHandler Apache::lonambiguous
993: PerlCleanupHandler Apache::lonambiguous::cleanup
994: PerlCleanupHandler Apache::lonacc::cleanup
995: ErrorDocument 403 /adm/login
996: ErrorDocument 500 /adm/errorhandler
997: </Location>
998:
999: <Location /adm/email>
1000: AuthType LONCAPA
1001: Require valid-user
1002: PerlAuthzHandler Apache::lonacc
1003: SetHandler perl-script
1004: PerlHandler Apache::lonmsgdisplay
1005: ErrorDocument 403 /adm/login
1006: ErrorDocument 500 /adm/errorhandler
1007: </Location>
1008:
1009: <Location /adm/notify>
1010: AuthType LONCAPA
1011: Require valid-user
1012: PerlAuthzHandler Apache::lonacc
1013: SetHandler perl-script
1014: PerlHandler Apache::lonnotify
1015: ErrorDocument 403 /adm/login
1016: ErrorDocument 500 /adm/errorhandler
1017: </Location>
1018:
1019: <Location /adm/parmset>
1020: AuthType LONCAPA
1021: Require valid-user
1022: PerlAuthzHandler Apache::lonacc
1023: SetHandler perl-script
1024: PerlHandler Apache::lonparmset
1025: ErrorDocument 403 /adm/login
1026: ErrorDocument 406 /adm/roles
1027: ErrorDocument 500 /adm/errorhandler
1028: </Location>
1029:
1030: <Location /adm/courseprefs>
1031: AuthType LONCAPA
1032: Require valid-user
1033: PerlAuthzHandler Apache::lonacc
1034: SetHandler perl-script
1035: PerlHandler Apache::courseprefs
1036: ErrorDocument 403 /adm/login
1037: ErrorDocument 406 /adm/roles
1038: ErrorDocument 500 /adm/errorhandler
1039: </Location>
1040:
1041: <Location /adm/slotrequest>
1042: AuthType LONCAPA
1043: Require valid-user
1044: PerlAuthzHandler Apache::lonacc
1045: SetHandler perl-script
1046: PerlHandler Apache::slotrequest
1047: ErrorDocument 403 /adm/login
1048: ErrorDocument 406 /adm/roles
1049: ErrorDocument 500 /adm/errorhandler
1050: </Location>
1051:
1052: <Location /adm/wizard>
1053: AuthType LONCAPA
1054: Require valid-user
1055: PerlAuthzHandler Apache::lonacc
1056: SetHandler perl-script
1057: PerlHandler Apache::lonwizard
1058: ErrorDocument 403 /adm/login
1059: ErrorDocument 406 /adm/roles
1060: ErrorDocument 500 /adm/errorhandler
1061: </Location>
1062:
1063: <Location /adm/grades>
1064: AuthType LONCAPA
1065: Require valid-user
1066: PerlAuthzHandler Apache::lonacc
1067: SetHandler perl-script
1068: PerlHandler Apache::grades
1069: ErrorDocument 403 /adm/login
1070: ErrorDocument 406 /adm/roles
1071: ErrorDocument 500 /adm/errorhandler
1072: </Location>
1073:
1074: <Location /adm/requestcourse>
1075: AuthType LONCAPA
1076: Require valid-user
1077: PerlAuthzHandler Apache::lonacc
1078: SetHandler perl-script
1079: PerlHandler Apache::lonrequestcourse
1080: ErrorDocument 403 /adm/login
1081: ErrorDocument 406 /adm/roles
1082: ErrorDocument 500 /adm/errorhandler
1083: </Location>
1084:
1085: <Location /adm/createcourse>
1086: AuthType LONCAPA
1087: Require valid-user
1088: PerlAuthzHandler Apache::lonacc
1089: SetHandler perl-script
1090: PerlHandler Apache::loncreatecourse
1091: ErrorDocument 403 /adm/login
1092: ErrorDocument 406 /adm/roles
1093: ErrorDocument 500 /adm/errorhandler
1094: </Location>
1095:
1096: <Location /adm/modifycourse>
1097: AuthType LONCAPA
1098: Require valid-user
1099: PerlAuthzHandler Apache::lonacc
1100: SetHandler perl-script
1101: PerlHandler Apache::lonmodifycourse
1102: ErrorDocument 403 /adm/login
1103: ErrorDocument 406 /adm/roles
1104: ErrorDocument 500 /adm/errorhandler
1105: </Location>
1106:
1107: <Location /adm/domainprefs>
1108: AuthType LONCAPA
1109: Require valid-user
1110: PerlAuthzHandler Apache::lonacc
1111: SetHandler perl-script
1112: PerlHandler Apache::domainprefs
1113: ErrorDocument 403 /adm/login
1114: ErrorDocument 406 /adm/roles
1115: ErrorDocument 500 /adm/errorhandler
1116: </Location>
1117:
1118: <Location /adm/domainstatus>
1119: PerlAccessHandler Apache::lonstatusacc
1120: SetHandler perl-script
1121: PerlHandler Apache::domainstatus
1122: ErrorDocument 403 /adm/login
1123: ErrorDocument 406 /adm/roles
1124: ErrorDocument 500 /adm/errorhandler
1125: </Location>
1126:
1127: <Location /adm/createuser>
1128: AuthType LONCAPA
1129: Require valid-user
1130: PerlAuthzHandler Apache::lonacc
1131: SetHandler perl-script
1132: PerlHandler Apache::loncreateuser
1133: ErrorDocument 403 /adm/login
1134: ErrorDocument 406 /adm/roles
1135: ErrorDocument 500 /adm/errorhandler
1136: </Location>
1137:
1138: <Location /adm/publish>
1139: AuthType LONCAPA
1140: Require valid-user
1141: PerlAuthzHandler Apache::lonacc
1142: SetHandler perl-script
1143: PerlHandler Apache::lonpublisher
1144: ErrorDocument 403 /adm/login
1145: ErrorDocument 404 /adm/notfound.html
1146: ErrorDocument 406 /adm/unauthorized
1147: ErrorDocument 500 /adm/errorhandler
1148: </Location>
1149:
1150: <LocationMatch "^/+priv/.*/$">
1151: AuthType LONCAPA
1152: Require valid-user
1153: PerlAuthzHandler Apache::loncacc
1154: SetHandler perl-script
1155: PerlHandler Apache::lonpubdir
1156: ErrorDocument 403 /adm/login
1157: ErrorDocument 404 /adm/notfound.html
1158: ErrorDocument 406 /adm/unauthorized
1159: ErrorDocument 500 /adm/errorhandler
1160: </LocationMatch>
1161:
1162: <Location /adm/unauthorized>
1163: AuthType LONCAPA
1164: Require valid-user
1165: PerlAuthzHandler Apache::lonacc
1166: SetHandler perl-script
1167: PerlHandler Apache::lonunauthorized
1168: ErrorDocument 403 /adm/login
1169: ErrorDocument 404 /adm/notfound.html
1170: ErrorDocument 500 /adm/errorhandler
1171: </Location>
1172:
1173: <Location /adm/retrieve>
1174: AuthType LONCAPA
1175: Require valid-user
1176: PerlAuthzHandler Apache::lonacc
1177: SetHandler perl-script
1178: PerlHandler Apache::lonretrieve
1179: ErrorDocument 403 /adm/login
1180: ErrorDocument 404 /adm/notfound.html
1181: ErrorDocument 406 /adm/unauthorized
1182: ErrorDocument 500 /adm/errorhandler
1183: </Location>
1184:
1185: <Location /adm/cleanup>
1186: AuthType LONCAPA
1187: Require valid-user
1188: PerlAuthzHandler Apache::lonacc
1189: SetHandler perl-script
1190: PerlHandler Apache::loncleanup
1191: ErrorDocument 403 /adm/login
1192: ErrorDocument 404 /adm/notfound.html
1193: ErrorDocument 406 /adm/unauthorized
1194: ErrorDocument 500 /adm/errorhandler
1195: </Location>
1196:
1197: <Location /adm/cfile>
1198: AuthType LONCAPA
1199: Require valid-user
1200: PerlAuthzHandler Apache::lonacc
1201: SetHandler perl-script
1202: PerlHandler Apache::loncfile
1203: ErrorDocument 403 /adm/login
1204: ErrorDocument 404 /adm/notfound.html
1205: ErrorDocument 406 /adm/unauthorized
1206: ErrorDocument 500 /adm/errorhandler
1207: </Location>
1208:
1209: <Location /adm/diff>
1210: AuthType LONCAPA
1211: Require valid-user
1212: PerlAuthzHandler Apache::lonacc
1213: SetHandler perl-script
1214: PerlHandler Apache::londiff
1215: ErrorDocument 403 /adm/login
1216: ErrorDocument 404 /adm/notfound.html
1217: ErrorDocument 406 /adm/unauthorized
1218: ErrorDocument 500 /adm/errorhandler
1219: </Location>
1220:
1221: <Location /adm/upload>
1222: AuthType LONCAPA
1223: Require valid-user
1224: PerlAuthzHandler Apache::lonacc
1225: SetHandler perl-script
1226: PerlHandler Apache::lonupload
1227: ErrorDocument 403 /adm/login
1228: ErrorDocument 404 /adm/notfound.html
1229: ErrorDocument 406 /adm/unauthorized
1230: ErrorDocument 500 /adm/errorhandler
1231: </Location>
1232:
1233: <Location /adm/imsimport>
1234: AuthType LONCAPA
1235: Require valid-user
1236: PerlAuthzHandler Apache::lonacc
1237: SetHandler perl-script
1238: PerlHandler Apache::imsimport
1239: ErrorDocument 403 /adm/login
1240: ErrorDocument 404 /adm/notfound.html
1241: ErrorDocument 406 /adm/unauthorized
1242: ErrorDocument 500 /adm/errorhandler
1243: </Location>
1244:
1245: <Location /adm/testbank>
1246: AuthType LONCAPA
1247: Require valid-user
1248: PerlAuthzHandler Apache::lonacc
1249: SetHandler perl-script
1250: PerlHandler Apache::testbankimport
1251: ErrorDocument 403 /adm/login
1252: ErrorDocument 404 /adm/notfound.html
1253: ErrorDocument 406 /adm/unauthorized
1254: ErrorDocument 500 /adm/errorhandler
1255: </Location>
1256:
1257: <Location /adm/assesscalc>
1258: AuthType LONCAPA
1259: Require valid-user
1260: PerlAuthzHandler Apache::lonacc
1261: SetHandler perl-script
1262: PerlHandler Apache::lonspreadsheet
1263: ErrorDocument 403 /adm/login
1264: ErrorDocument 406 /adm/roles
1265: ErrorDocument 413 /adm/overloaded.txt
1266: ErrorDocument 500 /adm/errorhandler
1267: </Location>
1268:
1269: <Location /adm/studentcalc>
1270: AuthType LONCAPA
1271: Require valid-user
1272: PerlAuthzHandler Apache::lonacc
1273: SetHandler perl-script
1274: PerlHandler Apache::lonspreadsheet
1275: ErrorDocument 403 /adm/login
1276: ErrorDocument 406 /adm/roles
1277: ErrorDocument 413 /adm/overloaded.txt
1278: ErrorDocument 500 /adm/errorhandler
1279: </Location>
1280:
1281: <Location /adm/classcalc>
1282: AuthType LONCAPA
1283: Require valid-user
1284: PerlAuthzHandler Apache::lonacc
1285: SetHandler perl-script
1286: PerlHandler Apache::lonspreadsheet
1287: ErrorDocument 403 /adm/login
1288: ErrorDocument 406 /adm/roles
1289: ErrorDocument 413 /adm/overloaded.txt
1290: ErrorDocument 500 /adm/errorhandler
1291: </Location>
1292:
1293: <Location /adm/dropadd>
1294: AuthType LONCAPA
1295: Require valid-user
1296: PerlAuthzHandler Apache::lonacc
1297: SetHandler perl-script
1298: PerlHandler Apache::londropadd
1299: ErrorDocument 403 /adm/login
1300: ErrorDocument 406 /adm/roles
1301: ErrorDocument 500 /adm/errorhandler
1302: </Location>
1303:
1304: <Location /adm/viewclasslist>
1305: AuthType LONCAPA
1306: Require valid-user
1307: PerlAuthzHandler Apache::lonacc
1308: SetHandler perl-script
1309: PerlHandler Apache::lonviewclasslist
1310: ErrorDocument 403 /adm/login
1311: ErrorDocument 406 /adm/roles
1312: ErrorDocument 500 /adm/errorhandler
1313: </Location>
1314:
1315: <Location /adm/coursegroups>
1316: AuthType LONCAPA
1317: Require valid-user
1318: PerlAuthzHandler Apache::lonacc
1319: SetHandler perl-script
1320: PerlHandler Apache::loncoursegroups
1321: ErrorDocument 403 /adm/login
1322: ErrorDocument 406 /adm/roles
1323: ErrorDocument 500 /adm/errorhandler
1324: </Location>
1325:
1326: <Location /adm/groupboards>
1327: AuthType LONCAPA
1328: Require valid-user
1329: PerlAuthzHandler Apache::lonacc
1330: SetHandler perl-script
1331: PerlHandler Apache::groupboards
1332: ErrorDocument 403 /adm/login
1333: ErrorDocument 406 /adm/roles
1334: ErrorDocument 500 /adm/errorhandler
1335: </Location>
1336:
1337: <Location /adm/grouproster>
1338: AuthType LONCAPA
1339: Require valid-user
1340: PerlAuthzHandler Apache::lonacc
1341: SetHandler perl-script
1342: PerlHandler Apache::grouproster
1343: ErrorDocument 403 /adm/login
1344: ErrorDocument 406 /adm/roles
1345: ErrorDocument 500 /adm/errorhandler
1346: </Location>
1347:
1348: <Location /adm/whatsnew>
1349: AuthType LONCAPA
1350: Require valid-user
1351: PerlAuthzHandler Apache::lonacc
1352: SetHandler perl-script
1353: PerlHandler Apache::lonwhatsnew
1354: ErrorDocument 403 /adm/login
1355: ErrorDocument 406 /adm/roles
1356: ErrorDocument 500 /adm/errorhandler
1357: </Location>
1358:
1359: <Location /adm/populate>
1360: AuthType LONCAPA
1361: Require valid-user
1362: PerlAuthzHandler Apache::lonacc
1363: SetHandler perl-script
1364: PerlHandler Apache::lonpopulate
1365: ErrorDocument 403 /adm/login
1366: ErrorDocument 406 /adm/roles
1367: ErrorDocument 500 /adm/errorhandler
1368: </Location>
1369:
1370: <Location /adm/managekeys>
1371: AuthType LONCAPA
1372: Require valid-user
1373: PerlAuthzHandler Apache::lonacc
1374: SetHandler perl-script
1375: PerlHandler Apache::lonmanagekeys
1376: ErrorDocument 403 /adm/login
1377: ErrorDocument 406 /adm/roles
1378: ErrorDocument 500 /adm/errorhandler
1379: </Location>
1380:
1381: <Location /adm/printout>
1382: AuthType LONCAPA
1383: Require valid-user
1384: PerlAuthzHandler Apache::lonacc
1385: SetHandler perl-script
1386: PerlHandler Apache::lonprintout
1387: ErrorDocument 403 /adm/login
1388: ErrorDocument 413 /adm/overloaded.txt
1389: ErrorDocument 500 /adm/errorhandler
1390: </Location>
1391:
1392: <Location /adm/feedback>
1393: AuthType LONCAPA
1394: Require valid-user
1395: PerlAuthzHandler Apache::lonacc
1396: SetHandler perl-script
1397: PerlHandler Apache::lonfeedback
1398: ErrorDocument 403 /adm/login
1399: ErrorDocument 500 /adm/errorhandler
1400: </Location>
1401:
1402: <Location /adm/coursedocs>
1403: AuthType LONCAPA
1404: Require valid-user
1405: PerlAuthzHandler Apache::lonacc
1406: SetHandler perl-script
1407: PerlHandler Apache::londocs
1408: PerlCleanupHandler Apache::londocs::untiehash
1409: PerlCleanupHandler Apache::lonacc::cleanup
1410: ErrorDocument 403 /adm/login
1411: ErrorDocument 500 /adm/errorhandler
1412: </Location>
1413:
1414: <Location /adm/supplemental>
1415: AuthType LONCAPA
1416: Require valid-user
1417: PerlAuthzHandler Apache::lonacc
1418: SetHandler perl-script
1419: PerlHandler Apache::londocs
1420: PerlCleanupHandler Apache::londocs::untiehash
1421: PerlCleanupHandler Apache::lonacc::cleanup
1422: ErrorDocument 403 /adm/login
1423: ErrorDocument 500 /adm/errorhandler
1424: </Location>
1425:
1426: <Location /adm/imsimportdocs>
1427: AuthType LONCAPA
1428: Require valid-user
1429: PerlAuthzHandler Apache::lonacc
1430: SetHandler perl-script
1431: PerlHandler Apache::imsimportdocs
1432: ErrorDocument 403 /adm/login
1433: ErrorDocument 500 /adm/errorhandler
1434: </Location>
1435:
1436: <Location /adm/extresedit>
1437: AuthType LONCAPA
1438: Require valid-user
1439: PerlAuthzHandler Apache::lonacc
1440: SetHandler perl-script
1441: PerlHandler Apache::lonextresedit
1442: ErrorDocument 403 /adm/login
1443: ErrorDocument 500 /adm/errorhandler
1444: </Location>
1445:
1446: <LocationMatch "^/adm/announcements">
1447: AuthType LONCAPA
1448: Require valid-user
1449: PerlAuthzHandler Apache::lonacc
1450: SetHandler perl-script
1451: PerlHandler Apache::lonannounce
1452: ErrorDocument 403 /adm/login
1453: ErrorDocument 500 /adm/errorhandler
1454: </LocationMatch>
1455:
1456: <Location /adm/chat>
1457: AuthType LONCAPA
1458: Require valid-user
1459: PerlAuthzHandler Apache::lonacc
1460: SetHandler perl-script
1461: PerlHandler Apache::lonchat
1462: ErrorDocument 500 /adm/errorhandler
1463: </Location>
1464:
1465: <Location /adm/chatfetch>
1466: AuthType LONCAPA
1467: Require valid-user
1468: PerlAuthzHandler Apache::lonacc
1469: SetHandler perl-script
1470: PerlHandler Apache::lonchatfetch
1471: ErrorDocument 413 /adm/overloaded.txt
1472: ErrorDocument 500 /adm/errorhandler
1473: </Location>
1474:
1475: <Location /adm/groupchat>
1476: AuthType LONCAPA
1477: Require valid-user
1478: PerlAuthzHandler Apache::lonacc
1479: SetHandler perl-script
1480: PerlHandler Apache::longroupchat
1481: ErrorDocument 403 /adm/login
1482: ErrorDocument 500 /adm/errorhandler
1483: </Location>
1484:
1485: <Location /adm/evaluate>
1486: AuthType LONCAPA
1487: Require valid-user
1488: PerlAuthzHandler Apache::lonacc
1489: SetHandler perl-script
1490: PerlHandler Apache::lonevaluate
1491: ErrorDocument 403 /adm/login
1492: ErrorDocument 500 /adm/errorhandler
1493: </Location>
1494:
1495: <Location /adm/preferences>
1496: AuthType LONCAPA
1497: Require valid-user
1498: PerlAuthzHandler Apache::lonacc
1499: SetHandler perl-script
1500: PerlHandler Apache::lonpreferences
1501: ErrorDocument 403 /adm/login
1502: ErrorDocument 500 /adm/errorhandler
1503: </Location>
1504:
1505: <Location /adm/viewcoauthors>
1506: AuthType LONCAPA
1507: Require valid-user
1508: PerlAuthzHandler Apache::lonacc
1509: SetHandler perl-script
1510: PerlHandler Apache::lonviewcoauthors
1511: ErrorDocument 403 /adm/login
1512: ErrorDocument 406 /adm/roles
1513: ErrorDocument 500 /adm/errorhandler
1514: </Location>
1515:
1516: <Location /adm/communicate>
1517: AuthType LONCAPA
1518: Require valid-user
1519: PerlAuthzHandler Apache::lonacc
1520: SetHandler perl-script
1521: PerlHandler Apache::loncommunicate
1522: ErrorDocument 403 /adm/login
1523: ErrorDocument 500 /adm/errorhandler
1524: </Location>
1525:
1526: <Location /adm/searchcat>
1527: AuthType LONCAPA
1528: Require valid-user
1529: PerlAuthzHandler Apache::lonacc
1530: SetHandler perl-script
1531: PerlHandler Apache::lonsearchcat
1532: PerlCleanupHandler Apache::lonsearchcat::cleanup
1533: PerlCleanupHandler Apache::lonacc::cleanup
1534: ErrorDocument 403 /adm/login
1535: ErrorDocument 413 /adm/overloaded.txt
1536: ErrorDocument 500 /adm/errorhandler
1537: </Location>
1538:
1539: <Location /adm/navmaps>
1540: AuthType LONCAPA
1541: Require valid-user
1542: PerlAuthzHandler Apache::lonacc
1543: SetHandler perl-script
1544: PerlHandler Apache::lonnavdisplay
1545: ErrorDocument 403 /adm/login
1546: ErrorDocument 406 /adm/roles
1547: ErrorDocument 500 /adm/errorhandler
1548: </Location>
1549:
1550: <Location /adm/quickgrades>
1551: AuthType LONCAPA
1552: Require valid-user
1553: PerlAuthzHandler Apache::lonacc
1554: SetHandler perl-script
1555: PerlHandler Apache::lonquickgrades
1556: ErrorDocument 403 /adm/login
1557: ErrorDocument 406 /adm/roles
1558: ErrorDocument 500 /adm/errorhandler
1559: </Location>
1560:
1561: <Location /adm/groupsort>
1562: AuthType LONCAPA
1563: Require valid-user
1564: PerlAuthzHandler Apache::lonacc
1565: SetHandler perl-script
1566: PerlHandler Apache::groupsort
1567: PerlCleanupHandler Apache::groupsort::cleanup
1568: PerlCleanupHandler Apache::lonacc::cleanup
1569: ErrorDocument 403 /adm/login
1570: ErrorDocument 406 /adm/roles
1571: ErrorDocument 500 /adm/errorhandler
1572: </Location>
1573:
1574: <Location /adm/wishlist>
1575: AuthType LONCAPA
1576: Require valid-user
1577: PerlAuthzHandler Apache::lonacc
1578: SetHandler perl-script
1579: PerlHandler Apache::lonwishlistdisplay
1580: ErrorDocument 403 /adm/login
1581: ErrorDocument 406 /adm/roles
1582: ErrorDocument 500 /adm/errorhandler
1583: </Location>
1584:
1585: <Location /adm/setblock>
1586: AuthType LONCAPA
1587: Require valid-user
1588: PerlAuthzHandler Apache::lonacc
1589: SetHandler perl-script
1590: PerlHandler Apache::lonblockingmenu
1591: ErrorDocument 403 /adm/login
1592: ErrorDocument 406 /adm/roles
1593: ErrorDocument 500 /adm/errorhandler
1594: </Location>
1595:
1596: <Location /adm/blockingstatus>
1597: PerlAccessHandler Apache::publiccheck
1598: AuthType LONCAPA
1599: Require valid-user
1600: PerlAuthzHandler Apache::lonacc
1601: SetHandler perl-script
1602: PerlHandler Apache::lonblockingstatus
1603: </Location>
1604:
1605: <Location /adm/accesstimes>
1606: AuthType LONCAPA
1607: Require valid-user
1608: PerlAuthzHandler Apache::lonacc
1609: SetHandler perl-script
1610: PerlHandler Apache::lonaccesstimes
1611: ErrorDocument 403 /adm/login
1612: ErrorDocument 406 /adm/roles
1613: ErrorDocument 500 /adm/errorhandler
1614: </Location>
1615:
1616: <Location /adm/errorhandler>
1617: SetHandler perl-script
1618: PerlHandler Apache::lonerrorhandler
1619: </Location>
1620:
1621: <LocationMatch "^/adm/help/.*\.hlp$">
1622: AuthType LONCAPA
1623: Require valid-user
1624: PerlAccessHandler Apache::publiccheck
1625: PerlAuthzHandler Apache::lonacc
1626: SetHandler perl-script
1627: PerlHandler Apache::lonhelp
1628: ErrorDocument 500 /adm/errorhandler
1629: </LocationMatch>
1630:
1631: <LocationMatch "^/adm/helpmenu">
1632: AuthType LONCAPA
1633: Require valid-user
1634: PerlAuthzHandler Apache::lonacc
1635: SetHandler perl-script
1636: PerlHandler Apache::lonhelpmenu
1637: ErrorDocument 500 /adm/errorhandler
1638: </LocationMatch>
1639:
1640: <LocationMatch "^/adm/support">
1641: AuthType LONCAPA
1642: Require valid-user
1643: PerlAuthzHandler Apache::lonacc
1644: SetHandler perl-script
1645: PerlHandler Apache::lonsupportreq
1646: ErrorDocument 500 /adm/errorhandler
1647: </LocationMatch>
1648:
1649: <LocationMatch "^/adm/helpdesk">
1650: SetHandler perl-script
1651: PerlHandler Apache::lonsupportreq
1652: ErrorDocument 500 /adm/errorhandler
1653: </LocationMatch>
1654:
1655: <LocationMatch "^/adm/css/.*\.css$">
1656: SetHandler perl-script
1657: PerlHandler Apache::loncss
1658: ErrorDocument 500 /adm/errorhandler
1659: </LocationMatch>
1660:
1661: <LocationMatch "^/adm/coursecatalog">
1662: SetHandler perl-script
1663: PerlHandler Apache::coursecatalog
1664: ErrorDocument 500 /adm/errorhandler
1665: </LocationMatch>
1666:
1667: <LocationMatch "^/adm/resetpw">
1668: SetHandler perl-script
1669: PerlHandler Apache::resetpw
1670: ErrorDocument 500 /adm/errorhandler
1671: </LocationMatch>
1672:
1673: <LocationMatch "^/adm/selfenroll">
1674: SetHandler perl-script
1675: PerlHandler Apache::selfenroll
1676: ErrorDocument 500 /adm/errorhandler
1677: </LocationMatch>
1678:
1679: <LocationMatch "^/adm/createaccount">
1680: SetHandler perl-script
1681: PerlHandler Apache::createaccount
1682: ErrorDocument 500 /adm/errorhandler
1683: </LocationMatch>
1684:
1685: <LocationMatch "^/adm/dns">
1686: SetHandler perl-script
1687: PerlHandler Apache::londns
1688: ErrorDocument 500 /adm/errorhandler
1689: </LocationMatch>
1690:
1691: <LocationMatch "^/ajax/spellcheck">
1692: SetHandler perl-script
1693: PerlHandler Apache::spellcheck
1694: </LocationMatch>
1695:
1696: <LocationMatch "^/tiny/[\w.-]+/\w+$">
1697: AuthType LONCAPA
1698: Require valid-user
1699: PerlAuthzHandler Apache::lonacc
1700: SetHandler perl-script
1701: PerlHandler Apache::lontiny
1702: ErrorDocument 403 /adm/login
1703: ErrorDocument 406 /adm/roles
1704: ErrorDocument 500 /adm/errorhandler
1705: </LocationMatch>
1706:
1707: # ------------------------------------------------- Backdoor Adm Tests/Programs
1708:
1709: <Location /adm/test>
1710: PerlAccessHandler Apache::lonstatusacc
1711: SetHandler perl-script
1712: PerlHandler Apache::lontest
1713: </Location>
1714:
1715: # ------------------------------------------------------- Shutting down a child
1716:
1717: PerlChildExitHandler Apache::lonacc::goodbye
1718:
1719: #
1720: # LON-CAPA Section (extensions to access.conf permission configuration)
1721: #
1722: # =========================================================== Directory Options
1723:
1724: # Start out with "no"
1725:
1726: <Directory />
1727: Options None
1728: AllowOverride None
1729: <IfModule mod_authz_core.c>
1730: Require all denied
1731: </IfModule>
1732: <IfModule !mod_authz_core.c>
1733: order deny,allow
1734: deny from all
1735: </IfModule>
1736: </Directory>
1737:
1738: # Allow uploaded files to be served
1739:
1740: <Directory "/home/httpd/lonUsers">
1741: Options FollowSymLinks
1742: AllowOverride None
1743: <IfModule mod_authz_core.c>
1744: Require all granted
1745: </IfModule>
1746: <IfModule !mod_authz_core.c>
1747: order allow,deny
1748: allow from all
1749: </IfModule>
1750: </Directory>
1751:
1752: # Yes to symbolic links and server-side includes
1753:
1754: <Directory /home/httpd/html>
1755: Options FollowSymLinks
1756: AllowOverride None
1757: <IfModule mod_authz_core.c>
1758: Require all granted
1759: </IfModule>
1760: <IfModule !mod_authz_core.c>
1761: order allow,deny
1762: allow from all
1763: </IfModule>
1764: </Directory>
1765:
1766: # If it is in cgi-bin, then it can be executed as a CGI script.
1767:
1768: <Directory /home/httpd/cgi-bin>
1769: AllowOverride None
1770: Options ExecCGI FollowSymLinks
1771: <IfModule mod_authz_core.c>
1772: Require all granted
1773: </IfModule>
1774: <IfModule !mod_authz_core.c>
1775: order allow,deny
1776: allow from all
1777: </IfModule>
1778: </Directory>
1779:
1780: # Allow serving of files in prtspool
1781:
1782: <Directory "/home/httpd/prtspool/">
1783: Options FollowSymLinks
1784: AllowOverride None
1785: <IfModule mod_authz_core.c>
1786: Require all granted
1787: </IfModule>
1788: <IfModule !mod_authz_core.c>
1789: order allow,deny
1790: allow from all
1791: </IfModule>
1792: </Directory>
1793:
1794: # Allow serving of files in zipspool
1795:
1796: <Directory "/home/httpd/zipspool/">
1797: Options FollowSymLinks
1798: AllowOverride None
1799: <IfModule mod_authz_core.c>
1800: Require all granted
1801: </IfModule>
1802: <IfModule !mod_authz_core.c>
1803: order allow,deny
1804: allow from all
1805: </IfModule>
1806: </Directory>
1807:
1808: # Allow serving of files in captchaspool
1809:
1810: <Directory "/home/httpd/captchaspool/">
1811: Options FollowSymLinks
1812: AllowOverride None
1813: <IfModule mod_authz_core.c>
1814: Require all granted
1815: </IfModule>
1816: <IfModule !mod_authz_core.c>
1817: order allow,deny
1818: allow from all
1819: </IfModule>
1820: </Directory>
1821:
1822: <DirectoryMatch "^/home/httpd/html/priv/.+/">
1823: DirectoryIndex disabled
1824: </DirectoryMatch>
1825:
1826: <DirectoryMatch "^/home/httpd/html/res/.+/">
1827: DirectoryIndex disabled
1828: </DirectoryMatch>
1829:
1830: # ============================================================= Access Handlers
1831:
1832: # ------------------------------------------------- Allow server-status reports
1833: <Location /server-status>
1834: PerlAccessHandler Apache::lonstatusacc
1835: SetHandler server-status
1836: </Location>
1837:
1838: # ------------------------ Allow LON-CAPA "low-level" connection status reports
1839: <LocationMatch "^/+lon-status/.*">
1840: PerlAccessHandler Apache::lonstatusacc
1841: ErrorDocument 406 /adm/roles
1842: ErrorDocument 500 /adm/errorhandler
1843: </LocationMatch>
1844:
1845: # ------------------- Allow access to local system documentation from localhost
1846: Alias /doc /usr/doc
1847: <Directory /usr/doc>
1848: Options Indexes FollowSymLinks
1849: <IfModule mod_authz_host.c>
1850: Require local
1851: </IfModule>
1852: <IfModule !mod_authz_host.c>
1853: order deny,allow
1854: deny from all
1855: allow from localhost
1856: </IfModule>
1857: </Directory>
1858:
1859: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
1860: # ====================================== Internal Settings / Perl Configuration
1861:
1862: PerlSetVar lonVersion '<!-- VERSION -->'
1863: PerlSetVar lonIDsDir /home/httpd/lonIDs
1864: PerlSetVar lonBalanceDir /home/httpd/balanceIDs
1865: PerlSetVar lonDAVsessDir /home/httpd/webdav/sessionIDs
1866: PerlSetVar lonTabDir /home/httpd/lonTabs
1867: PerlSetVar lonUsersDir /home/httpd/lonUsers
1868: PerlSetVar lonIconsURL /adm/lonIcons
1869: PerlSetVar londPort 5663
1870: PerlSetVar lonSysEMail techsupport@loncapa.org
1871: PerlSetVar lonDaemons /home/httpd/perl
1872: PerlSetVar lonLib /home/httpd/lib
1873: PerlSetVar lonSockDir /home/httpd/sockets
1874: PerlSetVar lonSockCreate /home/httpd/sockets/common
1875: PerlSetVar lonDocRoot /home/httpd/html
1876: PerlSetVar lonPrtDir /home/httpd/prtspool
1877: PerlSetVar lonIncludes /home/httpd/html/res/adm/includes
1878: PerlSetVar lonZipDir /home/httpd/zipspool
1879: PerlSetVar lonCaptchaDir /home/httpd/captchaspool
1880: PerlSetVar lonCaptchaDb /home/httpd/captchadb
1881: PerlSetVar lonLTIDir /home/httpd/lonLTItmp
1882: PerlSetVar ltiIDsDir /home/httpd/ltiIDs
1883: PerlSetVar lonFontsDir /home/httpd/html/adm/fonts
1884: # & separated list of % separated fields in order of
1885: # - internal name to call it,
1886: # - regexp that it should match (done case-insensitively)
1887: # - regexp that is should not match (done case-insensitively)
1888: # - regexp that will pull out the version number into $1
1889: # - a number that describes the minimum version that has mathml support
1890: # - a number that describes the minimum number version that has unicode support
1891:
1892: 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
1893:
1894: PerlSetVar lonTextBrowsers windows\s+ce:lynx
1895: PerlSetVar lonScansDir /home/httpd/scantron
1896: PerlSetVar lonScriptTimeout 10
1897: PerlSetVar BugzillaHost https://bugs.loncapa.org/
1898: PerlSetVar FAQHost http://help.lon-capa.org/
1899: # -----------------------------------------------------------------------------
1900: # NOTE: lonSqlAccess key is the password for the MySQL user
1901: # www@localhost. This value must always be "localhostkey".
1902: # The only security risk occurs when somebody logs in as 'www' on your system
1903: # (in which case you have much bigger problems than whether or not they
1904: # can access the non-authoritative loncapa database on your machine).
1905:
1906: PerlSetVar lonSqlAccess localhostkey
1907:
1908: #----------------------------------------------------------------------------
1909: #
1910: # Parameters used by secure lond/lonc
1911:
1912: #
1913: # Secure lond/lonc require ssl certificate and private
1914: # key files to function correctly. The certificate
1915: # files need not be terribly secure, but the private key files
1916: # should be set up so that only www (the lonc/lond effective user)
1917: # can read them.
1918: #
1919: # The definition below is the full path to the directory that
1920: # contains the certificate and key files:
1921:
1922: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
1923:
1924: #
1925: # Secure lond/lonc require two certificates and a private host key.
1926: # The certificates required are that of the lonCAPA certificate authority
1927: # and the certificate that authority issued to this host.
1928: # lonnetCertificateAuthority is the name of the file that contains the
1929: # lonCAPA certificate authority's certificate.
1930: # lonnetCertificate is the name of the file that contains the certificate
1931: # issued to the host by the certificate authority.
1932: # Both of these variables are names of files assumed to be in
1933: # lonCertificateDirectory:
1934:
1935: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
1936: PerlSetVar lonnetCertificate lonhostcert.pem
1937: PerlSetVar lonnetHostnameCertificate lonhostnamecert.pem
1938: PerlSetVar lonnetCertRevocationList loncapaCAcrl.pem
1939:
1940: #
1941: # To generate the request for a certificate, and to negotiate the
1942: # initial ssl connection, the host requires a private key. This key
1943: # is created at lonCAPA install time. Did we mention above that it
1944: # should be set so that only www can read it? The variale below
1945: # is the name of the file relative to lonnetCertificateDirectory
1946: # that has the host's private key. Did we remember to tell you to
1947: # keep the permissions on that file set to rw------- (0600)?
1948: #
1949:
1950: PerlSetVar lonnetPrivateKey lonKey.pem
1951:
1952: # Did we mention that the file described above must have
1953: # permissions really locked down so that it can't be stolen?
1954:
1955: #-------------------------------------------------------------------------
1956:
1957: # Parameters that define where all the ssl stuff is that's needed
1958: # to generate certificate requests and, on a system that's a CA
1959: # the certificate authority.
1960: #
1961: # SSLProgram -> Path to the openssl command
1962: # SSLDirectory -> Directory containing ssl configuration files etc.
1963: # SSLCAConfig -> Name of the SSL config file for the certificate
1964: # Authority.
1965: # SSLCAFile -> Full path to the Certificate authority file
1966: # (on the cert manager system).
1967: # SSLEmail -> E-mail address of loncapa certificate manager.
1968: # The following are good for the loncapa redhat installs and
1969: # the loncapa certificate authority system:
1970: #
1971: PerlSetVar SSLProgram /usr/bin/openssl
1972: PerlSetVar SSLDirectory /usr/share/ssl
1973: PerlSetVar SSLCAConfig loncapaca
1974: PerlSetVar SSLCAFile /usr/share/ssl/loncapaca/cacert.pem
1975: PerlSetVar SSLEmail certificate@lon-capa.org
1976:
1977: #-------------------------------------------------------------------------
1978:
1979:
1980: # ====================================== Include support for SSL rewrites
1981:
1982: Include conf/loncapa_rewrite.conf
1983:
1984:
1985: # ====================================== Include machine-specific configuration
1986:
1987: Include conf/loncapa.conf
1988:
1989: # ================================================= Include local configuration
1990:
1991: Include conf/loncapa_apache_local*.conf
1992:
1993: # ================================================== Initiate mod_perl starting
1994:
1995: PerlRequire conf/startup.pl
1996: <IfDefine !MODPERL2>
1997: PerlFreshRestart On
1998: </IfDefine>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>