File:
[LON-CAPA] /
loncom /
loncapa_apache.conf
Revision
1.143:
download - view:
text,
annotated -
select for diffs
Fri Jun 30 08:14:27 2006 UTC (18 years, 3 months ago) by
raeburn
Branches:
MAIN
CVS tags:
HEAD
Display of discussion boards in a group, and the ability for users with board creation privileges in the group to add new boards. When a group is first created a group folder is created containing the group homepage, and a discussion boards folder is created if discussion is enabled for the group. A "course groups" folder is also appended to the top level map in the course, if it does not already exist. Only works with standard courses which use default.sequence as the top level map. Hidden resource parameter is also applied to course group folders with default as hidden, and unhidden set for corresponding groups. Group bulletin boards use coursedom and coursenum as identifiers (instead of user domain and username as for normal boards) to allow them to be differentiated in lonfeedback.pm. A locking mechanism should be implemented to make group creation atomic to avoid overwriting of .sequence files if two groups are created within a second of each other in the same course. Also need to address modification to group settings, when discussion functionality is enabled/disabled, as folder may need to be created and/or hidden parameter modified.
1: ##
2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
3: ##
4: ## $Id: loncapa_apache.conf,v 1.143 2006/06/30 08:14:27 raeburn Exp $
5: ##
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: LoadModule perl_module modules/libperl.so
22: <IfDefine !MODPERL2>
23: AddModule mod_perl.c
24: </IfDefine>
25:
26: <IfDefine MODPERL2>
27: PerlSetVar MODPERL2 1
28: </IfDefine>
29: # =============================================================== Miscellaneous
30:
31: ServerAdmin korte@lite.msu.edu
32: ExtendedStatus On
33: #
34: # LON-CAPA Section (extensions to srm.conf name space servicing)
35: #
36: # ===================================================================== Aliases
37:
38: Alias /prtspool/ /home/httpd/prtspool/
39: ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
40:
41: # ================================================================= Directories
42:
43: # ------------------------------------------------------------- Access Handlers
44:
45: PerlTransHandler Apache::lontrans
46: PerlCleanupHandler Apache::lonacc::cleanup
47:
48: PerlAuthenHandler Apache::checkauthen
49: PerlSetVar lonOtherAuthen no
50:
51: #PerlWarn On
52: <LocationMatch "^/+res.*">
53:
54: AuthType LONCAPA
55: Require valid-user
56:
57: PerlAccessHandler Apache::publiccheck
58: PerlAuthzHandler Apache::lonacc
59: PerlHeaderParserHandler Apache::lonrep
60: ErrorDocument 403 /adm/login
61: ErrorDocument 404 /adm/notfound.html
62: ErrorDocument 406 /adm/roles
63: ErrorDocument 500 /adm/errorhandler
64: </LocationMatch>
65:
66:
67: <LocationMatch "/.*">
68: </LocationMatch>
69:
70:
71: <LocationMatch "^/+enc.*">
72: SetHandler perl-script
73: PerlHandler Apache::lonencurl
74: ErrorDocument 403 /adm/login
75: ErrorDocument 404 /adm/notfound.html
76: ErrorDocument 406 /adm/roles
77: ErrorDocument 500 /adm/errorhandler
78: </LocationMatch>
79:
80: <Location /adm/portfolio>
81: AuthType LONCAPA
82: Require valid-user
83: PerlAuthzHandler Apache::lonacc
84: SetHandler perl-script
85: PerlHandler Apache::portfolio
86: </Location>
87:
88: <Location /adm/coursegrp_portfolio>
89: AuthType LONCAPA
90: Require valid-user
91: PerlAuthzHandler Apache::lonacc
92: SetHandler perl-script
93: PerlHandler Apache::portfolio
94: </Location>
95:
96: <LocationMatch "^/+userfiles.*">
97: PerlAccessHandler Apache::lontokacc
98: PerlCleanupHandler Apache::lontokacc::removefile
99: PerlCleanupHandler Apache::lonacc::cleanup
100: </LocationMatch>
101:
102: <LocationMatch "^/+uploaded.*">
103: AuthType LONCAPA
104: Require valid-user
105: PerlAuthzHandler Apache::lonacc
106: PerlHeaderParserHandler Apache::lonuploadrep
107: ErrorDocument 403 /adm/login
108: ErrorDocument 404 /adm/notfound.html
109: ErrorDocument 406 /adm/roles
110: ErrorDocument 500 /adm/errorhandler
111: </LocationMatch>
112:
113: <LocationMatch "^/+editupload.*">
114: AuthType LONCAPA
115: Require valid-user
116: PerlAuthzHandler Apache::lonacc
117: ErrorDocument 403 /adm/login
118: ErrorDocument 406 /adm/roles
119: ErrorDocument 500 /adm/errorhandler
120: </LocationMatch>
121:
122: <LocationMatch "^/+uploaded/.*/.*/internal/.*">
123: PerlAuthzHandler Apache::lonuploadedacc
124: </LocationMatch>
125:
126: <LocationMatch "^/+uploaded/.*/.*/portfolio/.*">
127: PerlAccessHandler Apache::publiccheck
128: AuthType LONCAPA
129: Require valid-user
130: PerlAuthzHandler Apache::lonacc
131: </LocationMatch>
132:
133: <LocationMatch "^/+uploaded/.*/.*/groups/.*/portfolio/.*">
134: PerlAccessHandler Apache::publiccheck
135: AuthType LONCAPA
136: Require valid-user
137: PerlAuthzHandler Apache::lonacc
138: </LocationMatch>
139:
140: <LocationMatch "^/+uploaded/.*\.page$">
141: SetHandler perl-script
142: PerlHandler Apache::lonpage
143: </LocationMatch>
144:
145: <LocationMatch "^/+uploaded/.*\.sequence$">
146: SetHandler perl-script
147: PerlHandler Apache::lonsequence
148: </LocationMatch>
149:
150: <LocationMatch "^/+public/.*/syllabus$">
151: PerlAccessHandler Apache::publiccheck
152: AuthType LONCAPA
153: Require valid-user
154: PerlAuthzHandler Apache::lonacc
155: SetHandler perl-script
156: PerlHandler Apache::lonsyllabus
157: ErrorDocument 404 /adm/notfound.html
158: ErrorDocument 500 /adm/errorhandler
159: </LocationMatch>
160:
161: <LocationMatch "^/+(public|adm)/.*(\.rss|_rss\.html)$">
162: PerlAccessHandler Apache::publiccheck
163: AuthType LONCAPA
164: Require valid-user
165: PerlAuthzHandler Apache::lonacc
166: SetHandler perl-script
167: PerlHandler Apache::lonrss
168: ErrorDocument 404 /adm/notfound.html
169: ErrorDocument 500 /adm/errorhandler
170: </LocationMatch>
171:
172: <LocationMatch "^/adm/.*/aboutme$">
173: AuthType LONCAPA
174: Require valid-user
175: PerlAuthzHandler Apache::lonacc
176: SetHandler perl-script
177: PerlHandler Apache::lonaboutme
178: ErrorDocument 404 /adm/notfound.html
179: ErrorDocument 406 /adm/notinit.html
180: ErrorDocument 500 /adm/errorhandler
181: </LocationMatch>
182:
183: <LocationMatch "^/adm/.*/smppg$">
184: AuthType LONCAPA
185: Require valid-user
186: PerlAuthzHandler Apache::lonacc
187: SetHandler perl-script
188: PerlHandler Apache::lonsimplepage
189: ErrorDocument 404 /adm/notfound.html
190: ErrorDocument 406 /adm/notinit.html
191: ErrorDocument 500 /adm/errorhandler
192: </LocationMatch>
193:
194: <LocationMatch "^/adm/.*/grppg$">
195: AuthType LONCAPA
196: Require valid-user
197: PerlAuthzHandler Apache::lonacc
198: SetHandler perl-script
199: PerlHandler Apache::lonsimplepage
200: ErrorDocument 404 /adm/notfound.html
201: ErrorDocument 406 /adm/notinit.html
202: ErrorDocument 500 /adm/errorhandler
203: </LocationMatch>
204:
205: <LocationMatch "^/adm/.*/bulletinboard$">
206: AuthType LONCAPA
207: Require valid-user
208: PerlAuthzHandler Apache::lonacc
209: SetHandler perl-script
210: PerlHandler Apache::londatecheck
211: PerlHandler Apache::lonbulletin
212: ErrorDocument 404 /adm/notfound.html
213: ErrorDocument 406 /adm/notinit.html
214: ErrorDocument 500 /adm/errorhandler
215: </LocationMatch>
216:
217: <LocationMatch "\.problem/smpedit$">
218: AuthType LONCAPA
219: Require valid-user
220: PerlAuthzHandler Apache::lonacc
221: SetHandler perl-script
222: PerlHandler Apache::lonsimpleproblemedit
223: ErrorDocument 404 /adm/notfound.html
224: ErrorDocument 406 /adm/notinit.html
225: ErrorDocument 500 /adm/errorhandler
226: </LocationMatch>
227:
228: <LocationMatch "^/+priv.*">
229: AuthType LONCAPA
230: Require valid-user
231: PerlAuthzHandler Apache::loncacc
232: SetHandler perl-script
233: PerlHandler Apache::lonconstruct
234: ErrorDocument 403 /adm/login
235: ErrorDocument 404 /adm/notfound.html
236: ErrorDocument 406 /adm/unauthorized
237: ErrorDocument 500 /adm/errorhandler
238: </LocationMatch>
239:
240: <LocationMatch "^/+raw.*">
241: PerlAccessHandler Apache::lonracc
242: </LocationMatch>
243:
244: <LocationMatch "^/+\~.*">
245: AuthType LONCAPA
246: Require valid-user
247: PerlAuthzHandler Apache::loncacc
248: ErrorDocument 403 /adm/login
249: ErrorDocument 404 /adm/notfound.html
250: ErrorDocument 406 /adm/unauthorized
251: ErrorDocument 500 /adm/errorhandler
252: AllowOverride None
253: </LocationMatch>
254:
255: <LocationMatch "^/adm/helper/.*\.helper$">
256: AuthType LONCAPA
257: Require valid-user
258: PerlAccessHandler Apache::publiccheck
259: PerlAuthzHandler Apache::lonacc
260: SetHandler perl-script
261: PerlHandler Apache::lonhelper
262: ErrorDocument 403 /adm/login
263: ErrorDocument 404 /adm/notfound.html
264: ErrorDocument 406 /adm/unauthorized
265: ErrorDocument 500 /adm/errorhandler
266: </LocationMatch>
267:
268: <LocationMatch "/prtspool">
269: AuthType LONCAPA
270: Require valid-user
271: PerlAuthzHandler Apache::lonacc
272: ErrorDocument 403 /adm/login
273: ErrorDocument 404 /adm/notfound.html
274: ErrorDocument 406 /adm/roles
275: ErrorDocument 413 /adm/overloaded.txt
276: ErrorDocument 500 /adm/errorhandler
277: </LocationMatch>
278: # ------------------------------------------------------------------------- RAT
279:
280: <LocationMatch "^/\~.*\.sequence$">
281: SetHandler perl-script
282: PerlHandler Apache::lonratedt
283: </LocationMatch>
284:
285: <LocationMatch "^/\~.*\.page$">
286: SetHandler perl-script
287: PerlHandler Apache::lonratedt
288: </LocationMatch>
289:
290: <LocationMatch "^/\~.*\/ratserver$">
291: SetHandler perl-script
292: PerlHandler Apache::lonratsrv
293: </LocationMatch>
294:
295: <LocationMatch "^/\~.*\/adveditmenu$">
296: SetHandler perl-script
297: PerlHandler Apache::lonratmenu
298: </LocationMatch>
299:
300: <Location /adm/ratparms>
301: AuthType LONCAPA
302: Require valid-user
303: PerlAuthzHandler Apache::lonacc
304: SetHandler perl-script
305: PerlHandler Apache::lonratparms
306: ErrorDocument 403 /adm/login
307: ErrorDocument 500 /adm/errorhandler
308: </Location>
309:
310: # --------------------------------------------- Resource Space Content Handlers
311:
312: <LocationMatch "^/+res.*/$">
313: SetHandler perl-script
314: PerlHandler Apache::lonindexer
315: PerlCleanupHandler Apache::lonindexer::cleanup
316: PerlCleanupHandler Apache::lonacc::cleanup
317: </LocationMatch>
318:
319: <LocationMatch "^/+(res|\~).*\.tex$">
320: SetHandler perl-script
321: PerlHandler Apache::lontex
322: </LocationMatch>
323:
324: <LocationMatch "^/+res/.*\.page$">
325: SetHandler perl-script
326: PerlHandler Apache::lonpage
327: </LocationMatch>
328:
329: <LocationMatch "^/+res/.*\.sequence$">
330: SetHandler perl-script
331: PerlHandler Apache::lonsequence
332: </LocationMatch>
333:
334: <LocationMatch "^/+(res|\~|public|uploaded|editupload|adm).*\.meta$">
335: PerlAccessHandler Apache::publiccheck
336: SetHandler perl-script
337: PerlHandler Apache::lonmeta
338: ErrorDocument 413 /adm/overloaded.txt
339: </LocationMatch>
340:
341: <LocationMatch "^/adm/bombs/">
342: AuthType LONCAPA
343: Require valid-user
344: SetHandler perl-script
345: PerlAuthzHandler Apache::lonacc
346: PerlHandler Apache::lonmeta
347: </LocationMatch>
348:
349:
350:
351: <LocationMatch "^/+(res|\~).*\.rights$">
352: SetHandler perl-script
353: PerlHandler Apache::lonrights
354: </LocationMatch>
355:
356: <LocationMatch "^/+(uploaded|res|\~).*\.(xml|html|htm|xhtml|xhtm|sty)$">
357: SetHandler perl-script
358: PerlHandler Apache::londatecheck
359: PerlHandler Apache::lonxml
360: </LocationMatch>
361:
362: <LocationMatch "^/+(res|\~).*\.(task|problem|exam|quiz|assess|survey|form|library)$">
363: SetHandler perl-script
364: PerlHandler Apache::lonhomework
365: </LocationMatch>
366:
367: <LocationMatch "^/adm/wrapper/">
368: AuthType LONCAPA
369: Require valid-user
370: PerlAuthzHandler Apache::lonacc
371: SetHandler perl-script
372: PerlHandler Apache::lonwrapper
373: ErrorDocument 403 /adm/login
374: ErrorDocument 500 /adm/errorhandler
375: </LocationMatch>
376:
377: <LocationMatch "^/adm/source">
378: AuthType LONCAPA
379: Require valid-user
380: PerlAuthzHandler Apache::lonacc
381: SetHandler perl-script
382: PerlHandler Apache::lonsource
383: ErrorDocument 403 /adm/login
384: ErrorDocument 406 /adm/roles
385: ErrorDocument 500 /adm/errorhandler
386: </LocationMatch>
387:
388:
389: <LocationMatch "^/adm/localize/">
390: AuthType LONCAPA
391: Require valid-user
392: PerlAuthzHandler Apache::lonacc
393: SetHandler perl-script
394: PerlHandler Apache::lonlocalize
395: ErrorDocument 403 /adm/login
396: ErrorDocument 500 /adm/errorhandler
397: </LocationMatch>
398:
399: # -------------------------------------------------------------- Admin Programs
400:
401: <Location /adm/randomlabel.png>
402: AuthType LONCAPA
403: Require valid-user
404: PerlAuthzHandler Apache::lonacc
405: SetHandler perl-script
406: PerlHandler Apache::randomlylabel
407: ErrorDocument 403 /adm/login
408: ErrorDocument 500 /adm/errorhandler
409: </Location>
410:
411: <Location /adm/imagechoice>
412: AuthType LONCAPA
413: Require valid-user
414: PerlAuthzHandler Apache::lonacc
415: SetHandler perl-script
416: PerlHandler Apache::imagechoice
417: ErrorDocument 403 /adm/login
418: ErrorDocument 500 /adm/errorhandler
419: </Location>
420:
421: <Location /adm/statistics>
422: AuthType LONCAPA
423: Require valid-user
424: PerlAuthzHandler Apache::lonacc
425: SetHandler perl-script
426: PerlHandler Apache::lonstatistics
427: ErrorDocument 403 /adm/login
428: ErrorDocument 413 /adm/overloaded.txt
429: ErrorDocument 500 /adm/errorhandler
430: </Location>
431:
432: <Location /adm/trackstudent>
433: AuthType LONCAPA
434: Require valid-user
435: PerlAuthzHandler Apache::lonacc
436: SetHandler perl-script
437: PerlHandler Apache::lontrackstudent
438: ErrorDocument 403 /adm/login
439: ErrorDocument 413 /adm/overloaded.txt
440: ErrorDocument 500 /adm/errorhandler
441: </Location>
442:
443: <Location /adm/roles>
444: AuthType LONCAPA
445: Require valid-user
446: PerlAuthzHandler Apache::lonacc
447: SetHandler perl-script
448: PerlHandler Apache::lonroles
449: ErrorDocument 403 /adm/login
450: ErrorDocument 500 /adm/errorhandler
451: </Location>
452:
453: <Location /adm/menu>
454: AuthType LONCAPA
455: Require valid-user
456: PerlAuthzHandler Apache::lonacc
457: SetHandler perl-script
458: PerlHandler Apache::lonmainmenu
459: ErrorDocument 403 /adm/login
460: ErrorDocument 500 /adm/errorhandler
461: </Location>
462:
463: <Location /adm/remote>
464: AuthType LONCAPA
465: Require valid-user
466: PerlAuthzHandler Apache::lonacc
467: SetHandler perl-script
468: PerlHandler Apache::lonremote
469: ErrorDocument 403 /adm/login
470: ErrorDocument 500 /adm/errorhandler
471: </Location>
472:
473: <Location /adm/pickstudent>
474: AuthType LONCAPA
475: Require valid-user
476: PerlAuthzHandler Apache::lonacc
477: SetHandler perl-script
478: PerlHandler Apache::lonpickstudent
479: ErrorDocument 403 /adm/login
480: ErrorDocument 500 /adm/errorhandler
481: </Location>
482:
483: <Location /adm/pickcourse>
484: AuthType LONCAPA
485: Require valid-user
486: PerlAuthzHandler Apache::lonacc
487: SetHandler perl-script
488: PerlHandler Apache::lonpickcourse
489: ErrorDocument 403 /adm/login
490: ErrorDocument 500 /adm/errorhandler
491: </Location>
492:
493: <Location /adm/pickcode>
494: AuthType LONCAPA
495: Require valid-user
496: PerlAuthzHandler Apache::lonacc
497: SetHandler perl-script
498: PerlHandler Apache::lonpickcode
499: ErrorDocument 403 /adm/login
500: ErrorDocument 500 /adm/errorhandler
501: </Location>
502:
503: <Location /adm/login>
504: SetHandler perl-script
505: PerlHandler Apache::lonlogin
506: </Location>
507:
508: <Location /adm/logout>
509: AuthType LONCAPA
510: Require valid-user
511: PerlAuthzHandler Apache::lonacc
512: SetHandler perl-script
513: PerlHandler Apache::lonlogout
514: ErrorDocument 403 /adm/login
515: </Location>
516:
517: <Location /adm/switchserver>
518: AuthType LONCAPA
519: Require valid-user
520: PerlAuthzHandler Apache::lonacc
521: SetHandler perl-script
522: PerlHandler Apache::switchserver
523: ErrorDocument 403 /adm/login
524: </Location>
525:
526: <Location /adm/authenticate>
527: SetHandler perl-script
528: PerlHandler Apache::lonauth
529: </Location>
530:
531: <Location /adm/migrateuser>
532: SetHandler perl-script
533: PerlHandler Apache::migrateuser
534: </Location>
535:
536: <Location /adm/annotations>
537: AuthType LONCAPA
538: Require valid-user
539: PerlAuthzHandler Apache::lonacc
540: SetHandler perl-script
541: PerlHandler Apache::admannotations
542: ErrorDocument 403 /adm/login
543: ErrorDocument 500 /adm/errorhandler
544: </Location>
545:
546: <Location /adm/spellcheck>
547: AuthType LONCAPA
548: Require valid-user
549: PerlAuthzHandler Apache::lonacc
550: SetHandler perl-script
551: PerlHandler Apache::lonspeller
552: ErrorDocument 403 /adm/login
553: ErrorDocument 500 /adm/errorhandler
554: </Location>
555:
556: <Location /adm/bookmarks>
557: AuthType LONCAPA
558: Require valid-user
559: PerlAuthzHandler Apache::lonacc
560: SetHandler perl-script
561: PerlHandler Apache::admbookmarks
562: ErrorDocument 403 /adm/login
563: ErrorDocument 500 /adm/errorhandler
564: </Location>
565:
566: <Location /adm/flip>
567: AuthType LONCAPA
568: Require valid-user
569: PerlAuthzHandler Apache::lonacc
570: SetHandler perl-script
571: PerlHandler Apache::lonpageflip
572: PerlCleanupHandler Apache::lonpageflip::cleanup
573: PerlCleanupHandler Apache::lonacc::cleanup
574: ErrorDocument 406 /adm/roles
575: ErrorDocument 403 /adm/login
576: ErrorDocument 500 /adm/errorhandler
577: </Location>
578:
579: <Location /adm/ambiguous>
580: AuthType LONCAPA
581: Require valid-user
582: PerlAuthzHandler Apache::lonacc
583: SetHandler perl-script
584: PerlHandler Apache::lonambiguous
585: PerlCleanupHandler Apache::lonambiguous::cleanup
586: PerlCleanupHandler Apache::lonacc::cleanup
587: ErrorDocument 403 /adm/login
588: ErrorDocument 500 /adm/errorhandler
589: </Location>
590:
591: <Location /adm/email>
592: AuthType LONCAPA
593: Require valid-user
594: PerlAuthzHandler Apache::lonacc
595: SetHandler perl-script
596: PerlHandler Apache::lonmsgdisplay
597: ErrorDocument 403 /adm/login
598: ErrorDocument 500 /adm/errorhandler
599: </Location>
600:
601: <Location /adm/notify>
602: AuthType LONCAPA
603: Require valid-user
604: PerlAuthzHandler Apache::lonacc
605: SetHandler perl-script
606: PerlHandler Apache::lonnotify
607: ErrorDocument 403 /adm/login
608: ErrorDocument 500 /adm/errorhandler
609: </Location>
610:
611: <Location /adm/parmset>
612: AuthType LONCAPA
613: Require valid-user
614: PerlAuthzHandler Apache::lonacc
615: SetHandler perl-script
616: PerlHandler Apache::lonparmset
617: ErrorDocument 403 /adm/login
618: ErrorDocument 406 /adm/roles
619: ErrorDocument 500 /adm/errorhandler
620: </Location>
621:
622: <Location /adm/slotrequest>
623: AuthType LONCAPA
624: Require valid-user
625: PerlAuthzHandler Apache::lonacc
626: SetHandler perl-script
627: PerlHandler Apache::slotrequest
628: ErrorDocument 403 /adm/login
629: ErrorDocument 406 /adm/roles
630: ErrorDocument 500 /adm/errorhandler
631: </Location>
632:
633: <Location /adm/wizard>
634: AuthType LONCAPA
635: Require valid-user
636: PerlAuthzHandler Apache::lonacc
637: SetHandler perl-script
638: PerlHandler Apache::lonwizard
639: ErrorDocument 403 /adm/login
640: ErrorDocument 406 /adm/roles
641: ErrorDocument 500 /adm/errorhandler
642: </Location>
643:
644: <Location /adm/grades>
645: AuthType LONCAPA
646: Require valid-user
647: PerlAuthzHandler Apache::lonacc
648: SetHandler perl-script
649: PerlHandler Apache::grades
650: ErrorDocument 403 /adm/login
651: ErrorDocument 406 /adm/roles
652: ErrorDocument 500 /adm/errorhandler
653: </Location>
654:
655: <Location /adm/createcourse>
656: AuthType LONCAPA
657: Require valid-user
658: PerlAuthzHandler Apache::lonacc
659: SetHandler perl-script
660: PerlHandler Apache::loncreatecourse
661: ErrorDocument 403 /adm/login
662: ErrorDocument 406 /adm/roles
663: ErrorDocument 500 /adm/errorhandler
664: </Location>
665:
666: <Location /adm/modifycourse>
667: AuthType LONCAPA
668: Require valid-user
669: PerlAuthzHandler Apache::lonacc
670: SetHandler perl-script
671: PerlHandler Apache::lonmodifycourse
672: ErrorDocument 403 /adm/login
673: ErrorDocument 406 /adm/roles
674: ErrorDocument 500 /adm/errorhandler
675: </Location>
676:
677: <Location /adm/createuser>
678: AuthType LONCAPA
679: Require valid-user
680: PerlAuthzHandler Apache::lonacc
681: SetHandler perl-script
682: PerlHandler Apache::loncreateuser
683: ErrorDocument 403 /adm/login
684: ErrorDocument 406 /adm/roles
685: ErrorDocument 500 /adm/errorhandler
686: </Location>
687:
688: <Location /adm/publish>
689: AuthType LONCAPA
690: Require valid-user
691: PerlAuthzHandler Apache::lonacc
692: SetHandler perl-script
693: PerlHandler Apache::lonpublisher
694: ErrorDocument 403 /adm/login
695: ErrorDocument 404 /adm/notfound.html
696: ErrorDocument 406 /adm/unauthorized
697: ErrorDocument 500 /adm/errorhandler
698: </Location>
699:
700: <LocationMatch "^/+\~.*/$">
701: AuthType LONCAPA
702: Require valid-user
703: PerlAuthzHandler Apache::loncacc
704: SetHandler perl-script
705: PerlHandler Apache::lonpubdir
706: ErrorDocument 403 /adm/login
707: ErrorDocument 404 /adm/notfound.html
708: ErrorDocument 406 /adm/unauthorized
709: ErrorDocument 500 /adm/errorhandler
710: </LocationMatch>
711:
712: <Location /adm/pubdir>
713: AuthType LONCAPA
714: Require valid-user
715: PerlAuthzHandler Apache::lonacc
716: SetHandler perl-script
717: PerlHandler Apache::lonpubdir
718: ErrorDocument 403 /adm/login
719: ErrorDocument 404 /adm/notfound.html
720: ErrorDocument 406 /adm/unauthorized
721: ErrorDocument 500 /adm/errorhandler
722: </Location>
723:
724: <Location /adm/unauthorized>
725: AuthType LONCAPA
726: Require valid-user
727: PerlAuthzHandler Apache::lonacc
728: SetHandler perl-script
729: PerlHandler Apache::lonunauthorized
730: ErrorDocument 403 /adm/login
731: ErrorDocument 404 /adm/notfound.html
732: ErrorDocument 500 /adm/errorhandler
733: </Location>
734:
735: <Location /adm/retrieve>
736: AuthType LONCAPA
737: Require valid-user
738: PerlAuthzHandler Apache::lonacc
739: SetHandler perl-script
740: PerlHandler Apache::lonretrieve
741: ErrorDocument 403 /adm/login
742: ErrorDocument 404 /adm/notfound.html
743: ErrorDocument 406 /adm/unauthorized
744: ErrorDocument 500 /adm/errorhandler
745: </Location>
746:
747: <Location /adm/cleanup>
748: AuthType LONCAPA
749: Require valid-user
750: PerlAuthzHandler Apache::lonacc
751: SetHandler perl-script
752: PerlHandler Apache::loncleanup
753: ErrorDocument 403 /adm/login
754: ErrorDocument 404 /adm/notfound.html
755: ErrorDocument 406 /adm/unauthorized
756: ErrorDocument 500 /adm/errorhandler
757: </Location>
758:
759: <Location /adm/cfile>
760: AuthType LONCAPA
761: Require valid-user
762: PerlAuthzHandler Apache::lonacc
763: SetHandler perl-script
764: PerlHandler Apache::loncfile
765: ErrorDocument 403 /adm/login
766: ErrorDocument 404 /adm/notfound.html
767: ErrorDocument 406 /adm/unauthorized
768: ErrorDocument 500 /adm/errorhandler
769: </Location>
770:
771: <Location /adm/diff>
772: AuthType LONCAPA
773: Require valid-user
774: PerlAuthzHandler Apache::lonacc
775: SetHandler perl-script
776: PerlHandler Apache::londiff
777: ErrorDocument 403 /adm/login
778: ErrorDocument 404 /adm/notfound.html
779: ErrorDocument 406 /adm/unauthorized
780: ErrorDocument 500 /adm/errorhandler
781: </Location>
782:
783: <Location /adm/upload>
784: AuthType LONCAPA
785: Require valid-user
786: PerlAuthzHandler Apache::lonacc
787: SetHandler perl-script
788: PerlHandler Apache::lonupload
789: ErrorDocument 403 /adm/login
790: ErrorDocument 404 /adm/notfound.html
791: ErrorDocument 406 /adm/unauthorized
792: ErrorDocument 500 /adm/errorhandler
793: </Location>
794:
795: <Location /adm/imsimport>
796: AuthType LONCAPA
797: Require valid-user
798: PerlAuthzHandler Apache::lonacc
799: SetHandler perl-script
800: PerlHandler Apache::imsimport
801: ErrorDocument 403 /adm/login
802: ErrorDocument 404 /adm/notfound.html
803: ErrorDocument 406 /adm/unauthorized
804: ErrorDocument 500 /adm/errorhandler
805: </Location>
806:
807: <Location /adm/testbank>
808: AuthType LONCAPA
809: Require valid-user
810: PerlAuthzHandler Apache::lonacc
811: SetHandler perl-script
812: PerlHandler Apache::testbankimport
813: ErrorDocument 403 /adm/login
814: ErrorDocument 404 /adm/notfound.html
815: ErrorDocument 406 /adm/unauthorized
816: ErrorDocument 500 /adm/errorhandler
817: </Location>
818:
819: <Location /adm/assesscalc>
820: AuthType LONCAPA
821: Require valid-user
822: PerlAuthzHandler Apache::lonacc
823: SetHandler perl-script
824: PerlHandler Apache::lonspreadsheet
825: ErrorDocument 403 /adm/login
826: ErrorDocument 406 /adm/roles
827: ErrorDocument 413 /adm/overloaded.txt
828: ErrorDocument 500 /adm/errorhandler
829: </Location>
830:
831: <Location /adm/studentcalc>
832: AuthType LONCAPA
833: Require valid-user
834: PerlAuthzHandler Apache::lonacc
835: SetHandler perl-script
836: PerlHandler Apache::lonspreadsheet
837: ErrorDocument 403 /adm/login
838: ErrorDocument 406 /adm/roles
839: ErrorDocument 413 /adm/overloaded.txt
840: ErrorDocument 500 /adm/errorhandler
841: </Location>
842:
843: <Location /adm/classcalc>
844: AuthType LONCAPA
845: Require valid-user
846: PerlAuthzHandler Apache::lonacc
847: SetHandler perl-script
848: PerlHandler Apache::lonspreadsheet
849: ErrorDocument 403 /adm/login
850: ErrorDocument 406 /adm/roles
851: ErrorDocument 413 /adm/overloaded.txt
852: ErrorDocument 500 /adm/errorhandler
853: </Location>
854:
855: <Location /adm/dropadd>
856: AuthType LONCAPA
857: Require valid-user
858: PerlAuthzHandler Apache::lonacc
859: SetHandler perl-script
860: PerlHandler Apache::londropadd
861: ErrorDocument 403 /adm/login
862: ErrorDocument 406 /adm/roles
863: ErrorDocument 500 /adm/errorhandler
864: </Location>
865:
866: <Location /adm/viewclasslist>
867: AuthType LONCAPA
868: Require valid-user
869: PerlAuthzHandler Apache::lonacc
870: SetHandler perl-script
871: PerlHandler Apache::lonviewclasslist
872: ErrorDocument 403 /adm/login
873: ErrorDocument 406 /adm/roles
874: ErrorDocument 500 /adm/errorhandler
875: </Location>
876:
877: <Location /adm/coursegroups>
878: AuthType LONCAPA
879: Require valid-user
880: PerlAuthzHandler Apache::lonacc
881: SetHandler perl-script
882: PerlHandler Apache::loncoursegroups
883: ErrorDocument 403 /adm/login
884: ErrorDocument 406 /adm/roles
885: ErrorDocument 500 /adm/errorhandler
886: </Location>
887:
888: <Location /adm/groupboards>
889: AuthType LONCAPA
890: Require valid-user
891: PerlAuthzHandler Apache::lonacc
892: SetHandler perl-script
893: PerlHandler Apache::groupboards
894: ErrorDocument 403 /adm/login
895: ErrorDocument 406 /adm/roles
896: ErrorDocument 500 /adm/errorhandler
897: </Location>
898:
899: <Location /adm/whatsnew>
900: AuthType LONCAPA
901: Require valid-user
902: PerlAuthzHandler Apache::lonacc
903: SetHandler perl-script
904: PerlHandler Apache::lonwhatsnew
905: ErrorDocument 403 /adm/login
906: ErrorDocument 406 /adm/roles
907: ErrorDocument 500 /adm/errorhandler
908: </Location>
909:
910: <Location /adm/populate>
911: AuthType LONCAPA
912: Require valid-user
913: PerlAuthzHandler Apache::lonacc
914: SetHandler perl-script
915: PerlHandler Apache::lonpopulate
916: ErrorDocument 403 /adm/login
917: ErrorDocument 406 /adm/roles
918: ErrorDocument 500 /adm/errorhandler
919: </Location>
920:
921: <Location /adm/managekeys>
922: AuthType LONCAPA
923: Require valid-user
924: PerlAuthzHandler Apache::lonacc
925: SetHandler perl-script
926: PerlHandler Apache::lonmanagekeys
927: ErrorDocument 403 /adm/login
928: ErrorDocument 406 /adm/roles
929: ErrorDocument 500 /adm/errorhandler
930: </Location>
931:
932: <Location /adm/printout>
933: AuthType LONCAPA
934: Require valid-user
935: PerlAuthzHandler Apache::lonacc
936: SetHandler perl-script
937: PerlHandler Apache::lonprintout
938: ErrorDocument 403 /adm/login
939: ErrorDocument 413 /adm/overloaded.txt
940: ErrorDocument 500 /adm/errorhandler
941: </Location>
942:
943: <Location /adm/feedback>
944: AuthType LONCAPA
945: Require valid-user
946: PerlAuthzHandler Apache::lonacc
947: SetHandler perl-script
948: PerlHandler Apache::lonfeedback
949: ErrorDocument 403 /adm/login
950: ErrorDocument 500 /adm/errorhandler
951: </Location>
952:
953: <Location /adm/coursedocs>
954: AuthType LONCAPA
955: Require valid-user
956: PerlAuthzHandler Apache::lonacc
957: SetHandler perl-script
958: PerlHandler Apache::londocs
959: PerlCleanupHandler Apache::londocs::untiehash
960: PerlCleanupHandler Apache::lonacc::cleanup
961: ErrorDocument 403 /adm/login
962: ErrorDocument 500 /adm/errorhandler
963: </Location>
964:
965: <Location /adm/imsimportdocs>
966: AuthType LONCAPA
967: Require valid-user
968: PerlAuthzHandler Apache::lonacc
969: SetHandler perl-script
970: PerlHandler Apache::imsimportdocs
971: ErrorDocument 403 /adm/login
972: ErrorDocument 500 /adm/errorhandler
973: </Location>
974:
975: <LocationMatch "^/adm/announcements">
976: AuthType LONCAPA
977: Require valid-user
978: PerlAuthzHandler Apache::lonacc
979: SetHandler perl-script
980: PerlHandler Apache::lonannounce
981: ErrorDocument 403 /adm/login
982: ErrorDocument 500 /adm/errorhandler
983: </LocationMatch>
984:
985: <Location /adm/chat>
986: AuthType LONCAPA
987: Require valid-user
988: PerlAuthzHandler Apache::lonacc
989: SetHandler perl-script
990: PerlHandler Apache::lonchat
991: ErrorDocument 500 /adm/errorhandler
992: </Location>
993:
994: <Location /adm/chatfetch>
995: AuthType LONCAPA
996: Require valid-user
997: PerlAuthzHandler Apache::lonacc
998: SetHandler perl-script
999: PerlHandler Apache::lonchatfetch
1000: ErrorDocument 413 /adm/overloaded.txt
1001: ErrorDocument 500 /adm/errorhandler
1002: </Location>
1003:
1004: <Location /adm/groupchat>
1005: AuthType LONCAPA
1006: Require valid-user
1007: PerlAuthzHandler Apache::lonacc
1008: SetHandler perl-script
1009: PerlHandler Apache::longroupchat
1010: ErrorDocument 403 /adm/login
1011: ErrorDocument 500 /adm/errorhandler
1012: </Location>
1013:
1014: <Location /adm/evaluate>
1015: AuthType LONCAPA
1016: Require valid-user
1017: PerlAuthzHandler Apache::lonacc
1018: SetHandler perl-script
1019: PerlHandler Apache::lonevaluate
1020: ErrorDocument 403 /adm/login
1021: ErrorDocument 500 /adm/errorhandler
1022: </Location>
1023:
1024: <Location /adm/preferences>
1025: AuthType LONCAPA
1026: Require valid-user
1027: PerlAuthzHandler Apache::lonacc
1028: SetHandler perl-script
1029: PerlHandler Apache::lonpreferences
1030: ErrorDocument 403 /adm/login
1031: ErrorDocument 500 /adm/errorhandler
1032: </Location>
1033:
1034: <Location /adm/communicate>
1035: AuthType LONCAPA
1036: Require valid-user
1037: PerlAuthzHandler Apache::lonacc
1038: SetHandler perl-script
1039: PerlHandler Apache::loncommunicate
1040: ErrorDocument 403 /adm/login
1041: ErrorDocument 500 /adm/errorhandler
1042: </Location>
1043:
1044: <Location /adm/searchcat>
1045: AuthType LONCAPA
1046: Require valid-user
1047: PerlAuthzHandler Apache::lonacc
1048: SetHandler perl-script
1049: PerlHandler Apache::lonsearchcat
1050: PerlCleanupHandler Apache::lonsearchcat::cleanup
1051: PerlCleanupHandler Apache::lonacc::cleanup
1052: ErrorDocument 403 /adm/login
1053: ErrorDocument 413 /adm/overloaded.txt
1054: ErrorDocument 500 /adm/errorhandler
1055: </Location>
1056:
1057: <Location /adm/navmaps>
1058: AuthType LONCAPA
1059: Require valid-user
1060: PerlAuthzHandler Apache::lonacc
1061: SetHandler perl-script
1062: PerlHandler Apache::lonnavmaps
1063: ErrorDocument 403 /adm/login
1064: ErrorDocument 406 /adm/roles
1065: ErrorDocument 500 /adm/errorhandler
1066: </Location>
1067:
1068: <Location /adm/quickgrades>
1069: AuthType LONCAPA
1070: Require valid-user
1071: PerlAuthzHandler Apache::lonacc
1072: SetHandler perl-script
1073: PerlHandler Apache::lonquickgrades
1074: ErrorDocument 403 /adm/login
1075: ErrorDocument 406 /adm/roles
1076: ErrorDocument 500 /adm/errorhandler
1077: </Location>
1078:
1079: <Location /adm/groupsort>
1080: AuthType LONCAPA
1081: Require valid-user
1082: PerlAuthzHandler Apache::lonacc
1083: SetHandler perl-script
1084: PerlHandler Apache::groupsort
1085: PerlCleanupHandler Apache::groupsort::cleanup
1086: PerlCleanupHandler Apache::lonacc::cleanup
1087: ErrorDocument 403 /adm/login
1088: ErrorDocument 500 /adm/errorhandler
1089: </Location>
1090:
1091: <Location /adm/errorhandler>
1092: SetHandler perl-script
1093: PerlHandler Apache::lonerrorhandler
1094: </Location>
1095:
1096: <LocationMatch "^/adm/help/.*\.hlp$">
1097: AuthType LONCAPA
1098: Require valid-user
1099: PerlAuthzHandler Apache::lonacc
1100: SetHandler perl-script
1101: PerlHandler Apache::lonhelp
1102: </LocationMatch>
1103:
1104: <LocationMatch "^/adm/helpmenu">
1105: AuthType LONCAPA
1106: Require valid-user
1107: PerlAuthzHandler Apache::lonacc
1108: SetHandler perl-script
1109: PerlHandler Apache::lonhelpmenu
1110: </LocationMatch>
1111:
1112: <LocationMatch "^/adm/support">
1113: AuthType LONCAPA
1114: Require valid-user
1115: PerlAuthzHandler Apache::lonacc
1116: SetHandler perl-script
1117: PerlHandler Apache::lonsupportreq
1118: </LocationMatch>
1119:
1120: <LocationMatch "^/adm/helpdesk">
1121: SetHandler perl-script
1122: PerlHandler Apache::lonsupportreq
1123: </LocationMatch>
1124:
1125: <LocationMatch "^/adm/css">
1126: SetHandler perl-script
1127: PerlHandler Apache::loncss
1128: </LocationMatch>
1129:
1130: # ------------------------------------------------- Backdoor Adm Tests/Programs
1131:
1132: <Location /cgi-bin/loncron.pl>
1133: AuthName "LON-CAPA Network Administration"
1134: AuthType Basic
1135: AuthUserFile /home/httpd/lonTabs/htpasswd
1136: require user lonadm
1137: </Location>
1138:
1139: <Location /cgi-bin/userstatus.pl>
1140: AuthName "LON-CAPA Network Administration"
1141: AuthType Basic
1142: AuthUserFile /home/httpd/lonTabs/htpasswd
1143: require user lonadm
1144: </Location>
1145:
1146: <Location /cgi-bin/lonversions.pl>
1147: AuthName "LON-CAPA Network Administration"
1148: AuthType Basic
1149: AuthUserFile /home/httpd/lonTabs/htpasswd
1150: require user lonadm
1151: </Location>
1152:
1153: <Location /cgi-bin/clusterstatus.pl>
1154: AuthName "LON-CAPA Network Administration"
1155: AuthType Basic
1156: AuthUserFile /home/httpd/lonTabs/htpasswd
1157: require user lonadm
1158: </Location>
1159:
1160: <Location /cgi-bin/metadata_keywords.pl>
1161: AuthName "LON-CAPA Network Administration"
1162: AuthType Basic
1163: AuthUserFile /home/httpd/lonTabs/htpasswd
1164: require user lonadm
1165: </Location>
1166:
1167: <Location /cgi-bin/metadata_harvest.pl>
1168: AuthName "harvest"
1169: AuthType Basic
1170: AuthUserFile /home/httpd/lonTabs/htpasswd
1171: require user reaper
1172: </Location>
1173:
1174: <Location /cgi-bin/takeoffline.pl>
1175: AuthName "Offline"
1176: AuthType Basic
1177: AuthUserFile /home/httpd/lonTabs/htpasswd
1178: require user offline
1179: </Location>
1180:
1181: <Location /cgi-bin/takeonline.pl>
1182: AuthName "Offline"
1183: AuthType Basic
1184: AuthUserFile /home/httpd/lonTabs/htpasswd
1185: require user offline
1186: </Location>
1187:
1188: <Location /adm/test>
1189: AuthName "LON-CAPA Network Administration"
1190: AuthType Basic
1191: AuthUserFile /home/httpd/lonTabs/htpasswd
1192: require user lonadm
1193: SetHandler perl-script
1194: PerlAuthzHandler Apache::lonacc
1195: PerlHandler Apache::lontest
1196: </Location>
1197:
1198: # ------------------------------------------------------- Shutting down a child
1199:
1200: PerlChildExitHandler Apache::lonacc::goodbye
1201:
1202: #
1203: # LON-CAPA Section (extensions to access.conf permission configuration)
1204: #
1205: # =========================================================== Directory Options
1206:
1207: # Start out with "no"
1208:
1209: <Directory />
1210: Options None
1211: AllowOverride None
1212: </Directory>
1213:
1214: # Yes to symbolic links and server-side includes
1215:
1216: <Directory /home/httpd/html>
1217: Options Includes FollowSymLinks
1218: AllowOverride None
1219: order allow,deny
1220: allow from all
1221: </Directory>
1222:
1223: # If it is in cgi-bin, then it can be executed as a CGI script.
1224:
1225: <Directory /home/httpd/cgi-bin>
1226: AllowOverride None
1227: Options ExecCGI
1228: </Directory>
1229:
1230: # ============================================================= Access Handlers
1231:
1232: # ------------------------------------------------- Allow server-status reports
1233: <Location /server-status>
1234: SetHandler server-status
1235: AuthName "LON-CAPA Network Administration"
1236: AuthType Basic
1237: AuthUserFile /home/httpd/lonTabs/htpasswd
1238: require user lonadm
1239: </Location>
1240:
1241: # ------------------------ Allow LON-CAPA "low-level" connection status reports
1242: <Location /lon-status>
1243: AuthName "LON-CAPA Network Administration"
1244: AuthType Basic
1245: AuthUserFile /home/httpd/lonTabs/htpasswd
1246: require user lonadm
1247: </Location>
1248:
1249: # ------------------- Allow access to local system documentation from localhost
1250: Alias /doc /usr/doc
1251: <Directory /usr/doc>
1252: order deny,allow
1253: deny from all
1254: allow from localhost
1255: Options Indexes FollowSymLinks
1256: </Directory>
1257:
1258: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
1259: # ====================================== Internal Settings / Perl Configuration
1260:
1261: PerlSetVar lonVersion '<!-- VERSION -->'
1262: PerlSetVar lonIDsDir /home/httpd/lonIDs
1263: PerlSetVar lonTabDir /home/httpd/lonTabs
1264: PerlSetVar lonUsersDir /home/httpd/lonUsers
1265: PerlSetVar lonIconsURL /adm/lonIcons
1266: PerlSetVar londPort 5663
1267: PerlSetVar lonSysEMail korte@lite.msu.edu
1268: PerlSetVar lonDaemons /home/httpd/perl
1269: PerlSetVar lonSockDir /home/httpd/sockets
1270: PerlSetVar lonDocRoot /home/httpd/html
1271: PerlSetVar lonPrtDir /home/httpd/prtspool
1272: PerlSetVar lonIncludes /home/httpd/html/res/adm/includes
1273: # & sepeareted list of : seperated fileds inorder of
1274: # - internal name to call it,
1275: # - regexp that it should match (done case-insensitively)
1276: # - regexp that is should not match (done case-insensitively)
1277: # - regexp that will pull out the version number into $1
1278: # - a number that describes the minimum version that has mathml support
1279: # - a number that describes the minimum number version that has unicode support
1280:
1281: PerlSetVar lonBrowsDet explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999:9999&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
1282:
1283: PerlSetVar lonTextBrowsers windows\s+ce:lynx
1284: PerlSetVar lonScansDir /home/httpd/scantron
1285: PerlSetVar lonScriptTimeout 10
1286: PerlSetVar BugzillaHost http://bugs.lon-capa.org/
1287: PerlSetVar FAQHost http://help.lon-capa.org/
1288: # -----------------------------------------------------------------------------
1289: # NOTE: lonSqlAccess key is the password for the MySQL user
1290: # www@localhost. This value must always be "localhostkey".
1291: # The only security risk occurs when somebody logs in as 'www' on your system
1292: # (in which case you have much bigger problems than whether or not they
1293: # can access the non-authoritative loncapa database on your machine).
1294:
1295: PerlSetVar lonSqlAccess localhostkey
1296:
1297: # -----------------------------------------------------------------------------
1298: # lonttpdPort is the port used by the lightweight graphics httpd server
1299: # not the main Apache server
1300: PerlSetVar lonhttpdPort 8080
1301:
1302:
1303: #----------------------------------------------------------------------------
1304: #
1305: # Parameters used by secure lond/lonc
1306:
1307: #
1308: # Secure lond/lonc require ssl certificate and private
1309: # key files to function correctly. The certificate
1310: # files need not be terribly secure, but the private key files
1311: # should be set up so that only www (the lonc/lond effective user)
1312: # can read them.
1313: #
1314: # The definition below is the full path to the directory that
1315: # contains the certificate and key files:
1316:
1317: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
1318:
1319: #
1320: # Secure lond/lonc require two certificates and a private host key.
1321: # The certificates required are that of the lonCAPA certificate authority
1322: # and the certificate that authority issued to this host.
1323: # lonnetCertificateAuthority is the name of the file that contains the
1324: # lonCAPA certificate authority's certificate.
1325: # lonnetCertificate is the name of the file that contains the certificate
1326: # issued to the host by the certificate authority.
1327: # Both of these variables are names of files assumed to be in
1328: # lonCertificateDirectory:
1329:
1330: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
1331: PerlSetVar lonnetCertificate lonhostcert.pem
1332:
1333: #
1334: # To generate the request for a certificate, and to negotiate the
1335: # initial ssl connection, the host requires a private key. This key
1336: # is created at lonCAPA install time. Did we mention above that it
1337: # should be set so that only www can read it? The variale below
1338: # is the name of the file relative to lonnetCertificateDirectory
1339: # that has the host's private key. Did we remember to tell you to
1340: # keep the permissions on that file set to rw------- (0600)?
1341: #
1342:
1343: PerlSetVar lonnetPrivateKey lonKey.pem
1344:
1345: # Did we mention that the file described above must have
1346: # permissions really locked down so that it can't be stolen?
1347:
1348: #-------------------------------------------------------------------------
1349:
1350: # Parameters that define where all the ssl stuff is that's needed
1351: # to generate certificate requests and, on a system that's a CA
1352: # the certificate authority.
1353: #
1354: # SSLProgram -> Path to the openssl command
1355: # SSLDirectory -> Directory containing ssl configuration files etc.
1356: # SSLCAConfig -> Name of the SSL config file for the certificate
1357: # Authority.
1358: # SSLCAFile -> Full path to the Certificate authority file
1359: # (on the cert manager system).
1360: # SSLEmail -> E-mail address of loncapa certificate manager.
1361: # The following are good for the loncapa redhat installs and
1362: # the loncapa certificate authority system:
1363: #
1364: PerlSetVar SSLProgram /usr/bin/openssl
1365: PerlSetVar SSLDirectory /usr/share/ssl
1366: PerlSetVar SSLCAConfig loncapaca
1367: PerlSetVar SSLCAFile /usr/share/ssl/loncapaca/cacert.pem
1368: PerlSetVar SSLEmail certificate@lon-capa.org
1369:
1370: #-------------------------------------------------------------------------
1371:
1372:
1373:
1374:
1375: # ====================================== Include machine-specific configuration
1376:
1377: Include conf/loncapa.conf
1378:
1379: # ================================================= Include local configuration
1380:
1381: Include conf/loncapa_apache_local*.conf
1382:
1383: # ================================================== Initiate mod_perl starting
1384:
1385: PerlRequire conf/startup.pl
1386: <IfDefine !MODPERL2>
1387: PerlFreshRestart On
1388: </IfDefine>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>