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