File:
[LON-CAPA] /
loncom /
loncapa_apache.conf
Revision
1.283:
download - view:
text,
annotated -
select for diffs
Mon Aug 28 20:40:00 2023 UTC (11 months, 2 weeks ago) by
raeburn
Branches:
MAIN
CVS tags:
HEAD
- Use standard LON-CAPA error documents for 406, 403 and 500 errors for
/daxeopen/.
- Use loncacc.pm as authz handler for /daxeopen/priv/domain/username/
- Use lonacc.pm as authz handler for /daxeopen/, /daxeopen/priv/, and
/daxeopen/priv/domain/
1: ##
2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
3: ##
4:
5: # $Id: loncapa_apache.conf,v 1.283 2023/08/28 20:40:00 raeburn Exp $
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: <IfModule !perl_module>
22: LoadModule perl_module modules/libperl.so
23: </IfModule>
24: <IfDefine !MODPERL2>
25: AddModule mod_perl.c
26: </IfDefine>
27:
28: <IfDefine MODPERL2>
29: PerlSetVar MODPERL2 1
30: </IfDefine>
31: # =============================================================== Miscellaneous
32:
33: ServerAdmin consortium@loncapa.org
34: ExtendedStatus On
35: #
36: # LON-CAPA Section (extensions to srm.conf name space servicing)
37: #
38: # ===================================================================== Aliases
39:
40: Alias /zipspool/ /home/httpd/zipspool/
41: Alias /prtspool/ /home/httpd/prtspool/
42: Alias /captchaspool/ /home/httpd/captchaspool/
43: Alias /webdav/ /home/httpd/html/priv/
44: ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
45: <IfModule mod_dav_fs.c>
46: DAVLockDB /home/httpd/webdav/DAVLock
47: </IfModule>
48:
49: # ================================================================= Directories
50:
51: # ------------------------------------------------------------- Access Handlers
52:
53: PerlTransHandler Apache::lontrans
54: PerlCleanupHandler Apache::lonacc::cleanup
55:
56: PerlAuthenHandler Apache::checkauthen
57: PerlSetVar lonOtherAuthen no
58:
59: <IfModule mod_shib>
60: PerlAuthenHandler Apache::lonshibauth
61: PerlSetVar lonOtherAuthen yes
62: PerlSetVar lonOtherAuthenType Shibboleth
63: </IfModule>
64:
65: #PerlWarn On
66: <LocationMatch "^/+res/adm/pages/[^/]+\.(gif|png)$">
67: PerlAuthzHandler 'sub { return OK }'
68: </LocationMatch>
69:
70: # Send proper expires header to avoid unnecessary HTTP request for static content
71: <LocationMatch "^(/adm/lonIcons|/adm/jQuery|/res/adm/pages|/ckeditor|/adm/jpicker|/adm/countdown|/adm/spellchecker|/adm/nicescroll|/adm/MathJax|/adm/daxe)">
72: ExpiresActive On
73: ExpiresDefault "access plus 12 hours"
74: Header set Cache-Control "public, no-transform"
75: </LocationMatch>
76:
77: <LocationMatch "^/+res.*">
78:
79: AuthType LONCAPA
80: Require valid-user
81:
82: PerlAccessHandler Apache::publiccheck
83: PerlAuthzHandler Apache::lonacc
84: PerlHeaderParserHandler Apache::lonrep
85: ErrorDocument 403 /adm/login
86: ErrorDocument 404 /adm/notfound.html
87: ErrorDocument 406 /adm/roles
88: ErrorDocument 500 /adm/errorhandler
89: </LocationMatch>
90:
91:
92: <LocationMatch "/.*">
93: </LocationMatch>
94:
95:
96: <LocationMatch "^/+enc.*">
97: SetHandler perl-script
98: PerlHandler Apache::lonencurl
99: ErrorDocument 403 /adm/login
100: ErrorDocument 404 /adm/notfound.html
101: ErrorDocument 406 /adm/roles
102: ErrorDocument 500 /adm/errorhandler
103: </LocationMatch>
104:
105: <Location /adm/portfolio>
106: AuthType LONCAPA
107: Require valid-user
108: PerlAuthzHandler Apache::lonacc
109: SetHandler perl-script
110: PerlHandler Apache::portfolio
111: </Location>
112:
113: <Location /adm/coursegrp_portfolio>
114: AuthType LONCAPA
115: Require valid-user
116: PerlAuthzHandler Apache::lonacc
117: SetHandler perl-script
118: PerlHandler Apache::portfolio
119: </Location>
120:
121: <Location /adm/pdfupload>
122: AuthType LONCAPA
123: Require valid-user
124: PerlAuthzHandler Apache::lonacc
125: SetHandler perl-script
126: PerlHandler Apache::lonpdfupload
127: ErrorDocument 403 /adm/login
128: ErrorDocument 404 /adm/notfound.html
129: ErrorDocument 406 /adm/roles
130: ErrorDocument 500 /adm/errorhandler
131: </Location>
132:
133: <LocationMatch "^/+userfiles.*">
134: Options +FollowSymLinks -Includes
135: PerlAccessHandler Apache::lontokacc
136: PerlCleanupHandler Apache::lontokacc::removefile
137: PerlCleanupHandler Apache::lonacc::cleanup
138: </LocationMatch>
139:
140: <LocationMatch "^/+uploaded.*">
141: AuthType LONCAPA
142: Require valid-user
143: PerlAuthzHandler Apache::lonacc
144: PerlHandler Apache::londatecheck
145: PerlHandler Apache::lonipcheck
146: PerlHeaderParserHandler Apache::lonuploadrep
147: ErrorDocument 403 /adm/login
148: ErrorDocument 404 /adm/notfound.html
149: ErrorDocument 406 /adm/roles
150: ErrorDocument 500 /adm/errorhandler
151: </LocationMatch>
152:
153: <LocationMatch "^/+uploaded/.+/.+/(portfolio|feedback|docs|groups|supplemental)/.+">
154: Options +FollowSymLinks -Includes
155: </LocationMatch>
156:
157: <LocationMatch "^/+editupload.*">
158: AuthType LONCAPA
159: Require valid-user
160: PerlAuthzHandler Apache::lonacc
161: ErrorDocument 403 /adm/login
162: ErrorDocument 406 /adm/roles
163: ErrorDocument 500 /adm/errorhandler
164: </LocationMatch>
165:
166: <LocationMatch "^/+uploaded/.*/.*/internal/.*">
167: PerlAuthenHandler Apache::lonuploadedacc
168: PerlAuthzHandler Apache::lonuploadedacc::skip_phase
169: PerlAccessHandler Apache::lonuploadedacc::skip_phase
170: </LocationMatch>
171:
172: <LocationMatch "^/+uploaded/.*/.*/portfolio/.*">
173: PerlAccessHandler Apache::publiccheck
174: AuthType LONCAPA
175: Require valid-user
176: PerlAuthzHandler Apache::lonacc
177: </LocationMatch>
178:
179: <LocationMatch "^/+uploaded/.*/.*/groups/.*/portfolio/.*">
180: PerlAccessHandler Apache::publiccheck
181: AuthType LONCAPA
182: Require valid-user
183: PerlAuthzHandler Apache::lonacc
184: </LocationMatch>
185:
186: <LocationMatch "^/+uploaded/.*\.page$">
187: SetHandler perl-script
188: PerlHandler Apache::lonpage
189: </LocationMatch>
190:
191: <LocationMatch "^/+uploaded/.*\.sequence$">
192: SetHandler perl-script
193: PerlHandler Apache::lonsequence
194: </LocationMatch>
195:
196: <LocationMatch "^/+public/.*/syllabus$">
197: PerlAccessHandler Apache::publiccheck
198: AuthType LONCAPA
199: Require valid-user
200: PerlAuthzHandler Apache::lonacc
201: SetHandler perl-script
202: PerlHandler Apache::lonsyllabus
203: ErrorDocument 404 /adm/notfound.html
204: ErrorDocument 500 /adm/errorhandler
205: </LocationMatch>
206:
207: <LocationMatch "^/+(public|adm)/.*(\.rss|_rss\.html)$">
208: PerlAccessHandler Apache::publiccheck
209: AuthType LONCAPA
210: Require valid-user
211: PerlAuthzHandler Apache::lonacc
212: SetHandler perl-script
213: PerlHandler Apache::lonrss
214: ErrorDocument 404 /adm/notfound.html
215: ErrorDocument 500 /adm/errorhandler
216: </LocationMatch>
217:
218: <LocationMatch "^/adm/.*/aboutme$">
219: AuthType LONCAPA
220: Require valid-user
221: PerlAuthzHandler Apache::lonacc
222: SetHandler perl-script
223: PerlHandler Apache::lonaboutme
224: ErrorDocument 404 /adm/notfound.html
225: ErrorDocument 406 /adm/notinit.html
226: ErrorDocument 500 /adm/errorhandler
227: </LocationMatch>
228:
229: <LocationMatch "^/adm/.*/aboutme/portfolio$">
230: PerlAccessHandler Apache::publiccheck
231: AuthType LONCAPA
232: Require valid-user
233: PerlAuthzHandler Apache::lonacc
234: SetHandler perl-script
235: PerlHandler Apache::lonaboutme
236: ErrorDocument 404 /adm/notfound.html
237: ErrorDocument 406 /adm/notinit.html
238: ErrorDocument 500 /adm/errorhandler
239: </LocationMatch>
240:
241: <LocationMatch "^/adm/.*/smppg$">
242: AuthType LONCAPA
243: Require valid-user
244: PerlAuthzHandler Apache::lonacc
245: SetHandler perl-script
246: PerlHandler Apache::londatecheck
247: PerlHandler Apache::lonipcheck
248: PerlHandler Apache::lonsimplepage
249: ErrorDocument 404 /adm/notfound.html
250: ErrorDocument 406 /adm/notinit.html
251: ErrorDocument 500 /adm/errorhandler
252: </LocationMatch>
253:
254: <LocationMatch "^/adm/.*/bulletinboard$">
255: AuthType LONCAPA
256: Require valid-user
257: PerlAuthzHandler Apache::lonacc
258: SetHandler perl-script
259: PerlHandler Apache::londatecheck
260: PerlHandler Apache::lonipcheck
261: PerlHandler Apache::lonbulletin
262: ErrorDocument 404 /adm/notfound.html
263: ErrorDocument 406 /adm/notinit.html
264: ErrorDocument 500 /adm/errorhandler
265: </LocationMatch>
266:
267: <LocationMatch "\.problem/smpedit$">
268: AuthType LONCAPA
269: Require valid-user
270: PerlAuthzHandler Apache::lonacc
271: SetHandler perl-script
272: PerlHandler Apache::lonsimpleproblemedit
273: ErrorDocument 404 /adm/notfound.html
274: ErrorDocument 406 /adm/notinit.html
275: ErrorDocument 500 /adm/errorhandler
276: </LocationMatch>
277:
278: <LocationMatch "^/adm/.*/ext\.tool$">
279: AuthType LONCAPA
280: Require valid-user
281: PerlAuthzHandler Apache::lonacc
282: SetHandler perl-script
283: PerlHandler Apache::lonslotcheck
284: PerlHandler Apache::londatecheck
285: PerlHandler Apache::lonipcheck
286: PerlHandler Apache::lonexttool
287: ErrorDocument 404 /adm/notfound.html
288: ErrorDocument 406 /adm/notinit.html
289: ErrorDocument 500 /adm/errorhandler
290: </LocationMatch>
291:
292: <LocationMatch "^/adm/placement$">
293: AuthType LONCAPA
294: Require valid-user
295: PerlAuthzHandler Apache::lonacc
296: SetHandler perl-script
297: PerlHandler Apache::lonplacementtest
298: ErrorDocument 404 /adm/notfound.html
299: ErrorDocument 406 /adm/notinit.html
300: ErrorDocument 500 /adm/errorhandler
301: </LocationMatch>
302:
303: <Location /adm/exturlcheck>
304: AuthType LONCAPA
305: Require valid-user
306: PerlAuthzHandler Apache::lonacc
307: SetHandler perl-script
308: PerlHandler Apache::lonexturlcheck
309: ErrorDocument 403 /adm/login
310: ErrorDocument 404 /adm/notfound.html
311: ErrorDocument 406 /adm/unauthorized
312: ErrorDocument 500 /adm/errorhandler
313: </Location>
314:
315: <LocationMatch "^/+priv/.*">
316: AuthType LONCAPA
317: Require valid-user
318: PerlAuthzHandler Apache::loncacc
319: SetHandler perl-script
320: ErrorDocument 403 /adm/login
321: ErrorDocument 404 /adm/notfound.html
322: ErrorDocument 406 /adm/unauthorized
323: ErrorDocument 500 /adm/errorhandler
324: </LocationMatch>
325:
326: <LocationMatch "^/+webdav/[\w\-.]+/\w[\w.\-\@]+/">
327: <IfModule mod_dav.c>
328: <IfModule mod_ssl.c>
329: AuthType Basic
330: AuthName "LONCAPA username,domain"
331: Require valid-user
332: SSLRequireSSL
333: PerlAuthenHandler Apache::lonwebdavauth
334: PerlAuthzHandler Apache::lonwebdavacc
335: Dav On
336: DirectoryIndex index.missing
337: Options Indexes FollowSymLinks
338: ErrorDocument 403 /adm/nowebdav.html
339: ErrorDocument 404 /adm/notfound.html
340: ErrorDocument 406 /adm/unauthorized
341: ErrorDocument 500 /adm/errorhandler
342: </IfModule>
343: <IfModule !mod_ssl.c>
344: <IfModule mod_rewrite.c>
345: RewriteEngine on
346: RewriteRule .* http://%{HTTP_HOST}/adm/nowebdav.html [L]
347: </IfModule>
348: </IfModule>
349: </IfModule>
350: <IfModule !mod_dav.c>
351: <IfModule mod_rewrite.c>
352: RewriteEngine on
353: RewriteRule .* http://%{HTTP_HOST}/adm/nowebdav.html [L]
354: </IfModule>
355: </IfModule>
356: </LocationMatch>
357:
358: <LocationMatch "^/+raw.*">
359: PerlAccessHandler Apache::lonracc
360: </LocationMatch>
361:
362: <LocationMatch "^/adm/helper/.*\.helper$">
363: AuthType LONCAPA
364: Require valid-user
365: PerlAuthzHandler Apache::lonacc
366: SetHandler perl-script
367: PerlHandler Apache::lonhelper
368: ErrorDocument 403 /adm/login
369: ErrorDocument 404 /adm/notfound.html
370: ErrorDocument 406 /adm/unauthorized
371: ErrorDocument 500 /adm/errorhandler
372: </LocationMatch>
373:
374: <LocationMatch "/prtspool">
375: AuthType LONCAPA
376: Require valid-user
377: PerlAuthzHandler Apache::lonacc
378: ErrorDocument 403 /adm/login
379: ErrorDocument 404 /adm/notfound.html
380: ErrorDocument 406 /adm/roles
381: ErrorDocument 413 /adm/overloaded.txt
382: ErrorDocument 500 /adm/errorhandler
383: </LocationMatch>
384:
385: <LocationMatch "/zipspool">
386: AuthType LONCAPA
387: Require valid-user
388: PerlAuthzHandler Apache::lonacc
389: ErrorDocument 403 /adm/login
390: ErrorDocument 404 /adm/notfound.html
391: ErrorDocument 406 /adm/roles
392: ErrorDocument 413 /adm/overloaded.txt
393: ErrorDocument 500 /adm/errorhandler
394: </LocationMatch>
395: # ------------------------------------------------------------------------- RAT
396:
397: <LocationMatch "^/+priv/.*\.sequence$">
398: SetHandler perl-script
399: PerlHandler Apache::lonratedt
400: </LocationMatch>
401:
402: <LocationMatch "^/+priv/.*\.page$">
403: SetHandler perl-script
404: PerlHandler Apache::lonratedt
405: </LocationMatch>
406:
407: <LocationMatch "^/+priv/.*\/ratserver$">
408: SetHandler perl-script
409: PerlHandler Apache::lonratsrv
410: </LocationMatch>
411:
412: <LocationMatch "^/+priv/.*\/adveditmenu$">
413: SetHandler perl-script
414: PerlHandler Apache::lonratmenu
415: </LocationMatch>
416:
417: <Location /adm/ratparms>
418: AuthType LONCAPA
419: Require valid-user
420: PerlAuthzHandler Apache::lonacc
421: SetHandler perl-script
422: PerlHandler Apache::lonratparms
423: ErrorDocument 403 /adm/login
424: ErrorDocument 500 /adm/errorhandler
425: </Location>
426:
427: # --------------------------------------------- Resource Space Content Handlers
428:
429: <LocationMatch "^/+res.*/$">
430: SetHandler perl-script
431: PerlHandler Apache::lonindexer
432: PerlCleanupHandler Apache::lonindexer::cleanup
433: PerlCleanupHandler Apache::lonacc::cleanup
434: </LocationMatch>
435:
436: <LocationMatch "^/+res.*\.tex$">
437: SetHandler perl-script
438: PerlHandler Apache::lontex
439: </LocationMatch>
440:
441: <LocationMatch "^/+res/.*\.page$">
442: SetHandler perl-script
443: PerlHandler Apache::lonpage
444: </LocationMatch>
445:
446: <LocationMatch "^/+res/.*\.sequence$">
447: SetHandler perl-script
448: PerlHandler Apache::lonsequence
449: </LocationMatch>
450:
451: <LocationMatch "^/+(res|priv|public|uploaded|editupload|adm)/.*\.meta$">
452: PerlAccessHandler Apache::publiccheck
453: SetHandler perl-script
454: PerlHandler Apache::lonmeta
455: ErrorDocument 413 /adm/overloaded.txt
456: </LocationMatch>
457:
458: <LocationMatch "^/adm/bombs/">
459: AuthType LONCAPA
460: Require valid-user
461: PerlAuthzHandler Apache::lonacc
462: SetHandler perl-script
463: PerlHandler Apache::lonmeta
464: </LocationMatch>
465:
466:
467:
468: <LocationMatch "^/+(res|priv)/.*\.rights$">
469: SetHandler perl-script
470: PerlHandler Apache::lonrights
471: </LocationMatch>
472:
473: <LocationMatch "^/+(uploaded|res|priv)/.*\.(xml|html|htm|xhtml|xhtm|sty)$">
474: SetHandler perl-script
475: PerlHandler Apache::londatecheck
476: PerlHandler Apache::lonipcheck
477: PerlHandler Apache::lonxml
478: </LocationMatch>
479:
480: <LocationMatch "^/+(res|priv).*\.(task|problem|exam|quiz|assess|survey|form|library)$">
481: SetHandler perl-script
482: PerlHandler Apache::lonhomework
483: </LocationMatch>
484:
485: <LocationMatch "^/+priv/.*\.(js|css|txt|tex)$">
486: SetHandler perl-script
487: PerlHandler Apache::lonxml
488: </LocationMatch>
489:
490: <LocationMatch "^/daxepage/priv/">
491: AuthType LONCAPA
492: Require valid-user
493: PerlAuthzHandler Apache::loncacc
494: ErrorDocument 403 /adm/login
495: ErrorDocument 404 /adm/notfound.html
496: ErrorDocument 406 /adm/unauthorized
497: ErrorDocument 500 /adm/errorhandler
498: </LocationMatch>
499:
500: <LocationMatch "^/daxeopen/">
501: AuthType LONCAPA
502: Require valid-user
503: PerlAuthzHandler Apache::lonacc
504: </LocationMatch>
505:
506: <LocationMatch "^/daxeopen/priv/[^/]+/[^/]+/">
507: AuthType LONCAPA
508: Require valid-user
509: PerlAuthzHandler Apache::loncacc
510: </LocationMatch>
511:
512: <LocationMatch "^/daxeopen/(res/|$)">
513: ErrorDocument 403 /adm/login
514: ErrorDocument 404 /adm/notfound.html
515: ErrorDocument 406 /adm/roles
516: ErrorDocument 500 /adm/errorhandler
517: </LocationMatch>
518:
519: <LocationMatch "^/daxeopen/priv/">
520: ErrorDocument 403 /adm/login
521: ErrorDocument 404 /adm/notfound.html
522: ErrorDocument 406 /adm/unauthorized
523: ErrorDocument 500 /adm/errorhandler
524: </LocationMatch>
525:
526: <LocationMatch "^/daxe(page|open)/uploaded/">
527: AuthType LONCAPA
528: Require valid-user
529: PerlAuthzHandler Apache::lonacc
530: ErrorDocument 403 /adm/login
531: ErrorDocument 404 /adm/notfound.html
532: ErrorDocument 406 /adm/roles
533: ErrorDocument 500 /adm/errorhandler
534: </LocationMatch>
535:
536: <LocationMatch "^/daxepage/priv/.*\.(task|problem|exam|quiz|assess|survey|library|xml|html|htm|xhtml|xhtm)$">
537: SetHandler perl-script
538: PerlHandler Apache::daxepage
539: </LocationMatch>
540:
541: <LocationMatch "^/daxepage/uploaded/[^/]+/[^/]+/(docs|supplemental)/.*html?$">
542: SetHandler perl-script
543: PerlHandler Apache::daxepage
544: </LocationMatch>
545:
546: <LocationMatch "^/daxeopen/priv/.*\.(task|problem|exam|quiz|assess|survey|library|xml|html|htm|xhtml|xhtm)$">
547: SetHandler perl-script
548: PerlHandler Apache::daxeopen
549: </LocationMatch>
550:
551: <LocationMatch "^/daxeopen/$">
552: SetHandler perl-script
553: PerlHandler Apache::daxeopen
554: </LocationMatch>
555:
556: <LocationMatch "^/daxeopen/(res|priv|uploaded)/(.+/)?$">
557: SetHandler perl-script
558: PerlHandler Apache::daxeopen
559: </LocationMatch>
560:
561: <LocationMatch "^/daxeopen/uploaded/[^/]+/[^/]+/(docs|supplemental)/.*html?$">
562: SetHandler perl-script
563: PerlHandler Apache::daxeopen
564: </LocationMatch>
565:
566: <LocationMatch "(?i)^/daxeopen/priv/.+\.(?!task$|problem$|exam$|quiz$|assess$|survey$|library$|xml$|html$|htm$|xhtml$|xhtm$)[^.]*$">
567: <IfModule mod_rewrite.c>
568: RewriteEngine on
569: RewriteRule /daxeopen/(.*) /$1
570: </IfModule>
571: </LocationMatch>
572:
573: <LocationMatch "(?i)^/daxeopen/uploaded/.+\.(?!html$|htm$|xhtml$|xhtm$)[^.]*$">
574: <IfModule mod_rewrite.c>
575: RewriteEngine on
576: RewriteRule /daxeopen/(.*) /$1
577: </IfModule>
578: </LocationMatch>
579:
580: <LocationMatch "(?i)^/daxeopen/(res/.*\.(jpg|jpeg|gif|png|svg))$">
581: <IfModule mod_rewrite.c>
582: RewriteEngine on
583: RewriteRule /daxeopen/(.*) /$1
584: </IfModule>
585: </LocationMatch>
586:
587: <LocationMatch "^/daxesave$">
588: AuthType LONCAPA
589: Require valid-user
590: PerlAuthzHandler Apache::lonacc
591: SetHandler perl-script
592: PerlHandler Apache::daxesave
593: </LocationMatch>
594:
595: <Location /adm/coursepub>
596: AuthType LONCAPA
597: Require valid-user
598: PerlAuthzHandler Apache::lonacc
599: SetHandler perl-script
600: PerlHandler Apache::loncoursepub
601: ErrorDocument 404 /adm/notfound.html
602: ErrorDocument 500 /adm/errorhandler
603: </Location>
604:
605: <LocationMatch "^/adm/wrapper/">
606: AuthType LONCAPA
607: Require valid-user
608: PerlAuthzHandler Apache::lonacc
609: PerlHandler Apache::londatecheck
610: PerlHandler Apache::lonipcheck
611: SetHandler perl-script
612: PerlHandler Apache::lonwrapper
613: ErrorDocument 403 /adm/login
614: ErrorDocument 500 /adm/errorhandler
615: </LocationMatch>
616:
617: <LocationMatch "^/adm/source">
618: AuthType LONCAPA
619: Require valid-user
620: PerlAuthzHandler Apache::lonacc
621: SetHandler perl-script
622: PerlHandler Apache::lonsource
623: ErrorDocument 403 /adm/login
624: ErrorDocument 406 /adm/roles
625: ErrorDocument 500 /adm/errorhandler
626: </LocationMatch>
627:
628:
629: <LocationMatch "^/adm/localize/">
630: AuthType LONCAPA
631: Require valid-user
632: PerlAuthzHandler Apache::lonacc
633: SetHandler perl-script
634: PerlHandler Apache::lonlocalize
635: ErrorDocument 403 /adm/login
636: ErrorDocument 500 /adm/errorhandler
637: </LocationMatch>
638:
639: # -------------------------------------------------------------- Admin Programs
640:
641: <Location /adm/randomlabel.png>
642: AuthType LONCAPA
643: Require valid-user
644: PerlAuthzHandler Apache::lonacc
645: SetHandler perl-script
646: PerlHandler Apache::randomlylabel
647: ErrorDocument 403 /adm/login
648: ErrorDocument 500 /adm/errorhandler
649: </Location>
650:
651: <Location /adm/imagechoice>
652: AuthType LONCAPA
653: Require valid-user
654: PerlAuthzHandler Apache::lonacc
655: SetHandler perl-script
656: PerlHandler Apache::imagechoice
657: ErrorDocument 403 /adm/login
658: ErrorDocument 500 /adm/errorhandler
659: </Location>
660:
661: <Location /adm/searchcourse>
662: AuthType LONCAPA
663: Require valid-user
664: PerlAuthzHandler Apache::lonacc
665: SetHandler perl-script
666: PerlHandler Apache::lonsearchcourse
667: ErrorDocument 403 /adm/login
668: ErrorDocument 500 /adm/errorhandler
669: </Location>
670:
671: <Location /adm/indexcourse>
672: AuthType LONCAPA
673: Require valid-user
674: PerlAuthzHandler Apache::lonacc
675: SetHandler perl-script
676: PerlHandler Apache::lonindexcourse
677: ErrorDocument 403 /adm/login
678: ErrorDocument 500 /adm/errorhandler
679: </Location>
680:
681: <Location /adm/statistics>
682: AuthType LONCAPA
683: Require valid-user
684: PerlAuthzHandler Apache::lonacc
685: SetHandler perl-script
686: PerlHandler Apache::lonstatistics
687: ErrorDocument 403 /adm/login
688: ErrorDocument 413 /adm/overloaded.txt
689: ErrorDocument 500 /adm/errorhandler
690: </Location>
691:
692: <Location /adm/trackstudent>
693: AuthType LONCAPA
694: Require valid-user
695: PerlAuthzHandler Apache::lonacc
696: SetHandler perl-script
697: PerlHandler Apache::lontrackstudent
698: ErrorDocument 403 /adm/login
699: ErrorDocument 413 /adm/overloaded.txt
700: ErrorDocument 500 /adm/errorhandler
701: </Location>
702:
703: <Location /adm/roles>
704: AuthType LONCAPA
705: Require valid-user
706: PerlAuthzHandler Apache::lonacc
707: SetHandler perl-script
708: PerlHandler Apache::lonroles
709: ErrorDocument 403 /adm/login
710: ErrorDocument 409 /adm/preferences?action=lockwarning
711: ErrorDocument 500 /adm/errorhandler
712: </Location>
713:
714: <Location /adm/menu>
715: AuthType LONCAPA
716: Require valid-user
717: PerlAuthzHandler Apache::lonacc
718: SetHandler perl-script
719: PerlHandler Apache::lonmainmenu
720: ErrorDocument 403 /adm/login
721: ErrorDocument 500 /adm/errorhandler
722: </Location>
723:
724: <Location /adm/pickresource>
725: AuthType LONCAPA
726: Require valid-user
727: PerlAuthzHandler Apache::lonacc
728: SetHandler perl-script
729: PerlHandler Apache::lonpickresource
730: ErrorDocument 403 /adm/login
731: ErrorDocument 500 /adm/errorhandler
732: </Location>
733:
734: <Location /adm/pickauthor>
735: AuthType LONCAPA
736: Require valid-user
737: PerlAuthzHandler Apache::lonacc
738: SetHandler perl-script
739: PerlHandler Apache::lonpickauthor
740: ErrorDocument 403 /adm/login
741: ErrorDocument 500 /adm/errorhandler
742: </Location>
743:
744: <Location /adm/pickstudent>
745: AuthType LONCAPA
746: Require valid-user
747: PerlAuthzHandler Apache::lonacc
748: SetHandler perl-script
749: PerlHandler Apache::lonpickstudent
750: ErrorDocument 403 /adm/login
751: ErrorDocument 500 /adm/errorhandler
752: </Location>
753:
754: <Location /adm/pickuser>
755: AuthType LONCAPA
756: Require valid-user
757: PerlAuthzHandler Apache::lonacc
758: SetHandler perl-script
759: PerlHandler Apache::lonpickuser
760: ErrorDocument 403 /adm/login
761: ErrorDocument 406 /adm/roles
762: ErrorDocument 500 /adm/errorhandler
763: </Location>
764:
765: <Location /adm/pickcourse>
766: AuthType LONCAPA
767: Require valid-user
768: PerlAuthzHandler Apache::lonacc
769: SetHandler perl-script
770: PerlHandler Apache::lonpickcourse
771: ErrorDocument 403 /adm/login
772: ErrorDocument 500 /adm/errorhandler
773: </Location>
774:
775: <Location /adm/pickcode>
776: AuthType LONCAPA
777: Require valid-user
778: PerlAuthzHandler Apache::lonacc
779: SetHandler perl-script
780: PerlHandler Apache::lonpickcode
781: ErrorDocument 403 /adm/login
782: ErrorDocument 500 /adm/errorhandler
783: </Location>
784:
785: <Location /adm/dependencies>
786: AuthType LONCAPA
787: Require valid-user
788: PerlAuthzHandler Apache::lonacc
789: SetHandler perl-script
790: PerlHandler Apache::londependencies
791: ErrorDocument 403 /adm/login
792: ErrorDocument 406 /adm/roles
793: ErrorDocument 500 /adm/errorhandler
794: </Location>
795:
796: <Location /adm/courseauthor>
797: AuthType LONCAPA
798: Require valid-user
799: PerlAuthzHandler Apache::lonacc
800: SetHandler perl-script
801: PerlHandler Apache::loncourseauthor
802: ErrorDocument 403 /adm/login
803: ErrorDocument 406 /adm/roles
804: ErrorDocument 500 /adm/errorhandler
805: </Location>
806:
807: <Location /adm/courseuser>
808: AuthType LONCAPA
809: Require valid-user
810: PerlAuthzHandler Apache::lonacc
811: SetHandler perl-script
812: PerlHandler Apache::loncourseuser
813: ErrorDocument 403 /adm/login
814: ErrorDocument 406 /adm/roles
815: ErrorDocument 500 /adm/errorhandler
816: </Location>
817:
818: <Location /adm/login>
819: SetHandler perl-script
820: PerlHandler Apache::lonlogin
821: </Location>
822:
823: <LocationMatch "^/+adm/launch/tiny/[\w.-]+/\w+">
824: SetHandler perl-script
825: PerlHandler Apache::ltiauth
826: </LocationMatch>
827:
828: <Location /adm/relaunch>
829: SetHandler perl-script
830: PerlHandler Apache::lonrelaunch
831: </Location>
832:
833: <LocationMatch "^/+adm/lti($|/)">
834: SetHandler perl-script
835: PerlHandler Apache::ltiauth
836: </LocationMatch>
837:
838: <Location /adm/service/passback>
839: SetHandler perl-script
840: PerlHandler Apache::ltipassback
841: </Location>
842:
843: <Location /adm/service/roster>
844: SetHandler perl-script
845: PerlHandler Apache::ltiroster
846: </Location>
847:
848: <LocationMatch "^/adm/service/logout/\w+$">
849: SetHandler perl-script
850: PerlHandler Apache::ltilogout
851: </LocationMatch>
852:
853: <Location /adm/restrictedaccess>
854: PerlAccessHandler Apache::publiccheck
855: AuthType LONCAPA
856: Require valid-user
857: PerlAuthzHandler Apache::lonacc
858: SetHandler perl-script
859: PerlHandler Apache::restrictedaccess
860: ErrorDocument 500 /adm/errorhandler
861: </Location>
862:
863: <Location /adm/blockedaccess>
864: PerlAccessHandler Apache::publiccheck
865: AuthType LONCAPA
866: Require valid-user
867: PerlAuthzHandler Apache::lonacc
868: SetHandler perl-script
869: PerlHandler Apache::blockedaccess
870: ErrorDocument 500 /adm/errorhandler
871: </Location>
872:
873: <Location /adm/protected>
874: PerlAccessHandler Apache::publiccheck
875: AuthType LONCAPA
876: Require valid-user
877: PerlAuthzHandler Apache::lonacc
878: SetHandler perl-script
879: PerlHandler Apache::lonprotected
880: ErrorDocument 403 /adm/login
881: ErrorDocument 500 /adm/errorhandler
882: </Location>
883:
884: <Location /adm/logout>
885: AuthType LONCAPA
886: Require valid-user
887: PerlAuthzHandler Apache::lonacc
888: SetHandler perl-script
889: PerlHandler Apache::lonlogout
890: ErrorDocument 403 /adm/login
891: ErrorDocument 409 /adm/preferences?action=lockwarning
892: ErrorDocument 500 /adm/errorhandler
893: </Location>
894:
895: <Location /adm/switchserver>
896: AuthType LONCAPA
897: Require valid-user
898: PerlAuthzHandler Apache::lonacc
899: SetHandler perl-script
900: PerlHandler Apache::switchserver
901: ErrorDocument 403 /adm/login
902: ErrorDocument 500 /adm/errorhandler
903: </Location>
904:
905: <Location /adm/authenticate>
906: SetHandler perl-script
907: PerlHandler Apache::lonauth
908: </Location>
909:
910: <Location /adm/migrateuser>
911: SetHandler perl-script
912: PerlHandler Apache::migrateuser
913: </Location>
914:
915: <Location /adm/sso>
916: Header set Cache-Control "private,no-store,no-cache,max-age=0"
917: <IfModule mod_shib>
918: AuthType shibboleth
919: ShibUseEnvironment On
920: ShibRequestSetting requireSession 1
921: ShibRequestSetting redirectToSSL 443
922: require valid-user
923: PerlAuthzHandler Apache::lonshibacc
924: PerlAuthzHandler Apache::lonacc
925: ErrorDocument 403 /adm/login
926: ErrorDocument 500 /adm/errorhandler
927: </IfModule>
928: <IfModule !mod_shib>
929: PerlTypeHandler Apache::lonnoshib
930: </IfModule>
931: </Location>
932:
933: <Location /adm/linkexit>
934: AuthType LONCAPA
935: Require valid-user
936: PerlAuthzHandler Apache::lonacc
937: SetHandler perl-script
938: PerlHandler Apache::lonlinkexit
939: ErrorDocument 403 /adm/login
940: ErrorDocument 409 /adm/preferences?action=lockwarning
941: ErrorDocument 500 /adm/errorhandler
942: </Location>
943:
944: <Location /adm/annotations>
945: AuthType LONCAPA
946: Require valid-user
947: PerlAuthzHandler Apache::lonacc
948: SetHandler perl-script
949: PerlHandler Apache::admannotations
950: ErrorDocument 403 /adm/login
951: ErrorDocument 500 /adm/errorhandler
952: </Location>
953:
954: <Location /adm/annotation>
955: AuthType LONCAPA
956: Require valid-user
957: PerlAuthzHandler Apache::lonacc
958: SetHandler perl-script
959: PerlHandler Apache::admannotations
960: ErrorDocument 403 /adm/login
961: ErrorDocument 500 /adm/errorhandler
962: </Location>
963:
964: <Location /adm/spellcheck>
965: AuthType LONCAPA
966: Require valid-user
967: PerlAuthzHandler Apache::lonacc
968: SetHandler perl-script
969: PerlHandler Apache::lonspeller
970: ErrorDocument 403 /adm/login
971: ErrorDocument 500 /adm/errorhandler
972: </Location>
973:
974: <Location /adm/flip>
975: AuthType LONCAPA
976: Require valid-user
977: PerlAuthzHandler Apache::lonacc
978: SetHandler perl-script
979: PerlHandler Apache::lonpageflip
980: PerlCleanupHandler Apache::lonpageflip::cleanup
981: PerlCleanupHandler Apache::lonacc::cleanup
982: ErrorDocument 406 /adm/roles
983: ErrorDocument 403 /adm/login
984: ErrorDocument 500 /adm/errorhandler
985: </Location>
986:
987: <Location /adm/ambiguous>
988: AuthType LONCAPA
989: Require valid-user
990: PerlAuthzHandler Apache::lonacc
991: SetHandler perl-script
992: PerlHandler Apache::lonambiguous
993: PerlCleanupHandler Apache::lonambiguous::cleanup
994: PerlCleanupHandler Apache::lonacc::cleanup
995: ErrorDocument 403 /adm/login
996: ErrorDocument 500 /adm/errorhandler
997: </Location>
998:
999: <Location /adm/email>
1000: AuthType LONCAPA
1001: Require valid-user
1002: PerlAuthzHandler Apache::lonacc
1003: SetHandler perl-script
1004: PerlHandler Apache::lonmsgdisplay
1005: ErrorDocument 403 /adm/login
1006: ErrorDocument 500 /adm/errorhandler
1007: </Location>
1008:
1009: <Location /adm/notify>
1010: AuthType LONCAPA
1011: Require valid-user
1012: PerlAuthzHandler Apache::lonacc
1013: SetHandler perl-script
1014: PerlHandler Apache::lonnotify
1015: ErrorDocument 403 /adm/login
1016: ErrorDocument 500 /adm/errorhandler
1017: </Location>
1018:
1019: <Location /adm/parmset>
1020: AuthType LONCAPA
1021: Require valid-user
1022: PerlAuthzHandler Apache::lonacc
1023: SetHandler perl-script
1024: PerlHandler Apache::lonparmset
1025: ErrorDocument 403 /adm/login
1026: ErrorDocument 406 /adm/roles
1027: ErrorDocument 500 /adm/errorhandler
1028: </Location>
1029:
1030: <Location /adm/courseprefs>
1031: AuthType LONCAPA
1032: Require valid-user
1033: PerlAuthzHandler Apache::lonacc
1034: SetHandler perl-script
1035: PerlHandler Apache::courseprefs
1036: ErrorDocument 403 /adm/login
1037: ErrorDocument 406 /adm/roles
1038: ErrorDocument 500 /adm/errorhandler
1039: </Location>
1040:
1041: <Location /adm/slotrequest>
1042: AuthType LONCAPA
1043: Require valid-user
1044: PerlAuthzHandler Apache::lonacc
1045: SetHandler perl-script
1046: PerlHandler Apache::slotrequest
1047: ErrorDocument 403 /adm/login
1048: ErrorDocument 406 /adm/roles
1049: ErrorDocument 500 /adm/errorhandler
1050: </Location>
1051:
1052: <Location /adm/wizard>
1053: AuthType LONCAPA
1054: Require valid-user
1055: PerlAuthzHandler Apache::lonacc
1056: SetHandler perl-script
1057: PerlHandler Apache::lonwizard
1058: ErrorDocument 403 /adm/login
1059: ErrorDocument 406 /adm/roles
1060: ErrorDocument 500 /adm/errorhandler
1061: </Location>
1062:
1063: <Location /adm/grades>
1064: AuthType LONCAPA
1065: Require valid-user
1066: PerlAuthzHandler Apache::lonacc
1067: SetHandler perl-script
1068: PerlHandler Apache::grades
1069: ErrorDocument 403 /adm/login
1070: ErrorDocument 406 /adm/roles
1071: ErrorDocument 500 /adm/errorhandler
1072: </Location>
1073:
1074: <Location /adm/requestcourse>
1075: AuthType LONCAPA
1076: Require valid-user
1077: PerlAuthzHandler Apache::lonacc
1078: SetHandler perl-script
1079: PerlHandler Apache::lonrequestcourse
1080: ErrorDocument 403 /adm/login
1081: ErrorDocument 406 /adm/roles
1082: ErrorDocument 500 /adm/errorhandler
1083: </Location>
1084:
1085: <Location /adm/createcourse>
1086: AuthType LONCAPA
1087: Require valid-user
1088: PerlAuthzHandler Apache::lonacc
1089: SetHandler perl-script
1090: PerlHandler Apache::loncreatecourse
1091: ErrorDocument 403 /adm/login
1092: ErrorDocument 406 /adm/roles
1093: ErrorDocument 500 /adm/errorhandler
1094: </Location>
1095:
1096: <Location /adm/modifycourse>
1097: AuthType LONCAPA
1098: Require valid-user
1099: PerlAuthzHandler Apache::lonacc
1100: SetHandler perl-script
1101: PerlHandler Apache::lonmodifycourse
1102: ErrorDocument 403 /adm/login
1103: ErrorDocument 406 /adm/roles
1104: ErrorDocument 500 /adm/errorhandler
1105: </Location>
1106:
1107: <Location /adm/domainprefs>
1108: AuthType LONCAPA
1109: Require valid-user
1110: PerlAuthzHandler Apache::lonacc
1111: SetHandler perl-script
1112: PerlHandler Apache::domainprefs
1113: ErrorDocument 403 /adm/login
1114: ErrorDocument 406 /adm/roles
1115: ErrorDocument 500 /adm/errorhandler
1116: </Location>
1117:
1118: <Location /adm/domainstatus>
1119: PerlAccessHandler Apache::lonstatusacc
1120: SetHandler perl-script
1121: PerlHandler Apache::domainstatus
1122: ErrorDocument 403 /adm/login
1123: ErrorDocument 406 /adm/roles
1124: ErrorDocument 500 /adm/errorhandler
1125: </Location>
1126:
1127: <Location /adm/createuser>
1128: AuthType LONCAPA
1129: Require valid-user
1130: PerlAuthzHandler Apache::lonacc
1131: SetHandler perl-script
1132: PerlHandler Apache::loncreateuser
1133: ErrorDocument 403 /adm/login
1134: ErrorDocument 406 /adm/roles
1135: ErrorDocument 500 /adm/errorhandler
1136: </Location>
1137:
1138: <Location /adm/publish>
1139: AuthType LONCAPA
1140: Require valid-user
1141: PerlAuthzHandler Apache::lonacc
1142: SetHandler perl-script
1143: PerlHandler Apache::lonpublisher
1144: ErrorDocument 403 /adm/login
1145: ErrorDocument 404 /adm/notfound.html
1146: ErrorDocument 406 /adm/unauthorized
1147: ErrorDocument 500 /adm/errorhandler
1148: </Location>
1149:
1150: <LocationMatch "^/+priv/.*/$">
1151: AuthType LONCAPA
1152: Require valid-user
1153: PerlAuthzHandler Apache::loncacc
1154: SetHandler perl-script
1155: PerlHandler Apache::lonpubdir
1156: ErrorDocument 403 /adm/login
1157: ErrorDocument 404 /adm/notfound.html
1158: ErrorDocument 406 /adm/unauthorized
1159: ErrorDocument 500 /adm/errorhandler
1160: </LocationMatch>
1161:
1162: <Location /adm/unauthorized>
1163: AuthType LONCAPA
1164: Require valid-user
1165: PerlAuthzHandler Apache::lonacc
1166: SetHandler perl-script
1167: PerlHandler Apache::lonunauthorized
1168: ErrorDocument 403 /adm/login
1169: ErrorDocument 404 /adm/notfound.html
1170: ErrorDocument 500 /adm/errorhandler
1171: </Location>
1172:
1173: <Location /adm/retrieve>
1174: AuthType LONCAPA
1175: Require valid-user
1176: PerlAuthzHandler Apache::lonacc
1177: SetHandler perl-script
1178: PerlHandler Apache::lonretrieve
1179: ErrorDocument 403 /adm/login
1180: ErrorDocument 404 /adm/notfound.html
1181: ErrorDocument 406 /adm/unauthorized
1182: ErrorDocument 500 /adm/errorhandler
1183: </Location>
1184:
1185: <Location /adm/cleanup>
1186: AuthType LONCAPA
1187: Require valid-user
1188: PerlAuthzHandler Apache::lonacc
1189: SetHandler perl-script
1190: PerlHandler Apache::loncleanup
1191: ErrorDocument 403 /adm/login
1192: ErrorDocument 404 /adm/notfound.html
1193: ErrorDocument 406 /adm/unauthorized
1194: ErrorDocument 500 /adm/errorhandler
1195: </Location>
1196:
1197: <Location /adm/cfile>
1198: AuthType LONCAPA
1199: Require valid-user
1200: PerlAuthzHandler Apache::lonacc
1201: SetHandler perl-script
1202: PerlHandler Apache::loncfile
1203: ErrorDocument 403 /adm/login
1204: ErrorDocument 404 /adm/notfound.html
1205: ErrorDocument 406 /adm/unauthorized
1206: ErrorDocument 500 /adm/errorhandler
1207: </Location>
1208:
1209: <Location /adm/diff>
1210: AuthType LONCAPA
1211: Require valid-user
1212: PerlAuthzHandler Apache::lonacc
1213: SetHandler perl-script
1214: PerlHandler Apache::londiff
1215: ErrorDocument 403 /adm/login
1216: ErrorDocument 404 /adm/notfound.html
1217: ErrorDocument 406 /adm/unauthorized
1218: ErrorDocument 500 /adm/errorhandler
1219: </Location>
1220:
1221: <Location /adm/upload>
1222: AuthType LONCAPA
1223: Require valid-user
1224: PerlAuthzHandler Apache::lonacc
1225: SetHandler perl-script
1226: PerlHandler Apache::lonupload
1227: ErrorDocument 403 /adm/login
1228: ErrorDocument 404 /adm/notfound.html
1229: ErrorDocument 406 /adm/unauthorized
1230: ErrorDocument 500 /adm/errorhandler
1231: </Location>
1232:
1233: <Location /adm/imsimport>
1234: AuthType LONCAPA
1235: Require valid-user
1236: PerlAuthzHandler Apache::lonacc
1237: SetHandler perl-script
1238: PerlHandler Apache::imsimport
1239: ErrorDocument 403 /adm/login
1240: ErrorDocument 404 /adm/notfound.html
1241: ErrorDocument 406 /adm/unauthorized
1242: ErrorDocument 500 /adm/errorhandler
1243: </Location>
1244:
1245: <Location /adm/testbank>
1246: AuthType LONCAPA
1247: Require valid-user
1248: PerlAuthzHandler Apache::lonacc
1249: SetHandler perl-script
1250: PerlHandler Apache::testbankimport
1251: ErrorDocument 403 /adm/login
1252: ErrorDocument 404 /adm/notfound.html
1253: ErrorDocument 406 /adm/unauthorized
1254: ErrorDocument 500 /adm/errorhandler
1255: </Location>
1256:
1257: <Location /adm/assesscalc>
1258: AuthType LONCAPA
1259: Require valid-user
1260: PerlAuthzHandler Apache::lonacc
1261: SetHandler perl-script
1262: PerlHandler Apache::lonspreadsheet
1263: ErrorDocument 403 /adm/login
1264: ErrorDocument 406 /adm/roles
1265: ErrorDocument 413 /adm/overloaded.txt
1266: ErrorDocument 500 /adm/errorhandler
1267: </Location>
1268:
1269: <Location /adm/studentcalc>
1270: AuthType LONCAPA
1271: Require valid-user
1272: PerlAuthzHandler Apache::lonacc
1273: SetHandler perl-script
1274: PerlHandler Apache::lonspreadsheet
1275: ErrorDocument 403 /adm/login
1276: ErrorDocument 406 /adm/roles
1277: ErrorDocument 413 /adm/overloaded.txt
1278: ErrorDocument 500 /adm/errorhandler
1279: </Location>
1280:
1281: <Location /adm/classcalc>
1282: AuthType LONCAPA
1283: Require valid-user
1284: PerlAuthzHandler Apache::lonacc
1285: SetHandler perl-script
1286: PerlHandler Apache::lonspreadsheet
1287: ErrorDocument 403 /adm/login
1288: ErrorDocument 406 /adm/roles
1289: ErrorDocument 413 /adm/overloaded.txt
1290: ErrorDocument 500 /adm/errorhandler
1291: </Location>
1292:
1293: <Location /adm/dropadd>
1294: AuthType LONCAPA
1295: Require valid-user
1296: PerlAuthzHandler Apache::lonacc
1297: SetHandler perl-script
1298: PerlHandler Apache::londropadd
1299: ErrorDocument 403 /adm/login
1300: ErrorDocument 406 /adm/roles
1301: ErrorDocument 500 /adm/errorhandler
1302: </Location>
1303:
1304: <Location /adm/viewclasslist>
1305: AuthType LONCAPA
1306: Require valid-user
1307: PerlAuthzHandler Apache::lonacc
1308: SetHandler perl-script
1309: PerlHandler Apache::lonviewclasslist
1310: ErrorDocument 403 /adm/login
1311: ErrorDocument 406 /adm/roles
1312: ErrorDocument 500 /adm/errorhandler
1313: </Location>
1314:
1315: <Location /adm/coursegroups>
1316: AuthType LONCAPA
1317: Require valid-user
1318: PerlAuthzHandler Apache::lonacc
1319: SetHandler perl-script
1320: PerlHandler Apache::loncoursegroups
1321: ErrorDocument 403 /adm/login
1322: ErrorDocument 406 /adm/roles
1323: ErrorDocument 500 /adm/errorhandler
1324: </Location>
1325:
1326: <Location /adm/groupboards>
1327: AuthType LONCAPA
1328: Require valid-user
1329: PerlAuthzHandler Apache::lonacc
1330: SetHandler perl-script
1331: PerlHandler Apache::groupboards
1332: ErrorDocument 403 /adm/login
1333: ErrorDocument 406 /adm/roles
1334: ErrorDocument 500 /adm/errorhandler
1335: </Location>
1336:
1337: <Location /adm/grouproster>
1338: AuthType LONCAPA
1339: Require valid-user
1340: PerlAuthzHandler Apache::lonacc
1341: SetHandler perl-script
1342: PerlHandler Apache::grouproster
1343: ErrorDocument 403 /adm/login
1344: ErrorDocument 406 /adm/roles
1345: ErrorDocument 500 /adm/errorhandler
1346: </Location>
1347:
1348: <Location /adm/whatsnew>
1349: AuthType LONCAPA
1350: Require valid-user
1351: PerlAuthzHandler Apache::lonacc
1352: SetHandler perl-script
1353: PerlHandler Apache::lonwhatsnew
1354: ErrorDocument 403 /adm/login
1355: ErrorDocument 406 /adm/roles
1356: ErrorDocument 500 /adm/errorhandler
1357: </Location>
1358:
1359: <Location /adm/populate>
1360: AuthType LONCAPA
1361: Require valid-user
1362: PerlAuthzHandler Apache::lonacc
1363: SetHandler perl-script
1364: PerlHandler Apache::lonpopulate
1365: ErrorDocument 403 /adm/login
1366: ErrorDocument 406 /adm/roles
1367: ErrorDocument 500 /adm/errorhandler
1368: </Location>
1369:
1370: <Location /adm/managekeys>
1371: AuthType LONCAPA
1372: Require valid-user
1373: PerlAuthzHandler Apache::lonacc
1374: SetHandler perl-script
1375: PerlHandler Apache::lonmanagekeys
1376: ErrorDocument 403 /adm/login
1377: ErrorDocument 406 /adm/roles
1378: ErrorDocument 500 /adm/errorhandler
1379: </Location>
1380:
1381: <Location /adm/printout>
1382: AuthType LONCAPA
1383: Require valid-user
1384: PerlAuthzHandler Apache::lonacc
1385: SetHandler perl-script
1386: PerlHandler Apache::lonprintout
1387: ErrorDocument 403 /adm/login
1388: ErrorDocument 413 /adm/overloaded.txt
1389: ErrorDocument 500 /adm/errorhandler
1390: </Location>
1391:
1392: <Location /adm/feedback>
1393: AuthType LONCAPA
1394: Require valid-user
1395: PerlAuthzHandler Apache::lonacc
1396: SetHandler perl-script
1397: PerlHandler Apache::lonfeedback
1398: ErrorDocument 403 /adm/login
1399: ErrorDocument 500 /adm/errorhandler
1400: </Location>
1401:
1402: <Location /adm/coursedocs>
1403: AuthType LONCAPA
1404: Require valid-user
1405: PerlAuthzHandler Apache::lonacc
1406: SetHandler perl-script
1407: PerlHandler Apache::londocs
1408: PerlCleanupHandler Apache::londocs::untiehash
1409: PerlCleanupHandler Apache::lonacc::cleanup
1410: ErrorDocument 403 /adm/login
1411: ErrorDocument 500 /adm/errorhandler
1412: </Location>
1413:
1414: <Location /adm/supplemental>
1415: AuthType LONCAPA
1416: Require valid-user
1417: PerlAuthzHandler Apache::lonacc
1418: SetHandler perl-script
1419: PerlHandler Apache::londocs
1420: PerlCleanupHandler Apache::londocs::untiehash
1421: PerlCleanupHandler Apache::lonacc::cleanup
1422: ErrorDocument 403 /adm/login
1423: ErrorDocument 500 /adm/errorhandler
1424: </Location>
1425:
1426: <Location /adm/imsimportdocs>
1427: AuthType LONCAPA
1428: Require valid-user
1429: PerlAuthzHandler Apache::lonacc
1430: SetHandler perl-script
1431: PerlHandler Apache::imsimportdocs
1432: ErrorDocument 403 /adm/login
1433: ErrorDocument 500 /adm/errorhandler
1434: </Location>
1435:
1436: <Location /adm/extresedit>
1437: AuthType LONCAPA
1438: Require valid-user
1439: PerlAuthzHandler Apache::lonacc
1440: SetHandler perl-script
1441: PerlHandler Apache::lonextresedit
1442: ErrorDocument 403 /adm/login
1443: ErrorDocument 500 /adm/errorhandler
1444: </Location>
1445:
1446: <LocationMatch "^/adm/announcements">
1447: AuthType LONCAPA
1448: Require valid-user
1449: PerlAuthzHandler Apache::lonacc
1450: SetHandler perl-script
1451: PerlHandler Apache::lonannounce
1452: ErrorDocument 403 /adm/login
1453: ErrorDocument 500 /adm/errorhandler
1454: </LocationMatch>
1455:
1456: <Location /adm/chat>
1457: AuthType LONCAPA
1458: Require valid-user
1459: PerlAuthzHandler Apache::lonacc
1460: SetHandler perl-script
1461: PerlHandler Apache::lonchat
1462: ErrorDocument 500 /adm/errorhandler
1463: </Location>
1464:
1465: <Location /adm/chatfetch>
1466: AuthType LONCAPA
1467: Require valid-user
1468: PerlAuthzHandler Apache::lonacc
1469: SetHandler perl-script
1470: PerlHandler Apache::lonchatfetch
1471: ErrorDocument 413 /adm/overloaded.txt
1472: ErrorDocument 500 /adm/errorhandler
1473: </Location>
1474:
1475: <Location /adm/groupchat>
1476: AuthType LONCAPA
1477: Require valid-user
1478: PerlAuthzHandler Apache::lonacc
1479: SetHandler perl-script
1480: PerlHandler Apache::longroupchat
1481: ErrorDocument 403 /adm/login
1482: ErrorDocument 500 /adm/errorhandler
1483: </Location>
1484:
1485: <Location /adm/evaluate>
1486: AuthType LONCAPA
1487: Require valid-user
1488: PerlAuthzHandler Apache::lonacc
1489: SetHandler perl-script
1490: PerlHandler Apache::lonevaluate
1491: ErrorDocument 403 /adm/login
1492: ErrorDocument 500 /adm/errorhandler
1493: </Location>
1494:
1495: <Location /adm/preferences>
1496: AuthType LONCAPA
1497: Require valid-user
1498: PerlAuthzHandler Apache::lonacc
1499: SetHandler perl-script
1500: PerlHandler Apache::lonpreferences
1501: ErrorDocument 403 /adm/login
1502: ErrorDocument 500 /adm/errorhandler
1503: </Location>
1504:
1505: <Location /adm/communicate>
1506: AuthType LONCAPA
1507: Require valid-user
1508: PerlAuthzHandler Apache::lonacc
1509: SetHandler perl-script
1510: PerlHandler Apache::loncommunicate
1511: ErrorDocument 403 /adm/login
1512: ErrorDocument 500 /adm/errorhandler
1513: </Location>
1514:
1515: <Location /adm/searchcat>
1516: AuthType LONCAPA
1517: Require valid-user
1518: PerlAuthzHandler Apache::lonacc
1519: SetHandler perl-script
1520: PerlHandler Apache::lonsearchcat
1521: PerlCleanupHandler Apache::lonsearchcat::cleanup
1522: PerlCleanupHandler Apache::lonacc::cleanup
1523: ErrorDocument 403 /adm/login
1524: ErrorDocument 413 /adm/overloaded.txt
1525: ErrorDocument 500 /adm/errorhandler
1526: </Location>
1527:
1528: <Location /adm/navmaps>
1529: AuthType LONCAPA
1530: Require valid-user
1531: PerlAuthzHandler Apache::lonacc
1532: SetHandler perl-script
1533: PerlHandler Apache::lonnavdisplay
1534: ErrorDocument 403 /adm/login
1535: ErrorDocument 406 /adm/roles
1536: ErrorDocument 500 /adm/errorhandler
1537: </Location>
1538:
1539: <Location /adm/quickgrades>
1540: AuthType LONCAPA
1541: Require valid-user
1542: PerlAuthzHandler Apache::lonacc
1543: SetHandler perl-script
1544: PerlHandler Apache::lonquickgrades
1545: ErrorDocument 403 /adm/login
1546: ErrorDocument 406 /adm/roles
1547: ErrorDocument 500 /adm/errorhandler
1548: </Location>
1549:
1550: <Location /adm/groupsort>
1551: AuthType LONCAPA
1552: Require valid-user
1553: PerlAuthzHandler Apache::lonacc
1554: SetHandler perl-script
1555: PerlHandler Apache::groupsort
1556: PerlCleanupHandler Apache::groupsort::cleanup
1557: PerlCleanupHandler Apache::lonacc::cleanup
1558: ErrorDocument 403 /adm/login
1559: ErrorDocument 406 /adm/roles
1560: ErrorDocument 500 /adm/errorhandler
1561: </Location>
1562:
1563: <Location /adm/wishlist>
1564: AuthType LONCAPA
1565: Require valid-user
1566: PerlAuthzHandler Apache::lonacc
1567: SetHandler perl-script
1568: PerlHandler Apache::lonwishlistdisplay
1569: ErrorDocument 403 /adm/login
1570: ErrorDocument 406 /adm/roles
1571: ErrorDocument 500 /adm/errorhandler
1572: </Location>
1573:
1574: <Location /adm/setblock>
1575: AuthType LONCAPA
1576: Require valid-user
1577: PerlAuthzHandler Apache::lonacc
1578: SetHandler perl-script
1579: PerlHandler Apache::lonblockingmenu
1580: ErrorDocument 403 /adm/login
1581: ErrorDocument 406 /adm/roles
1582: ErrorDocument 500 /adm/errorhandler
1583: </Location>
1584:
1585: <Location /adm/blockingstatus>
1586: PerlAccessHandler Apache::publiccheck
1587: AuthType LONCAPA
1588: Require valid-user
1589: PerlAuthzHandler Apache::lonacc
1590: SetHandler perl-script
1591: PerlHandler Apache::lonblockingstatus
1592: </Location>
1593:
1594: <Location /adm/accesstimes>
1595: AuthType LONCAPA
1596: Require valid-user
1597: PerlAuthzHandler Apache::lonacc
1598: SetHandler perl-script
1599: PerlHandler Apache::lonaccesstimes
1600: ErrorDocument 403 /adm/login
1601: ErrorDocument 406 /adm/roles
1602: ErrorDocument 500 /adm/errorhandler
1603: </Location>
1604:
1605: <Location /adm/errorhandler>
1606: SetHandler perl-script
1607: PerlHandler Apache::lonerrorhandler
1608: </Location>
1609:
1610: <LocationMatch "^/adm/help/.*\.hlp$">
1611: AuthType LONCAPA
1612: Require valid-user
1613: PerlAccessHandler Apache::publiccheck
1614: PerlAuthzHandler Apache::lonacc
1615: SetHandler perl-script
1616: PerlHandler Apache::lonhelp
1617: ErrorDocument 500 /adm/errorhandler
1618: </LocationMatch>
1619:
1620: <LocationMatch "^/adm/helpmenu">
1621: AuthType LONCAPA
1622: Require valid-user
1623: PerlAuthzHandler Apache::lonacc
1624: SetHandler perl-script
1625: PerlHandler Apache::lonhelpmenu
1626: ErrorDocument 500 /adm/errorhandler
1627: </LocationMatch>
1628:
1629: <LocationMatch "^/adm/support">
1630: AuthType LONCAPA
1631: Require valid-user
1632: PerlAuthzHandler Apache::lonacc
1633: SetHandler perl-script
1634: PerlHandler Apache::lonsupportreq
1635: ErrorDocument 500 /adm/errorhandler
1636: </LocationMatch>
1637:
1638: <LocationMatch "^/adm/helpdesk">
1639: SetHandler perl-script
1640: PerlHandler Apache::lonsupportreq
1641: ErrorDocument 500 /adm/errorhandler
1642: </LocationMatch>
1643:
1644: <LocationMatch "^/adm/css/.*\.css$">
1645: SetHandler perl-script
1646: PerlHandler Apache::loncss
1647: ErrorDocument 500 /adm/errorhandler
1648: </LocationMatch>
1649:
1650: <LocationMatch "^/adm/coursecatalog">
1651: SetHandler perl-script
1652: PerlHandler Apache::coursecatalog
1653: ErrorDocument 500 /adm/errorhandler
1654: </LocationMatch>
1655:
1656: <LocationMatch "^/adm/resetpw">
1657: SetHandler perl-script
1658: PerlHandler Apache::resetpw
1659: ErrorDocument 500 /adm/errorhandler
1660: </LocationMatch>
1661:
1662: <LocationMatch "^/adm/selfenroll">
1663: SetHandler perl-script
1664: PerlHandler Apache::selfenroll
1665: ErrorDocument 500 /adm/errorhandler
1666: </LocationMatch>
1667:
1668: <LocationMatch "^/adm/createaccount">
1669: SetHandler perl-script
1670: PerlHandler Apache::createaccount
1671: ErrorDocument 500 /adm/errorhandler
1672: </LocationMatch>
1673:
1674: <LocationMatch "^/adm/dns">
1675: SetHandler perl-script
1676: PerlHandler Apache::londns
1677: ErrorDocument 500 /adm/errorhandler
1678: </LocationMatch>
1679:
1680: <LocationMatch "^/ajax/spellcheck">
1681: SetHandler perl-script
1682: PerlHandler Apache::spellcheck
1683: </LocationMatch>
1684:
1685: <LocationMatch "^/tiny/[\w.-]+/\w+$">
1686: AuthType LONCAPA
1687: Require valid-user
1688: PerlAuthzHandler Apache::lonacc
1689: SetHandler perl-script
1690: PerlHandler Apache::lontiny
1691: ErrorDocument 403 /adm/login
1692: ErrorDocument 406 /adm/roles
1693: ErrorDocument 500 /adm/errorhandler
1694: </LocationMatch>
1695:
1696: # ------------------------------------------------- Backdoor Adm Tests/Programs
1697:
1698: <Location /adm/test>
1699: PerlAccessHandler Apache::lonstatusacc
1700: SetHandler perl-script
1701: PerlHandler Apache::lontest
1702: </Location>
1703:
1704: # ------------------------------------------------------- Shutting down a child
1705:
1706: PerlChildExitHandler Apache::lonacc::goodbye
1707:
1708: #
1709: # LON-CAPA Section (extensions to access.conf permission configuration)
1710: #
1711: # =========================================================== Directory Options
1712:
1713: # Start out with "no"
1714:
1715: <Directory />
1716: Options None
1717: AllowOverride None
1718: <IfModule mod_authz_core.c>
1719: Require all denied
1720: </IfModule>
1721: <IfModule !mod_authz_core.c>
1722: order deny,allow
1723: deny from all
1724: </IfModule>
1725: </Directory>
1726:
1727: # Allow uploaded files to be served
1728:
1729: <Directory "/home/httpd/lonUsers">
1730: Options FollowSymLinks
1731: AllowOverride None
1732: <IfModule mod_authz_core.c>
1733: Require all granted
1734: </IfModule>
1735: <IfModule !mod_authz_core.c>
1736: order allow,deny
1737: allow from all
1738: </IfModule>
1739: </Directory>
1740:
1741: # Yes to symbolic links and server-side includes
1742:
1743: <Directory /home/httpd/html>
1744: Options FollowSymLinks
1745: AllowOverride None
1746: <IfModule mod_authz_core.c>
1747: Require all granted
1748: </IfModule>
1749: <IfModule !mod_authz_core.c>
1750: order allow,deny
1751: allow from all
1752: </IfModule>
1753: </Directory>
1754:
1755: # If it is in cgi-bin, then it can be executed as a CGI script.
1756:
1757: <Directory /home/httpd/cgi-bin>
1758: AllowOverride None
1759: Options ExecCGI FollowSymLinks
1760: <IfModule mod_authz_core.c>
1761: Require all granted
1762: </IfModule>
1763: <IfModule !mod_authz_core.c>
1764: order allow,deny
1765: allow from all
1766: </IfModule>
1767: </Directory>
1768:
1769: # Allow serving of files in prtspool
1770:
1771: <Directory "/home/httpd/prtspool/">
1772: Options FollowSymLinks
1773: AllowOverride None
1774: <IfModule mod_authz_core.c>
1775: Require all granted
1776: </IfModule>
1777: <IfModule !mod_authz_core.c>
1778: order allow,deny
1779: allow from all
1780: </IfModule>
1781: </Directory>
1782:
1783: # Allow serving of files in zipspool
1784:
1785: <Directory "/home/httpd/zipspool/">
1786: Options FollowSymLinks
1787: AllowOverride None
1788: <IfModule mod_authz_core.c>
1789: Require all granted
1790: </IfModule>
1791: <IfModule !mod_authz_core.c>
1792: order allow,deny
1793: allow from all
1794: </IfModule>
1795: </Directory>
1796:
1797: # Allow serving of files in captchaspool
1798:
1799: <Directory "/home/httpd/captchaspool/">
1800: Options FollowSymLinks
1801: AllowOverride None
1802: <IfModule mod_authz_core.c>
1803: Require all granted
1804: </IfModule>
1805: <IfModule !mod_authz_core.c>
1806: order allow,deny
1807: allow from all
1808: </IfModule>
1809: </Directory>
1810:
1811: <DirectoryMatch "^/home/httpd/html/priv/.+/">
1812: DirectoryIndex disabled
1813: </DirectoryMatch>
1814:
1815: <DirectoryMatch "^/home/httpd/html/res/.+/">
1816: DirectoryIndex disabled
1817: </DirectoryMatch>
1818:
1819: # ============================================================= Access Handlers
1820:
1821: # ------------------------------------------------- Allow server-status reports
1822: <Location /server-status>
1823: PerlAccessHandler Apache::lonstatusacc
1824: SetHandler server-status
1825: </Location>
1826:
1827: # ------------------------ Allow LON-CAPA "low-level" connection status reports
1828: <LocationMatch "^/+lon-status/.*">
1829: PerlAccessHandler Apache::lonstatusacc
1830: ErrorDocument 406 /adm/roles
1831: ErrorDocument 500 /adm/errorhandler
1832: </LocationMatch>
1833:
1834: # ------------------- Allow access to local system documentation from localhost
1835: Alias /doc /usr/doc
1836: <Directory /usr/doc>
1837: Options Indexes FollowSymLinks
1838: <IfModule mod_authz_host.c>
1839: Require local
1840: </IfModule>
1841: <IfModule !mod_authz_host.c>
1842: order deny,allow
1843: deny from all
1844: allow from localhost
1845: </IfModule>
1846: </Directory>
1847:
1848: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
1849: # ====================================== Internal Settings / Perl Configuration
1850:
1851: PerlSetVar lonVersion '<!-- VERSION -->'
1852: PerlSetVar lonIDsDir /home/httpd/lonIDs
1853: PerlSetVar lonBalanceDir /home/httpd/balanceIDs
1854: PerlSetVar lonDAVsessDir /home/httpd/webdav/sessionIDs
1855: PerlSetVar lonTabDir /home/httpd/lonTabs
1856: PerlSetVar lonUsersDir /home/httpd/lonUsers
1857: PerlSetVar lonIconsURL /adm/lonIcons
1858: PerlSetVar londPort 5663
1859: PerlSetVar lonSysEMail techsupport@loncapa.org
1860: PerlSetVar lonDaemons /home/httpd/perl
1861: PerlSetVar lonLib /home/httpd/lib
1862: PerlSetVar lonSockDir /home/httpd/sockets
1863: PerlSetVar lonSockCreate /home/httpd/sockets/common
1864: PerlSetVar lonDocRoot /home/httpd/html
1865: PerlSetVar lonPrtDir /home/httpd/prtspool
1866: PerlSetVar lonIncludes /home/httpd/html/res/adm/includes
1867: PerlSetVar lonZipDir /home/httpd/zipspool
1868: PerlSetVar lonCaptchaDir /home/httpd/captchaspool
1869: PerlSetVar lonCaptchaDb /home/httpd/captchadb
1870: PerlSetVar lonLTIDir /home/httpd/lonLTItmp
1871: PerlSetVar ltiIDsDir /home/httpd/ltiIDs
1872: PerlSetVar lonFontsDir /home/httpd/html/adm/fonts
1873: # & separated list of % separated fields in order of
1874: # - internal name to call it,
1875: # - regexp that it should match (done case-insensitively)
1876: # - regexp that is should not match (done case-insensitively)
1877: # - regexp that will pull out the version number into $1
1878: # - a number that describes the minimum version that has mathml support
1879: # - a number that describes the minimum number version that has unicode support
1880:
1881: PerlSetVar lonBrowsDet explorer%msie%netscape%msie\s(\d+\.\d+)\;%9999%5&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&chrome%chrome%chromeframe%\s+chrome\/(\d+\.\d+)%9999%1&explorer%\s+rv\:\d+\.\d+%firefox%\s+rv\:(\d+\.\d+)%9999%5&opera%\sOPR\/\d+\.\d+%shouldnotmatch%\sOPR\/(\d+\.\d+)%9999%6&opera%^Opera\/9.80\s.+Version\/\d+\.\d+$%shouldnotmatch%Version\/(\d+\.\d+)$%9999%6&opera%^Opera\/\d+\.\d+\s%Version\/\d+\.\d+$%^Opera\/(\d+\.\d+)\s%9999%6
1882:
1883: PerlSetVar lonTextBrowsers windows\s+ce:lynx
1884: PerlSetVar lonScansDir /home/httpd/scantron
1885: PerlSetVar lonScriptTimeout 10
1886: PerlSetVar BugzillaHost https://bugs.loncapa.org/
1887: PerlSetVar FAQHost http://help.lon-capa.org/
1888: # -----------------------------------------------------------------------------
1889: # NOTE: lonSqlAccess key is the password for the MySQL user
1890: # www@localhost. This value must always be "localhostkey".
1891: # The only security risk occurs when somebody logs in as 'www' on your system
1892: # (in which case you have much bigger problems than whether or not they
1893: # can access the non-authoritative loncapa database on your machine).
1894:
1895: PerlSetVar lonSqlAccess localhostkey
1896:
1897: #----------------------------------------------------------------------------
1898: #
1899: # Parameters used by secure lond/lonc
1900:
1901: #
1902: # Secure lond/lonc require ssl certificate and private
1903: # key files to function correctly. The certificate
1904: # files need not be terribly secure, but the private key files
1905: # should be set up so that only www (the lonc/lond effective user)
1906: # can read them.
1907: #
1908: # The definition below is the full path to the directory that
1909: # contains the certificate and key files:
1910:
1911: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
1912:
1913: #
1914: # Secure lond/lonc require two certificates and a private host key.
1915: # The certificates required are that of the lonCAPA certificate authority
1916: # and the certificate that authority issued to this host.
1917: # lonnetCertificateAuthority is the name of the file that contains the
1918: # lonCAPA certificate authority's certificate.
1919: # lonnetCertificate is the name of the file that contains the certificate
1920: # issued to the host by the certificate authority.
1921: # Both of these variables are names of files assumed to be in
1922: # lonCertificateDirectory:
1923:
1924: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
1925: PerlSetVar lonnetCertificate lonhostcert.pem
1926: PerlSetVar lonnetHostnameCertificate lonhostnamecert.pem
1927: PerlSetVar lonnetCertRevocationList loncapaCAcrl.pem
1928:
1929: #
1930: # To generate the request for a certificate, and to negotiate the
1931: # initial ssl connection, the host requires a private key. This key
1932: # is created at lonCAPA install time. Did we mention above that it
1933: # should be set so that only www can read it? The variale below
1934: # is the name of the file relative to lonnetCertificateDirectory
1935: # that has the host's private key. Did we remember to tell you to
1936: # keep the permissions on that file set to rw------- (0600)?
1937: #
1938:
1939: PerlSetVar lonnetPrivateKey lonKey.pem
1940:
1941: # Did we mention that the file described above must have
1942: # permissions really locked down so that it can't be stolen?
1943:
1944: #-------------------------------------------------------------------------
1945:
1946: # Parameters that define where all the ssl stuff is that's needed
1947: # to generate certificate requests and, on a system that's a CA
1948: # the certificate authority.
1949: #
1950: # SSLProgram -> Path to the openssl command
1951: # SSLDirectory -> Directory containing ssl configuration files etc.
1952: # SSLCAConfig -> Name of the SSL config file for the certificate
1953: # Authority.
1954: # SSLCAFile -> Full path to the Certificate authority file
1955: # (on the cert manager system).
1956: # SSLEmail -> E-mail address of loncapa certificate manager.
1957: # The following are good for the loncapa redhat installs and
1958: # the loncapa certificate authority system:
1959: #
1960: PerlSetVar SSLProgram /usr/bin/openssl
1961: PerlSetVar SSLDirectory /usr/share/ssl
1962: PerlSetVar SSLCAConfig loncapaca
1963: PerlSetVar SSLCAFile /usr/share/ssl/loncapaca/cacert.pem
1964: PerlSetVar SSLEmail certificate@lon-capa.org
1965:
1966: #-------------------------------------------------------------------------
1967:
1968:
1969: # ====================================== Include support for SSL rewrites
1970:
1971: Include conf/loncapa_rewrite.conf
1972:
1973:
1974: # ====================================== Include machine-specific configuration
1975:
1976: Include conf/loncapa.conf
1977:
1978: # ================================================= Include local configuration
1979:
1980: Include conf/loncapa_apache_local*.conf
1981:
1982: # ================================================== Initiate mod_perl starting
1983:
1984: PerlRequire conf/startup.pl
1985: <IfDefine !MODPERL2>
1986: PerlFreshRestart On
1987: </IfDefine>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>