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