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