1: ##
2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
3: ##
4: ## $Id: loncapa_apache.conf,v 1.147 2006/07/13 21:30:58 albertel 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/logout>
496: AuthType LONCAPA
497: Require valid-user
498: PerlAuthzHandler Apache::lonacc
499: SetHandler perl-script
500: PerlHandler Apache::lonlogout
501: ErrorDocument 403 /adm/login
502: </Location>
503:
504: <Location /adm/switchserver>
505: AuthType LONCAPA
506: Require valid-user
507: PerlAuthzHandler Apache::lonacc
508: SetHandler perl-script
509: PerlHandler Apache::switchserver
510: ErrorDocument 403 /adm/login
511: </Location>
512:
513: <Location /adm/authenticate>
514: SetHandler perl-script
515: PerlHandler Apache::lonauth
516: </Location>
517:
518: <Location /adm/migrateuser>
519: SetHandler perl-script
520: PerlHandler Apache::migrateuser
521: </Location>
522:
523: <Location /adm/annotations>
524: AuthType LONCAPA
525: Require valid-user
526: PerlAuthzHandler Apache::lonacc
527: SetHandler perl-script
528: PerlHandler Apache::admannotations
529: ErrorDocument 403 /adm/login
530: ErrorDocument 500 /adm/errorhandler
531: </Location>
532:
533: <Location /adm/spellcheck>
534: AuthType LONCAPA
535: Require valid-user
536: PerlAuthzHandler Apache::lonacc
537: SetHandler perl-script
538: PerlHandler Apache::lonspeller
539: ErrorDocument 403 /adm/login
540: ErrorDocument 500 /adm/errorhandler
541: </Location>
542:
543: <Location /adm/bookmarks>
544: AuthType LONCAPA
545: Require valid-user
546: PerlAuthzHandler Apache::lonacc
547: SetHandler perl-script
548: PerlHandler Apache::admbookmarks
549: ErrorDocument 403 /adm/login
550: ErrorDocument 500 /adm/errorhandler
551: </Location>
552:
553: <Location /adm/flip>
554: AuthType LONCAPA
555: Require valid-user
556: PerlAuthzHandler Apache::lonacc
557: SetHandler perl-script
558: PerlHandler Apache::lonpageflip
559: PerlCleanupHandler Apache::lonpageflip::cleanup
560: PerlCleanupHandler Apache::lonacc::cleanup
561: ErrorDocument 406 /adm/roles
562: ErrorDocument 403 /adm/login
563: ErrorDocument 500 /adm/errorhandler
564: </Location>
565:
566: <Location /adm/ambiguous>
567: AuthType LONCAPA
568: Require valid-user
569: PerlAuthzHandler Apache::lonacc
570: SetHandler perl-script
571: PerlHandler Apache::lonambiguous
572: PerlCleanupHandler Apache::lonambiguous::cleanup
573: PerlCleanupHandler Apache::lonacc::cleanup
574: ErrorDocument 403 /adm/login
575: ErrorDocument 500 /adm/errorhandler
576: </Location>
577:
578: <Location /adm/email>
579: AuthType LONCAPA
580: Require valid-user
581: PerlAuthzHandler Apache::lonacc
582: SetHandler perl-script
583: PerlHandler Apache::lonmsgdisplay
584: ErrorDocument 403 /adm/login
585: ErrorDocument 500 /adm/errorhandler
586: </Location>
587:
588: <Location /adm/notify>
589: AuthType LONCAPA
590: Require valid-user
591: PerlAuthzHandler Apache::lonacc
592: SetHandler perl-script
593: PerlHandler Apache::lonnotify
594: ErrorDocument 403 /adm/login
595: ErrorDocument 500 /adm/errorhandler
596: </Location>
597:
598: <Location /adm/parmset>
599: AuthType LONCAPA
600: Require valid-user
601: PerlAuthzHandler Apache::lonacc
602: SetHandler perl-script
603: PerlHandler Apache::lonparmset
604: ErrorDocument 403 /adm/login
605: ErrorDocument 406 /adm/roles
606: ErrorDocument 500 /adm/errorhandler
607: </Location>
608:
609: <Location /adm/slotrequest>
610: AuthType LONCAPA
611: Require valid-user
612: PerlAuthzHandler Apache::lonacc
613: SetHandler perl-script
614: PerlHandler Apache::slotrequest
615: ErrorDocument 403 /adm/login
616: ErrorDocument 406 /adm/roles
617: ErrorDocument 500 /adm/errorhandler
618: </Location>
619:
620: <Location /adm/wizard>
621: AuthType LONCAPA
622: Require valid-user
623: PerlAuthzHandler Apache::lonacc
624: SetHandler perl-script
625: PerlHandler Apache::lonwizard
626: ErrorDocument 403 /adm/login
627: ErrorDocument 406 /adm/roles
628: ErrorDocument 500 /adm/errorhandler
629: </Location>
630:
631: <Location /adm/grades>
632: AuthType LONCAPA
633: Require valid-user
634: PerlAuthzHandler Apache::lonacc
635: SetHandler perl-script
636: PerlHandler Apache::grades
637: ErrorDocument 403 /adm/login
638: ErrorDocument 406 /adm/roles
639: ErrorDocument 500 /adm/errorhandler
640: </Location>
641:
642: <Location /adm/createcourse>
643: AuthType LONCAPA
644: Require valid-user
645: PerlAuthzHandler Apache::lonacc
646: SetHandler perl-script
647: PerlHandler Apache::loncreatecourse
648: ErrorDocument 403 /adm/login
649: ErrorDocument 406 /adm/roles
650: ErrorDocument 500 /adm/errorhandler
651: </Location>
652:
653: <Location /adm/modifycourse>
654: AuthType LONCAPA
655: Require valid-user
656: PerlAuthzHandler Apache::lonacc
657: SetHandler perl-script
658: PerlHandler Apache::lonmodifycourse
659: ErrorDocument 403 /adm/login
660: ErrorDocument 406 /adm/roles
661: ErrorDocument 500 /adm/errorhandler
662: </Location>
663:
664: <Location /adm/createuser>
665: AuthType LONCAPA
666: Require valid-user
667: PerlAuthzHandler Apache::lonacc
668: SetHandler perl-script
669: PerlHandler Apache::loncreateuser
670: ErrorDocument 403 /adm/login
671: ErrorDocument 406 /adm/roles
672: ErrorDocument 500 /adm/errorhandler
673: </Location>
674:
675: <Location /adm/publish>
676: AuthType LONCAPA
677: Require valid-user
678: PerlAuthzHandler Apache::lonacc
679: SetHandler perl-script
680: PerlHandler Apache::lonpublisher
681: ErrorDocument 403 /adm/login
682: ErrorDocument 404 /adm/notfound.html
683: ErrorDocument 406 /adm/unauthorized
684: ErrorDocument 500 /adm/errorhandler
685: </Location>
686:
687: <LocationMatch "^/+\~.*/$">
688: AuthType LONCAPA
689: Require valid-user
690: PerlAuthzHandler Apache::loncacc
691: SetHandler perl-script
692: PerlHandler Apache::lonpubdir
693: ErrorDocument 403 /adm/login
694: ErrorDocument 404 /adm/notfound.html
695: ErrorDocument 406 /adm/unauthorized
696: ErrorDocument 500 /adm/errorhandler
697: </LocationMatch>
698:
699: <Location /adm/pubdir>
700: AuthType LONCAPA
701: Require valid-user
702: PerlAuthzHandler Apache::lonacc
703: SetHandler perl-script
704: PerlHandler Apache::lonpubdir
705: ErrorDocument 403 /adm/login
706: ErrorDocument 404 /adm/notfound.html
707: ErrorDocument 406 /adm/unauthorized
708: ErrorDocument 500 /adm/errorhandler
709: </Location>
710:
711: <Location /adm/unauthorized>
712: AuthType LONCAPA
713: Require valid-user
714: PerlAuthzHandler Apache::lonacc
715: SetHandler perl-script
716: PerlHandler Apache::lonunauthorized
717: ErrorDocument 403 /adm/login
718: ErrorDocument 404 /adm/notfound.html
719: ErrorDocument 500 /adm/errorhandler
720: </Location>
721:
722: <Location /adm/retrieve>
723: AuthType LONCAPA
724: Require valid-user
725: PerlAuthzHandler Apache::lonacc
726: SetHandler perl-script
727: PerlHandler Apache::lonretrieve
728: ErrorDocument 403 /adm/login
729: ErrorDocument 404 /adm/notfound.html
730: ErrorDocument 406 /adm/unauthorized
731: ErrorDocument 500 /adm/errorhandler
732: </Location>
733:
734: <Location /adm/cleanup>
735: AuthType LONCAPA
736: Require valid-user
737: PerlAuthzHandler Apache::lonacc
738: SetHandler perl-script
739: PerlHandler Apache::loncleanup
740: ErrorDocument 403 /adm/login
741: ErrorDocument 404 /adm/notfound.html
742: ErrorDocument 406 /adm/unauthorized
743: ErrorDocument 500 /adm/errorhandler
744: </Location>
745:
746: <Location /adm/cfile>
747: AuthType LONCAPA
748: Require valid-user
749: PerlAuthzHandler Apache::lonacc
750: SetHandler perl-script
751: PerlHandler Apache::loncfile
752: ErrorDocument 403 /adm/login
753: ErrorDocument 404 /adm/notfound.html
754: ErrorDocument 406 /adm/unauthorized
755: ErrorDocument 500 /adm/errorhandler
756: </Location>
757:
758: <Location /adm/diff>
759: AuthType LONCAPA
760: Require valid-user
761: PerlAuthzHandler Apache::lonacc
762: SetHandler perl-script
763: PerlHandler Apache::londiff
764: ErrorDocument 403 /adm/login
765: ErrorDocument 404 /adm/notfound.html
766: ErrorDocument 406 /adm/unauthorized
767: ErrorDocument 500 /adm/errorhandler
768: </Location>
769:
770: <Location /adm/upload>
771: AuthType LONCAPA
772: Require valid-user
773: PerlAuthzHandler Apache::lonacc
774: SetHandler perl-script
775: PerlHandler Apache::lonupload
776: ErrorDocument 403 /adm/login
777: ErrorDocument 404 /adm/notfound.html
778: ErrorDocument 406 /adm/unauthorized
779: ErrorDocument 500 /adm/errorhandler
780: </Location>
781:
782: <Location /adm/imsimport>
783: AuthType LONCAPA
784: Require valid-user
785: PerlAuthzHandler Apache::lonacc
786: SetHandler perl-script
787: PerlHandler Apache::imsimport
788: ErrorDocument 403 /adm/login
789: ErrorDocument 404 /adm/notfound.html
790: ErrorDocument 406 /adm/unauthorized
791: ErrorDocument 500 /adm/errorhandler
792: </Location>
793:
794: <Location /adm/testbank>
795: AuthType LONCAPA
796: Require valid-user
797: PerlAuthzHandler Apache::lonacc
798: SetHandler perl-script
799: PerlHandler Apache::testbankimport
800: ErrorDocument 403 /adm/login
801: ErrorDocument 404 /adm/notfound.html
802: ErrorDocument 406 /adm/unauthorized
803: ErrorDocument 500 /adm/errorhandler
804: </Location>
805:
806: <Location /adm/assesscalc>
807: AuthType LONCAPA
808: Require valid-user
809: PerlAuthzHandler Apache::lonacc
810: SetHandler perl-script
811: PerlHandler Apache::lonspreadsheet
812: ErrorDocument 403 /adm/login
813: ErrorDocument 406 /adm/roles
814: ErrorDocument 413 /adm/overloaded.txt
815: ErrorDocument 500 /adm/errorhandler
816: </Location>
817:
818: <Location /adm/studentcalc>
819: AuthType LONCAPA
820: Require valid-user
821: PerlAuthzHandler Apache::lonacc
822: SetHandler perl-script
823: PerlHandler Apache::lonspreadsheet
824: ErrorDocument 403 /adm/login
825: ErrorDocument 406 /adm/roles
826: ErrorDocument 413 /adm/overloaded.txt
827: ErrorDocument 500 /adm/errorhandler
828: </Location>
829:
830: <Location /adm/classcalc>
831: AuthType LONCAPA
832: Require valid-user
833: PerlAuthzHandler Apache::lonacc
834: SetHandler perl-script
835: PerlHandler Apache::lonspreadsheet
836: ErrorDocument 403 /adm/login
837: ErrorDocument 406 /adm/roles
838: ErrorDocument 413 /adm/overloaded.txt
839: ErrorDocument 500 /adm/errorhandler
840: </Location>
841:
842: <Location /adm/dropadd>
843: AuthType LONCAPA
844: Require valid-user
845: PerlAuthzHandler Apache::lonacc
846: SetHandler perl-script
847: PerlHandler Apache::londropadd
848: ErrorDocument 403 /adm/login
849: ErrorDocument 406 /adm/roles
850: ErrorDocument 500 /adm/errorhandler
851: </Location>
852:
853: <Location /adm/viewclasslist>
854: AuthType LONCAPA
855: Require valid-user
856: PerlAuthzHandler Apache::lonacc
857: SetHandler perl-script
858: PerlHandler Apache::lonviewclasslist
859: ErrorDocument 403 /adm/login
860: ErrorDocument 406 /adm/roles
861: ErrorDocument 500 /adm/errorhandler
862: </Location>
863:
864: <Location /adm/coursegroups>
865: AuthType LONCAPA
866: Require valid-user
867: PerlAuthzHandler Apache::lonacc
868: SetHandler perl-script
869: PerlHandler Apache::loncoursegroups
870: ErrorDocument 403 /adm/login
871: ErrorDocument 406 /adm/roles
872: ErrorDocument 500 /adm/errorhandler
873: </Location>
874:
875: <Location /adm/groupboards>
876: AuthType LONCAPA
877: Require valid-user
878: PerlAuthzHandler Apache::lonacc
879: SetHandler perl-script
880: PerlHandler Apache::groupboards
881: ErrorDocument 403 /adm/login
882: ErrorDocument 406 /adm/roles
883: ErrorDocument 500 /adm/errorhandler
884: </Location>
885:
886: <Location /adm/grouproster>
887: AuthType LONCAPA
888: Require valid-user
889: PerlAuthzHandler Apache::lonacc
890: SetHandler perl-script
891: PerlHandler Apache::grouproster
892: ErrorDocument 403 /adm/login
893: ErrorDocument 406 /adm/roles
894: ErrorDocument 500 /adm/errorhandler
895: </Location>
896:
897: <Location /adm/whatsnew>
898: AuthType LONCAPA
899: Require valid-user
900: PerlAuthzHandler Apache::lonacc
901: SetHandler perl-script
902: PerlHandler Apache::lonwhatsnew
903: ErrorDocument 403 /adm/login
904: ErrorDocument 406 /adm/roles
905: ErrorDocument 500 /adm/errorhandler
906: </Location>
907:
908: <Location /adm/populate>
909: AuthType LONCAPA
910: Require valid-user
911: PerlAuthzHandler Apache::lonacc
912: SetHandler perl-script
913: PerlHandler Apache::lonpopulate
914: ErrorDocument 403 /adm/login
915: ErrorDocument 406 /adm/roles
916: ErrorDocument 500 /adm/errorhandler
917: </Location>
918:
919: <Location /adm/managekeys>
920: AuthType LONCAPA
921: Require valid-user
922: PerlAuthzHandler Apache::lonacc
923: SetHandler perl-script
924: PerlHandler Apache::lonmanagekeys
925: ErrorDocument 403 /adm/login
926: ErrorDocument 406 /adm/roles
927: ErrorDocument 500 /adm/errorhandler
928: </Location>
929:
930: <Location /adm/printout>
931: AuthType LONCAPA
932: Require valid-user
933: PerlAuthzHandler Apache::lonacc
934: SetHandler perl-script
935: PerlHandler Apache::lonprintout
936: ErrorDocument 403 /adm/login
937: ErrorDocument 413 /adm/overloaded.txt
938: ErrorDocument 500 /adm/errorhandler
939: </Location>
940:
941: <Location /adm/feedback>
942: AuthType LONCAPA
943: Require valid-user
944: PerlAuthzHandler Apache::lonacc
945: SetHandler perl-script
946: PerlHandler Apache::lonfeedback
947: ErrorDocument 403 /adm/login
948: ErrorDocument 500 /adm/errorhandler
949: </Location>
950:
951: <Location /adm/coursedocs>
952: AuthType LONCAPA
953: Require valid-user
954: PerlAuthzHandler Apache::lonacc
955: SetHandler perl-script
956: PerlHandler Apache::londocs
957: PerlCleanupHandler Apache::londocs::untiehash
958: PerlCleanupHandler Apache::lonacc::cleanup
959: ErrorDocument 403 /adm/login
960: ErrorDocument 500 /adm/errorhandler
961: </Location>
962:
963: <Location /adm/imsimportdocs>
964: AuthType LONCAPA
965: Require valid-user
966: PerlAuthzHandler Apache::lonacc
967: SetHandler perl-script
968: PerlHandler Apache::imsimportdocs
969: ErrorDocument 403 /adm/login
970: ErrorDocument 500 /adm/errorhandler
971: </Location>
972:
973: <LocationMatch "^/adm/announcements">
974: AuthType LONCAPA
975: Require valid-user
976: PerlAuthzHandler Apache::lonacc
977: SetHandler perl-script
978: PerlHandler Apache::lonannounce
979: ErrorDocument 403 /adm/login
980: ErrorDocument 500 /adm/errorhandler
981: </LocationMatch>
982:
983: <Location /adm/chat>
984: AuthType LONCAPA
985: Require valid-user
986: PerlAuthzHandler Apache::lonacc
987: SetHandler perl-script
988: PerlHandler Apache::lonchat
989: ErrorDocument 500 /adm/errorhandler
990: </Location>
991:
992: <Location /adm/chatfetch>
993: AuthType LONCAPA
994: Require valid-user
995: PerlAuthzHandler Apache::lonacc
996: SetHandler perl-script
997: PerlHandler Apache::lonchatfetch
998: ErrorDocument 413 /adm/overloaded.txt
999: ErrorDocument 500 /adm/errorhandler
1000: </Location>
1001:
1002: <Location /adm/groupchat>
1003: AuthType LONCAPA
1004: Require valid-user
1005: PerlAuthzHandler Apache::lonacc
1006: SetHandler perl-script
1007: PerlHandler Apache::longroupchat
1008: ErrorDocument 403 /adm/login
1009: ErrorDocument 500 /adm/errorhandler
1010: </Location>
1011:
1012: <Location /adm/evaluate>
1013: AuthType LONCAPA
1014: Require valid-user
1015: PerlAuthzHandler Apache::lonacc
1016: SetHandler perl-script
1017: PerlHandler Apache::lonevaluate
1018: ErrorDocument 403 /adm/login
1019: ErrorDocument 500 /adm/errorhandler
1020: </Location>
1021:
1022: <Location /adm/preferences>
1023: AuthType LONCAPA
1024: Require valid-user
1025: PerlAuthzHandler Apache::lonacc
1026: SetHandler perl-script
1027: PerlHandler Apache::lonpreferences
1028: ErrorDocument 403 /adm/login
1029: ErrorDocument 500 /adm/errorhandler
1030: </Location>
1031:
1032: <Location /adm/communicate>
1033: AuthType LONCAPA
1034: Require valid-user
1035: PerlAuthzHandler Apache::lonacc
1036: SetHandler perl-script
1037: PerlHandler Apache::loncommunicate
1038: ErrorDocument 403 /adm/login
1039: ErrorDocument 500 /adm/errorhandler
1040: </Location>
1041:
1042: <Location /adm/searchcat>
1043: AuthType LONCAPA
1044: Require valid-user
1045: PerlAuthzHandler Apache::lonacc
1046: SetHandler perl-script
1047: PerlHandler Apache::lonsearchcat
1048: PerlCleanupHandler Apache::lonsearchcat::cleanup
1049: PerlCleanupHandler Apache::lonacc::cleanup
1050: ErrorDocument 403 /adm/login
1051: ErrorDocument 413 /adm/overloaded.txt
1052: ErrorDocument 500 /adm/errorhandler
1053: </Location>
1054:
1055: <Location /adm/navmaps>
1056: AuthType LONCAPA
1057: Require valid-user
1058: PerlAuthzHandler Apache::lonacc
1059: SetHandler perl-script
1060: PerlHandler Apache::lonnavmaps
1061: ErrorDocument 403 /adm/login
1062: ErrorDocument 406 /adm/roles
1063: ErrorDocument 500 /adm/errorhandler
1064: </Location>
1065:
1066: <Location /adm/quickgrades>
1067: AuthType LONCAPA
1068: Require valid-user
1069: PerlAuthzHandler Apache::lonacc
1070: SetHandler perl-script
1071: PerlHandler Apache::lonquickgrades
1072: ErrorDocument 403 /adm/login
1073: ErrorDocument 406 /adm/roles
1074: ErrorDocument 500 /adm/errorhandler
1075: </Location>
1076:
1077: <Location /adm/groupsort>
1078: AuthType LONCAPA
1079: Require valid-user
1080: PerlAuthzHandler Apache::lonacc
1081: SetHandler perl-script
1082: PerlHandler Apache::groupsort
1083: PerlCleanupHandler Apache::groupsort::cleanup
1084: PerlCleanupHandler Apache::lonacc::cleanup
1085: ErrorDocument 403 /adm/login
1086: ErrorDocument 500 /adm/errorhandler
1087: </Location>
1088:
1089: <Location /adm/errorhandler>
1090: SetHandler perl-script
1091: PerlHandler Apache::lonerrorhandler
1092: </Location>
1093:
1094: <LocationMatch "^/adm/help/.*\.hlp$">
1095: AuthType LONCAPA
1096: Require valid-user
1097: PerlAccessHandler Apache::publiccheck
1098: PerlAuthzHandler Apache::lonacc
1099: SetHandler perl-script
1100: PerlHandler Apache::lonhelp
1101: </LocationMatch>
1102:
1103: <LocationMatch "^/adm/helpmenu">
1104: AuthType LONCAPA
1105: Require valid-user
1106: PerlAuthzHandler Apache::lonacc
1107: SetHandler perl-script
1108: PerlHandler Apache::lonhelpmenu
1109: </LocationMatch>
1110:
1111: <LocationMatch "^/adm/support">
1112: AuthType LONCAPA
1113: Require valid-user
1114: PerlAuthzHandler Apache::lonacc
1115: SetHandler perl-script
1116: PerlHandler Apache::lonsupportreq
1117: </LocationMatch>
1118:
1119: <LocationMatch "^/adm/helpdesk">
1120: SetHandler perl-script
1121: PerlHandler Apache::lonsupportreq
1122: </LocationMatch>
1123:
1124: <LocationMatch "^/adm/css">
1125: SetHandler perl-script
1126: PerlHandler Apache::loncss
1127: </LocationMatch>
1128:
1129: # ------------------------------------------------- Backdoor Adm Tests/Programs
1130:
1131: <Location /cgi-bin/loncron.pl>
1132: AuthName "LON-CAPA Network Administration"
1133: AuthType Basic
1134: AuthUserFile /home/httpd/lonTabs/htpasswd
1135: require user lonadm
1136: </Location>
1137:
1138: <Location /cgi-bin/userstatus.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/lonversions.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/clusterstatus.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/metadata_keywords.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_harvest.pl>
1167: AuthName "harvest"
1168: AuthType Basic
1169: AuthUserFile /home/httpd/lonTabs/htpasswd
1170: require user reaper
1171: </Location>
1172:
1173: <Location /cgi-bin/takeoffline.pl>
1174: AuthName "Offline"
1175: AuthType Basic
1176: AuthUserFile /home/httpd/lonTabs/htpasswd
1177: require user offline
1178: </Location>
1179:
1180: <Location /cgi-bin/takeonline.pl>
1181: AuthName "Offline"
1182: AuthType Basic
1183: AuthUserFile /home/httpd/lonTabs/htpasswd
1184: require user offline
1185: </Location>
1186:
1187: <Location /adm/test>
1188: AuthName "LON-CAPA Network Administration"
1189: AuthType Basic
1190: AuthUserFile /home/httpd/lonTabs/htpasswd
1191: require user lonadm
1192: SetHandler perl-script
1193: PerlAuthzHandler Apache::lonacc
1194: PerlHandler Apache::lontest
1195: </Location>
1196:
1197: # ------------------------------------------------------- Shutting down a child
1198:
1199: PerlChildExitHandler Apache::lonacc::goodbye
1200:
1201: #
1202: # LON-CAPA Section (extensions to access.conf permission configuration)
1203: #
1204: # =========================================================== Directory Options
1205:
1206: # Start out with "no"
1207:
1208: <Directory />
1209: Options None
1210: AllowOverride None
1211: </Directory>
1212:
1213: # Yes to symbolic links and server-side includes
1214:
1215: <Directory /home/httpd/html>
1216: Options Includes FollowSymLinks
1217: AllowOverride None
1218: order allow,deny
1219: allow from all
1220: </Directory>
1221:
1222: # If it is in cgi-bin, then it can be executed as a CGI script.
1223:
1224: <Directory /home/httpd/cgi-bin>
1225: AllowOverride None
1226: Options ExecCGI
1227: </Directory>
1228:
1229: # ============================================================= Access Handlers
1230:
1231: # ------------------------------------------------- Allow server-status reports
1232: <Location /server-status>
1233: SetHandler server-status
1234: AuthName "LON-CAPA Network Administration"
1235: AuthType Basic
1236: AuthUserFile /home/httpd/lonTabs/htpasswd
1237: require user lonadm
1238: </Location>
1239:
1240: # ------------------------ Allow LON-CAPA "low-level" connection status reports
1241: <Location /lon-status>
1242: AuthName "LON-CAPA Network Administration"
1243: AuthType Basic
1244: AuthUserFile /home/httpd/lonTabs/htpasswd
1245: require user lonadm
1246: </Location>
1247:
1248: # ------------------- Allow access to local system documentation from localhost
1249: Alias /doc /usr/doc
1250: <Directory /usr/doc>
1251: order deny,allow
1252: deny from all
1253: allow from localhost
1254: Options Indexes FollowSymLinks
1255: </Directory>
1256:
1257: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
1258: # ====================================== Internal Settings / Perl Configuration
1259:
1260: PerlSetVar lonVersion '<!-- VERSION -->'
1261: PerlSetVar lonIDsDir /home/httpd/lonIDs
1262: PerlSetVar lonTabDir /home/httpd/lonTabs
1263: PerlSetVar lonUsersDir /home/httpd/lonUsers
1264: PerlSetVar lonIconsURL /adm/lonIcons
1265: PerlSetVar londPort 5663
1266: PerlSetVar lonSysEMail korte@lite.msu.edu
1267: PerlSetVar lonDaemons /home/httpd/perl
1268: PerlSetVar lonSockDir /home/httpd/sockets
1269: PerlSetVar lonDocRoot /home/httpd/html
1270: PerlSetVar lonPrtDir /home/httpd/prtspool
1271: PerlSetVar lonIncludes /home/httpd/html/res/adm/includes
1272: # & sepeareted list of : seperated fileds inorder of
1273: # - internal name to call it,
1274: # - regexp that it should match (done case-insensitively)
1275: # - regexp that is should not match (done case-insensitively)
1276: # - regexp that will pull out the version number into $1
1277: # - a number that describes the minimum version that has mathml support
1278: # - a number that describes the minimum number version that has unicode support
1279:
1280: 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
1281:
1282: PerlSetVar lonTextBrowsers windows\s+ce:lynx
1283: PerlSetVar lonScansDir /home/httpd/scantron
1284: PerlSetVar lonScriptTimeout 10
1285: PerlSetVar BugzillaHost http://bugs.lon-capa.org/
1286: PerlSetVar FAQHost http://help.lon-capa.org/
1287: # -----------------------------------------------------------------------------
1288: # NOTE: lonSqlAccess key is the password for the MySQL user
1289: # www@localhost. This value must always be "localhostkey".
1290: # The only security risk occurs when somebody logs in as 'www' on your system
1291: # (in which case you have much bigger problems than whether or not they
1292: # can access the non-authoritative loncapa database on your machine).
1293:
1294: PerlSetVar lonSqlAccess localhostkey
1295:
1296: # -----------------------------------------------------------------------------
1297: # lonttpdPort is the port used by the lightweight graphics httpd server
1298: # not the main Apache server
1299: PerlSetVar lonhttpdPort 8080
1300:
1301:
1302: #----------------------------------------------------------------------------
1303: #
1304: # Parameters used by secure lond/lonc
1305:
1306: #
1307: # Secure lond/lonc require ssl certificate and private
1308: # key files to function correctly. The certificate
1309: # files need not be terribly secure, but the private key files
1310: # should be set up so that only www (the lonc/lond effective user)
1311: # can read them.
1312: #
1313: # The definition below is the full path to the directory that
1314: # contains the certificate and key files:
1315:
1316: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
1317:
1318: #
1319: # Secure lond/lonc require two certificates and a private host key.
1320: # The certificates required are that of the lonCAPA certificate authority
1321: # and the certificate that authority issued to this host.
1322: # lonnetCertificateAuthority is the name of the file that contains the
1323: # lonCAPA certificate authority's certificate.
1324: # lonnetCertificate is the name of the file that contains the certificate
1325: # issued to the host by the certificate authority.
1326: # Both of these variables are names of files assumed to be in
1327: # lonCertificateDirectory:
1328:
1329: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
1330: PerlSetVar lonnetCertificate lonhostcert.pem
1331:
1332: #
1333: # To generate the request for a certificate, and to negotiate the
1334: # initial ssl connection, the host requires a private key. This key
1335: # is created at lonCAPA install time. Did we mention above that it
1336: # should be set so that only www can read it? The variale below
1337: # is the name of the file relative to lonnetCertificateDirectory
1338: # that has the host's private key. Did we remember to tell you to
1339: # keep the permissions on that file set to rw------- (0600)?
1340: #
1341:
1342: PerlSetVar lonnetPrivateKey lonKey.pem
1343:
1344: # Did we mention that the file described above must have
1345: # permissions really locked down so that it can't be stolen?
1346:
1347: #-------------------------------------------------------------------------
1348:
1349: # Parameters that define where all the ssl stuff is that's needed
1350: # to generate certificate requests and, on a system that's a CA
1351: # the certificate authority.
1352: #
1353: # SSLProgram -> Path to the openssl command
1354: # SSLDirectory -> Directory containing ssl configuration files etc.
1355: # SSLCAConfig -> Name of the SSL config file for the certificate
1356: # Authority.
1357: # SSLCAFile -> Full path to the Certificate authority file
1358: # (on the cert manager system).
1359: # SSLEmail -> E-mail address of loncapa certificate manager.
1360: # The following are good for the loncapa redhat installs and
1361: # the loncapa certificate authority system:
1362: #
1363: PerlSetVar SSLProgram /usr/bin/openssl
1364: PerlSetVar SSLDirectory /usr/share/ssl
1365: PerlSetVar SSLCAConfig loncapaca
1366: PerlSetVar SSLCAFile /usr/share/ssl/loncapaca/cacert.pem
1367: PerlSetVar SSLEmail certificate@lon-capa.org
1368:
1369: #-------------------------------------------------------------------------
1370:
1371:
1372:
1373:
1374: # ====================================== Include machine-specific configuration
1375:
1376: Include conf/loncapa.conf
1377:
1378: # ================================================= Include local configuration
1379:
1380: Include conf/loncapa_apache_local*.conf
1381:
1382: # ================================================== Initiate mod_perl starting
1383:
1384: PerlRequire conf/startup.pl
1385: <IfDefine !MODPERL2>
1386: PerlFreshRestart On
1387: </IfDefine>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>