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