Annotation of loncom/loncapa_apache.conf, revision 1.50
1.1 harris41 1: ##
2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
3: ##
1.50 ! www 4: ## $Id: loncapa_apache.conf,v 1.49 2003/05/12 23:44:43 www Exp $
1.1 harris41 5: ##
6:
7: #
8: # LON-CAPA Section (extensions to httpd.conf daemon configuration)
9: #
1.8 harris41 10: # ================================================================ DocumentRoot
1.1 harris41 11:
12: DocumentRoot "/home/httpd/html"
13:
14: # ======================================================================== User
15:
16: User www
17: Group www
18:
19: # ======================================================= Shared Object Modules
20:
1.47 albertel 21: LoadModule perl_module modules/mod_perl.so
22: <IfDefine !MODPERL2>
1.1 harris41 23: AddModule mod_perl.c
1.47 albertel 24: </IfDefine>
1.1 harris41 25:
26: # =============================================================== Miscellaneous
27:
28: ServerAdmin korte@lite.msu.edu
29: ExtendedStatus On
30: #
31: # LON-CAPA Section (extensions to srm.conf name space servicing)
32: #
33: # ===================================================================== Aliases
34:
35: Alias /prtspool/ /home/httpd/prtspool/
1.8 harris41 36: ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
1.1 harris41 37:
38: # ================================================================= Directories
39:
40: # ------------------------------------------------------------- Access Handlers
41:
1.12 www 42: PerlTransHandler Apache::lontrans
43:
1.45 albertel 44: #PerlWarn On
1.21 www 45: <LocationMatch "^/+res.*">
1.1 harris41 46: PerlAccessHandler Apache::lonacc
47: PerlHeaderParserHandler Apache::lonrep
48: ErrorDocument 403 /adm/login
49: ErrorDocument 404 /adm/notfound.html
50: ErrorDocument 406 /adm/roles
1.11 www 51: ErrorDocument 500 /adm/errorhandler
52: </LocationMatch>
53:
1.21 www 54: <LocationMatch "^/+userfiles.*">
1.11 www 55: PerlAccessHandler Apache::lontokacc
1.12 www 56: </LocationMatch>
57:
1.21 www 58: <LocationMatch "^/+uploaded.*">
1.12 www 59: PerlAccessHandler Apache::lonuploadedacc
1.16 www 60: ErrorDocument 404 /adm/notfound.html
61: ErrorDocument 500 /adm/errorhandler
62: </LocationMatch>
63:
1.44 www 64: <LocationMatch "^/+public/.*/syllabus$">
1.17 www 65: PerlAccessHandler Apache::lonacc
1.16 www 66: SetHandler perl-script
67: PerlHandler Apache::lonsyllabus
68: ErrorDocument 404 /adm/notfound.html
69: ErrorDocument 500 /adm/errorhandler
70: </LocationMatch>
71:
1.44 www 72: <LocationMatch "^/adm/.*/aboutme$">
1.17 www 73: PerlAccessHandler Apache::lonacc
1.16 www 74: SetHandler perl-script
75: PerlHandler Apache::lonaboutme
1.19 www 76: ErrorDocument 404 /adm/notfound.html
77: ErrorDocument 500 /adm/errorhandler
78: </LocationMatch>
79:
1.44 www 80: <LocationMatch "^/adm/.*/smppg$">
1.19 www 81: PerlAccessHandler Apache::lonacc
82: SetHandler perl-script
83: PerlHandler Apache::lonsimplepage
84: ErrorDocument 404 /adm/notfound.html
85: ErrorDocument 500 /adm/errorhandler
86: </LocationMatch>
87:
1.44 www 88: <LocationMatch "^/adm/.*/bulletinboard$">
1.19 www 89: PerlAccessHandler Apache::lonacc
90: SetHandler perl-script
91: PerlHandler Apache::lonbulletin
1.11 www 92: ErrorDocument 404 /adm/notfound.html
1.1 harris41 93: ErrorDocument 500 /adm/errorhandler
94: </LocationMatch>
95:
1.21 www 96: <LocationMatch "^/+priv.*">
1.1 harris41 97: PerlAccessHandler Apache::loncacc
98: SetHandler perl-script
99: PerlHandler Apache::lonconstruct
100: ErrorDocument 403 /adm/login
101: ErrorDocument 404 /adm/notfound.html
1.18 www 102: ErrorDocument 406 /adm/unauthorized
1.1 harris41 103: ErrorDocument 500 /adm/errorhandler
104: </LocationMatch>
105:
1.21 www 106: <LocationMatch "^/+raw.*">
1.1 harris41 107: PerlAccessHandler Apache::lonracc
108: </LocationMatch>
109:
1.21 www 110: <LocationMatch "^/+\~.*">
1.1 harris41 111: PerlAccessHandler Apache::loncacc
112: ErrorDocument 403 /adm/login
113: ErrorDocument 404 /adm/notfound.html
1.18 www 114: ErrorDocument 406 /adm/unauthorized
1.1 harris41 115: ErrorDocument 500 /adm/errorhandler
116: AllowOverride None
117: </LocationMatch>
118:
1.41 bowersj2 119: <LocationMatch "^/adm/helper/.*\.helper$">
120: PerlAccessHandler Apache::lonacc
121: SetHandler perl-script
122: PerlHandler Apache::lonhelper
123: ErrorDocument 403 /adm/login
124: ErrorDocument 404 /adm/notfound.html
125: ErrorDocument 406 /adm/unauthorized
126: ErrorDocument 500 /adm/errorhandler
127: </LocationMatch>
128:
1.23 albertel 129: <LocationMatch "/prtspool">
130: PerlAccessHandler Apache::lonacc
131: ErrorDocument 403 /adm/login
132: ErrorDocument 404 /adm/notfound.html
133: ErrorDocument 406 /adm/roles
134: ErrorDocument 500 /adm/errorhandler
135: </LocationMatch>
1.1 harris41 136: # ------------------------------------------------------------------------- RAT
137:
138: <LocationMatch "^/\~.*\.sequence$">
139: SetHandler perl-script
140: PerlHandler Apache::lonratedt
141: </LocationMatch>
142:
143: <LocationMatch "^/\~.*\.page$">
144: SetHandler perl-script
145: PerlHandler Apache::lonratedt
146: </LocationMatch>
147:
148: <LocationMatch "^/\~.*\/ratserver$">
149: SetHandler perl-script
150: PerlHandler Apache::lonratsrv
151: </LocationMatch>
152:
153: <Location /adm/ratparms>
154: PerlAccessHandler Apache::lonacc
155: SetHandler perl-script
156: PerlHandler Apache::lonratparms
157: ErrorDocument 403 /adm/login
158: ErrorDocument 500 /adm/errorhandler
159: </Location>
160:
161: # --------------------------------------------- Resource Space Content Handlers
162:
163: <LocationMatch "^/res.*/$">
164: SetHandler perl-script
165: PerlHandler Apache::lonindexer
1.29 www 166: PerlCleanupHandler Apache::lonindexer::cleanup
1.1 harris41 167: </LocationMatch>
168:
169: <LocationMatch "^/(res|\~).*\.tex$">
170: SetHandler perl-script
171: PerlHandler Apache::lontex
172: </LocationMatch>
173:
174: <LocationMatch "^/res/.*\.page$>
175: SetHandler perl-script
176: PerlHandler Apache::lonpage
177: </LocationMatch>
178:
179: <LocationMatch "^/res/.*\.sequence$>
180: SetHandler perl-script
181: PerlHandler Apache::lonsequence
182: </LocationMatch>
183:
1.46 www 184: <LocationMatch "^/(res|\~|public|uploaded|adm).*\.meta$>
1.1 harris41 185: SetHandler perl-script
186: PerlHandler Apache::lonmeta
1.39 www 187: </LocationMatch>
188:
189: <LocationMatch "^/(res|\~).*\.rights$>
190: SetHandler perl-script
191: PerlHandler Apache::lonrights
1.1 harris41 192: </LocationMatch>
193:
1.49 www 194: <LocationMatch "^/(res|\~).*\.(xml|html|htm|xhtml|xhtm)$">
1.1 harris41 195: SetHandler perl-script
196: PerlHandler Apache::lonxml
197: </LocationMatch>
198:
1.50 ! www 199: <LocationMatch "^/(res|\~).*\.(problem|exam|quiz|assess|survey|form|library)$">
1.1 harris41 200: SetHandler perl-script
201: PerlHandler Apache::lonhomework
202: </LocationMatch>
203:
204: <LocationMatch "^/adm/wrapper/">
205: PerlAccessHandler Apache::lonacc
206: SetHandler perl-script
207: PerlHandler Apache::lonwrapper
1.50 ! www 208: ErrorDocument 403 /adm/login
! 209: ErrorDocument 500 /adm/errorhandler
! 210: </LocationMatch>
! 211:
! 212: <LocationMatch "^/adm/smpprob/">
! 213: PerlAccessHandler Apache::lonacc
! 214: SetHandler perl-script
! 215: PerlHandler Apache::lonsimpleproblem
1.1 harris41 216: ErrorDocument 403 /adm/login
217: ErrorDocument 500 /adm/errorhandler
218: </LocationMatch>
219:
220: # -------------------------------------------------------------- Admin Programs
1.24 albertel 221:
222: <Location /adm/randomlabel.png>
223: PerlAccessHandler Apache::lonacc
224: SetHandler perl-script
225: PerlHandler Apache::randomlylabel
226: ErrorDocument 403 /adm/login
227: ErrorDocument 500 /adm/errorhandler
228: </Location>
1.1 harris41 229:
230: <Location /adm/statistics>
231: PerlAccessHandler Apache::lonacc
232: SetHandler perl-script
233: PerlHandler Apache::lonstatistics
234: ErrorDocument 403 /adm/login
1.20 www 235: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 236: ErrorDocument 500 /adm/errorhandler
237: </Location>
238:
239: <Location /adm/roles>
240: PerlAccessHandler Apache::lonacc
241: SetHandler perl-script
242: PerlHandler Apache::lonroles
1.33 www 243: ErrorDocument 403 /adm/login
244: ErrorDocument 500 /adm/errorhandler
245: </Location>
246:
247: <Location /adm/menu>
248: PerlAccessHandler Apache::lonacc
249: SetHandler perl-script
250: PerlHandler Apache::lonmenu
1.42 www 251: ErrorDocument 403 /adm/login
252: ErrorDocument 500 /adm/errorhandler
253: </Location>
254:
255: <Location /adm/remote>
256: PerlAccessHandler Apache::lonacc
257: SetHandler perl-script
258: PerlHandler Apache::lonremote
1.27 www 259: ErrorDocument 403 /adm/login
260: ErrorDocument 500 /adm/errorhandler
261: </Location>
262:
263: <Location /adm/pickstudent>
264: PerlAccessHandler Apache::lonacc
265: SetHandler perl-script
266: PerlHandler Apache::lonpickstudent
1.40 www 267: ErrorDocument 403 /adm/login
268: ErrorDocument 500 /adm/errorhandler
269: </Location>
270:
271: <Location /adm/pickcourse>
272: PerlAccessHandler Apache::lonacc
273: SetHandler perl-script
274: PerlHandler Apache::lonpickcourse
1.1 harris41 275: ErrorDocument 403 /adm/login
276: ErrorDocument 500 /adm/errorhandler
277: </Location>
278:
279: <Location /adm/login>
280: SetHandler perl-script
281: PerlHandler Apache::lonlogin
282: </Location>
283:
284: <Location /adm/logout>
285: PerlAccessHandler Apache::lonacc
286: SetHandler perl-script
287: PerlHandler Apache::lonlogout
288: ErrorDocument 403 /adm/login
289: </Location>
290:
291: <Location /adm/authenticate>
292: SetHandler perl-script
293: PerlHandler Apache::lonauth
294: </Location>
295:
296: <Location /adm/annotations>
297: PerlAccessHandler Apache::lonacc
298: SetHandler perl-script
299: PerlHandler Apache::admannotations
300: ErrorDocument 403 /adm/login
301: ErrorDocument 500 /adm/errorhandler
302: </Location>
303:
304: <Location /adm/bookmarks>
305: PerlAccessHandler Apache::lonacc
306: SetHandler perl-script
307: PerlHandler Apache::admbookmarks
308: ErrorDocument 403 /adm/login
309: ErrorDocument 500 /adm/errorhandler
310: </Location>
311:
312: <Location /adm/flip>
313: PerlAccessHandler Apache::lonacc
314: SetHandler perl-script
315: PerlHandler Apache::lonpageflip
1.30 www 316: PerlCleanupHandler Apache::lonpageflip::cleanup
1.1 harris41 317: ErrorDocument 406 /adm/roles
318: ErrorDocument 403 /adm/login
319: ErrorDocument 500 /adm/errorhandler
320: </Location>
321:
322: <Location /adm/ambiguous>
323: PerlAccessHandler Apache::lonacc
324: SetHandler perl-script
325: PerlHandler Apache::lonambiguous
1.30 www 326: PerlCleanupHandler Apache::lonambiguous::cleanup
1.1 harris41 327: ErrorDocument 403 /adm/login
328: ErrorDocument 500 /adm/errorhandler
329: </Location>
330:
331: <Location /adm/email>
332: PerlAccessHandler Apache::lonacc
333: SetHandler perl-script
334: PerlHandler Apache::lonmsg
335: ErrorDocument 403 /adm/login
336: ErrorDocument 500 /adm/errorhandler
337: </Location>
338:
339: <Location /adm/parmset>
340: PerlAccessHandler Apache::lonacc
341: SetHandler perl-script
342: PerlHandler Apache::lonparmset
1.31 bowersj2 343: ErrorDocument 403 /adm/login
344: ErrorDocument 406 /adm/roles
345: ErrorDocument 500 /adm/errorhandler
346: </Location>
347:
348: <Location /adm/wizard>
349: PerlAccessHandler Apache::lonacc
350: SetHandler perl-script
351: PerlHandler Apache::lonwizard
1.1 harris41 352: ErrorDocument 403 /adm/login
353: ErrorDocument 406 /adm/roles
354: ErrorDocument 500 /adm/errorhandler
355: </Location>
356:
357: <Location /adm/grades>
358: PerlAccessHandler Apache::lonacc
359: SetHandler perl-script
360: PerlHandler Apache::grades
361: ErrorDocument 403 /adm/login
362: ErrorDocument 406 /adm/roles
363: ErrorDocument 500 /adm/errorhandler
364: </Location>
365:
366: <Location /adm/createcourse>
367: PerlAccessHandler Apache::lonacc
368: SetHandler perl-script
369: PerlHandler Apache::loncreatecourse
370: ErrorDocument 403 /adm/login
371: ErrorDocument 406 /adm/roles
372: ErrorDocument 500 /adm/errorhandler
373: </Location>
374:
375: <Location /adm/createuser>
376: PerlAccessHandler Apache::lonacc
377: SetHandler perl-script
378: PerlHandler Apache::loncreateuser
379: ErrorDocument 403 /adm/login
380: ErrorDocument 406 /adm/roles
381: ErrorDocument 500 /adm/errorhandler
382: </Location>
383:
384: <Location /adm/publish>
385: PerlAccessHandler Apache::lonacc
386: SetHandler perl-script
387: PerlHandler Apache::lonpublisher
388: ErrorDocument 403 /adm/login
389: ErrorDocument 404 /adm/notfound.html
1.18 www 390: ErrorDocument 406 /adm/unauthorized
1.1 harris41 391: ErrorDocument 500 /adm/errorhandler
392: </Location>
393:
394: <LocationMatch "^/\~.*/$">
395: PerlAccessHandler Apache::loncacc
396: SetHandler perl-script
397: PerlHandler Apache::lonpubdir
398: ErrorDocument 403 /adm/login
399: ErrorDocument 404 /adm/notfound.html
1.18 www 400: ErrorDocument 406 /adm/unauthorized
1.1 harris41 401: ErrorDocument 500 /adm/errorhandler
402: </LocationMatch>
403:
404: <Location /adm/pubdir>
405: PerlAccessHandler Apache::lonacc
406: SetHandler perl-script
407: PerlHandler Apache::lonpubdir
408: ErrorDocument 403 /adm/login
409: ErrorDocument 404 /adm/notfound.html
1.18 www 410: ErrorDocument 406 /adm/unauthorized
411: ErrorDocument 500 /adm/errorhandler
412: </Location>
413:
414: <Location /adm/unauthorized>
415: PerlAccessHandler Apache::lonacc
416: SetHandler perl-script
417: PerlHandler Apache::lonunauthorized
418: ErrorDocument 403 /adm/login
419: ErrorDocument 404 /adm/notfound.html
1.1 harris41 420: ErrorDocument 500 /adm/errorhandler
421: </Location>
422:
423: <Location /adm/retrieve>
424: PerlAccessHandler Apache::lonacc
425: SetHandler perl-script
426: PerlHandler Apache::lonretrieve
427: ErrorDocument 403 /adm/login
428: ErrorDocument 404 /adm/notfound.html
1.18 www 429: ErrorDocument 406 /adm/unauthorized
1.1 harris41 430: ErrorDocument 500 /adm/errorhandler
431: </Location>
432:
433: <Location /adm/cfile>
434: PerlAccessHandler Apache::lonacc
435: SetHandler perl-script
436: PerlHandler Apache::loncfile
437: ErrorDocument 403 /adm/login
438: ErrorDocument 404 /adm/notfound.html
1.18 www 439: ErrorDocument 406 /adm/unauthorized
1.1 harris41 440: ErrorDocument 500 /adm/errorhandler
441: </Location>
442:
443: <Location /adm/diff>
444: PerlAccessHandler Apache::lonacc
445: SetHandler perl-script
446: PerlHandler Apache::londiff
447: ErrorDocument 403 /adm/login
448: ErrorDocument 404 /adm/notfound.html
1.18 www 449: ErrorDocument 406 /adm/unauthorized
1.1 harris41 450: ErrorDocument 500 /adm/errorhandler
451: </Location>
452:
453: <Location /adm/upload>
454: PerlAccessHandler Apache::lonacc
455: SetHandler perl-script
456: PerlHandler Apache::lonupload
457: ErrorDocument 403 /adm/login
458: ErrorDocument 404 /adm/notfound.html
1.18 www 459: ErrorDocument 406 /adm/unauthorized
1.1 harris41 460: ErrorDocument 500 /adm/errorhandler
461: </Location>
462:
463: <Location /adm/assesscalc>
464: PerlAccessHandler Apache::lonacc
465: SetHandler perl-script
466: PerlHandler Apache::lonspreadsheet
467: ErrorDocument 403 /adm/login
468: ErrorDocument 406 /adm/roles
1.20 www 469: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 470: ErrorDocument 500 /adm/errorhandler
471: </Location>
472:
473: <Location /adm/studentcalc>
474: PerlAccessHandler Apache::lonacc
475: SetHandler perl-script
476: PerlHandler Apache::lonspreadsheet
477: ErrorDocument 403 /adm/login
478: ErrorDocument 406 /adm/roles
1.20 www 479: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 480: ErrorDocument 500 /adm/errorhandler
481: </Location>
482:
483: <Location /adm/classcalc>
484: PerlAccessHandler Apache::lonacc
485: SetHandler perl-script
486: PerlHandler Apache::lonspreadsheet
487: ErrorDocument 403 /adm/login
488: ErrorDocument 406 /adm/roles
1.20 www 489: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 490: ErrorDocument 500 /adm/errorhandler
491: </Location>
492:
493: <Location /adm/dropadd>
494: PerlAccessHandler Apache::lonacc
495: SetHandler perl-script
496: PerlHandler Apache::londropadd
1.44 www 497: ErrorDocument 403 /adm/login
498: ErrorDocument 406 /adm/roles
499: ErrorDocument 500 /adm/errorhandler
500: </Location>
501:
502: <Location /adm/managekeys>
503: PerlAccessHandler Apache::lonacc
504: SetHandler perl-script
505: PerlHandler Apache::lonmanagekeys
1.1 harris41 506: ErrorDocument 403 /adm/login
507: ErrorDocument 406 /adm/roles
508: ErrorDocument 500 /adm/errorhandler
509: </Location>
510:
511: <Location /adm/printout>
512: PerlAccessHandler Apache::lonacc
513: SetHandler perl-script
514: PerlHandler Apache::lonprintout
515: ErrorDocument 403 /adm/login
1.20 www 516: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 517: ErrorDocument 500 /adm/errorhandler
518: </Location>
519:
520: <Location /adm/feedback>
521: PerlAccessHandler Apache::lonacc
522: SetHandler perl-script
523: PerlHandler Apache::lonfeedback
1.10 www 524: ErrorDocument 403 /adm/login
525: ErrorDocument 500 /adm/errorhandler
526: </Location>
527:
528: <Location /adm/coursedocs>
529: PerlAccessHandler Apache::lonacc
530: SetHandler perl-script
1.38 www 531: PerlCleanupHandler Apache::coursedocs::untiehash
1.10 www 532: PerlHandler Apache::londocs
533: ErrorDocument 403 /adm/login
534: ErrorDocument 500 /adm/errorhandler
535: </Location>
536:
537: <Location /adm/announcements>
538: PerlAccessHandler Apache::lonacc
539: SetHandler perl-script
540: PerlHandler Apache::lonannounce
541: ErrorDocument 403 /adm/login
542: ErrorDocument 500 /adm/errorhandler
543: </Location>
544:
545: <Location /adm/chat>
546: PerlAccessHandler Apache::lonacc
547: SetHandler perl-script
548: PerlHandler Apache::lonchat
1.13 www 549: ErrorDocument 500 /adm/errorhandler
550: </Location>
551:
552: <Location /adm/chatfetch>
553: PerlAccessHandler Apache::lonacc
554: SetHandler perl-script
555: PerlHandler Apache::lonchatfetch
1.20 www 556: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 557: ErrorDocument 500 /adm/errorhandler
558: </Location>
559:
560: <Location /adm/evaluate>
561: PerlAccessHandler Apache::lonacc
562: SetHandler perl-script
563: PerlHandler Apache::lonevaluate
564: ErrorDocument 403 /adm/login
565: ErrorDocument 500 /adm/errorhandler
566: </Location>
567:
568: <Location /adm/preferences>
569: PerlAccessHandler Apache::lonacc
570: SetHandler perl-script
571: PerlHandler Apache::lonpreferences
572: ErrorDocument 403 /adm/login
573: ErrorDocument 500 /adm/errorhandler
574: </Location>
575:
576: <Location /adm/assignments>
577: PerlAccessHandler Apache::lonacc
578: SetHandler perl-script
579: PerlHandler Apache::lonassignments
580: ErrorDocument 403 /adm/login
581: ErrorDocument 406 /adm/roles
582: ErrorDocument 500 /adm/errorhandler
583: </Location>
584:
585: <Location /adm/communicate>
586: PerlAccessHandler Apache::lonacc
587: SetHandler perl-script
588: PerlHandler Apache::loncommunicate
589: ErrorDocument 403 /adm/login
590: ErrorDocument 500 /adm/errorhandler
591: </Location>
592:
593: <Location /adm/searchcat>
594: PerlAccessHandler Apache::lonacc
595: SetHandler perl-script
596: PerlHandler Apache::lonsearchcat
1.28 www 597: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.1 harris41 598: ErrorDocument 403 /adm/login
1.20 www 599: ErrorDocument 413 /adm/overloaded.txt
1.1 harris41 600: ErrorDocument 500 /adm/errorhandler
601: </Location>
602:
603: <Location /adm/navmaps>
604: PerlAccessHandler Apache::lonacc
605: SetHandler perl-script
606: PerlHandler Apache::lonnavmaps
607: ErrorDocument 403 /adm/login
608: ErrorDocument 406 /adm/roles
609: ErrorDocument 500 /adm/errorhandler
1.26 bowersj2 610: </Location>
611:
612: <Location /adm/quickgrades>
613: PerlAccessHandler Apache::lonacc
614: SetHandler perl-script
615: PerlHandler Apache::lonquickgrades
616: ErrorDocument 403 /adm/login
617: ErrorDocument 406 /adm/roles
618: ErrorDocument 500 /adm/errorhandler
1.1 harris41 619: </Location>
620:
621: <Location /adm/groupsort>
622: PerlAccessHandler Apache::lonacc
623: SetHandler perl-script
624: PerlHandler Apache::groupsort
1.29 www 625: PerlCleanupHandler Apache::groupsort::cleanup
1.1 harris41 626: ErrorDocument 403 /adm/login
627: ErrorDocument 500 /adm/errorhandler
628: </Location>
629:
630: <Location /adm/errorhandler>
631: SetHandler perl-script
632: PerlHandler Apache::lonerrorhandler
633: </Location>
634:
1.7 bowersj2 635: <LocationMatch "^/adm/help/.*\.hlp$">
636: SetHandler perl-script
637: PerlHandler Apache::lonhelp
638: </LocationMatch>
639:
1.1 harris41 640: # ------------------------------------------------- Backdoor Adm Tests/Programs
641:
642: <Location /cgi-bin/loncron.pl>
1.37 www 643: AuthName "LON-CAPA Network Administration"
644: AuthType Basic
645: AuthUserFile /home/httpd/lonTabs/htpasswd
646: require user lonadm
647: </Location>
648:
649: <Location /cgi-bin/userstatus.pl>
1.1 harris41 650: AuthName "LON-CAPA Network Administration"
651: AuthType Basic
652: AuthUserFile /home/httpd/lonTabs/htpasswd
653: require user lonadm
654: </Location>
655:
656: <Location /cgi-bin/lonversions.pl>
657: AuthName "LON-CAPA Network Administration"
658: AuthType Basic
659: AuthUserFile /home/httpd/lonTabs/htpasswd
660: require user lonadm
661: </Location>
662:
663: <Location /cgi-bin/clusterstatus.pl>
664: AuthName "LON-CAPA Network Administration"
665: AuthType Basic
666: AuthUserFile /home/httpd/lonTabs/htpasswd
667: require user lonadm
668: </Location>
669:
670: <Location /cgi-bin/metadata_keywords.pl>
671: AuthName "LON-CAPA Network Administration"
672: AuthType Basic
673: AuthUserFile /home/httpd/lonTabs/htpasswd
674: require user lonadm
1.22 www 675: </Location>
676:
677: <Location /cgi-bin/metadata_harvest.pl>
678: AuthName "harvest"
679: AuthType Basic
680: AuthUserFile /home/httpd/lonTabs/htpasswd
681: require user reaper
1.1 harris41 682: </Location>
683:
684: <Location /adm/test>
685: AuthName "LON-CAPA Network Administration"
686: AuthType Basic
687: AuthUserFile /home/httpd/lonTabs/htpasswd
688: require user lonadm
689: SetHandler perl-script
690: PerlAccessHandler Apache::lonacc
691: PerlHandler Apache::lontest
692: </Location>
693:
694: # ------------------------------------------------------- Shutting down a child
695:
696: PerlChildExitHandler Apache::lonnet::goodbye
697:
698: #
699: # LON-CAPA Section (extensions to access.conf permission configuration)
700: #
701: # =========================================================== Directory Options
702:
703: # Start out with "no"
704:
705: <Directory />
706: Options None
707: AllowOverride None
708: </Directory>
709:
710: # Yes to symbolic links and server-side includes
711:
712: <Directory /home/httpd/html>
713: Options Includes FollowSymLinks
714: AllowOverride None
715: order allow,deny
716: allow from all
717: </Directory>
718:
719: # If it is in cgi-bin, then it can be executed as a CGI script.
720:
721: <Directory /home/httpd/cgi-bin>
722: AllowOverride None
723: Options ExecCGI
724: </Directory>
725:
726: # ============================================================= Access Handlers
727:
728: # ------------------------------------------------- Allow server-status reports
729: <Location /server-status>
730: SetHandler server-status
731: AuthName "LON-CAPA Network Administration"
732: AuthType Basic
733: AuthUserFile /home/httpd/lonTabs/htpasswd
734: require user lonadm
735: </Location>
736:
737: # ------------------------ Allow LON-CAPA "low-level" connection status reports
738: <Location /lon-status>
739: AuthName "LON-CAPA Network Administration"
740: AuthType Basic
741: AuthUserFile /home/httpd/lonTabs/htpasswd
742: require user lonadm
743: </Location>
744:
745: # ------------------- Allow access to local system documentation from localhost
746: Alias /doc /usr/doc
747: <Directory /usr/doc>
748: order deny,allow
749: deny from all
750: allow from localhost
751: Options Indexes FollowSymLinks
752: </Directory>
753:
754: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
755: # ====================================== Internal Settings / Perl Configuration
756:
757: PerlSetVar lonIDsDir /home/httpd/lonIDs
758: PerlSetVar lonTabDir /home/httpd/lonTabs
759: PerlSetVar lonUsersDir /home/httpd/lonUsers
760: PerlSetVar lonIconsURL /adm/lonIcons
761: PerlSetVar londPort 5663
762: PerlSetVar lonSysEMail korte@lite.msu.edu
763: PerlSetVar lonDaemons /home/httpd/perl
764: PerlSetVar lonSockDir /home/httpd/sockets
765: PerlSetVar lonDocRoot /home/httpd/html
766: PerlSetVar lonIncludes /home/httpd/html/res/adm/includes
1.25 albertel 767: PerlSetVar lonBrowsDet netscape:mozilla:msie:mozilla\/(\d+\.\d+)\s:9999:9999&explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999:1&amaya:amaya:mozilla:V(\d+\.\d+)\s:1:1
1.35 www 768: PerlSetVar lonTextBrowsers opera:windows\s+ce:lynx
1.43 albertel 769: PerlSetVar lonScansDir /home/httpd/scantron
770: PerlSetVar lonScriptTimeout 10
1.2 harris41 771: # -----------------------------------------------------------------------------
772: # NOTE: lonSqlAccess key is the password for the MySQL user
773: # www@localhost. This value must always be "localhostkey".
774: # The only security risk occurs when somebody logs in as 'www' on your system
775: # (in which case you have much bigger problems than whether or not they
776: # can access the non-authoritative loncapa database on your machine).
777:
778: PerlSetVar lonSqlAccess localhostkey
779:
780: # -----------------------------------------------------------------------------
1.36 albertel 781: # lonttpdPort is the port used by the lightweight graphics httpd server
782: # not the main Apache server
783: PerlSetVar lonhttpdPort 8080
784:
1.2 harris41 785:
786:
1.8 harris41 787: # ====================================== Include machine-specific configuration
1.2 harris41 788:
789: Include conf/loncapa.conf
1.1 harris41 790:
791: # ================================================== Initiate mod_perl starting
792:
793: PerlRequire conf/startup.pl
1.47 albertel 794: <IfDefine !MODPERL2>
1.1 harris41 795: PerlFreshRestart On
1.47 albertel 796: </IfDefine>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>