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