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