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