File:  [LON-CAPA] / loncom / loncapa_apache.conf
Revision 1.21: download - view: text, annotated - select for diffs
Thu Oct 10 20:46:51 2002 UTC (21 years, 7 months ago) by www
Branches: MAIN
CVS tags: HEAD
Fixes ... aehhh ... problem.

    1: ##
    2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
    3: ##
    4: ## $Id: loncapa_apache.conf,v 1.21 2002/10/10 20:46:51 www Exp $
    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: #
   15: # ================================================================ DocumentRoot
   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/
   40: ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
   41: 
   42: # ================================================================= Directories
   43: 
   44: # ------------------------------------------------------------- Access Handlers
   45: 
   46: PerlTransHandler	Apache::lontrans
   47: 
   48: <LocationMatch "^/+res.*">
   49: PerlAccessHandler       Apache::lonacc
   50: PerlHeaderParserHandler Apache::lonrep
   51: ErrorDocument     403 /adm/login
   52: ErrorDocument     404 /adm/notfound.html
   53: ErrorDocument     406 /adm/roles
   54: ErrorDocument	  500 /adm/errorhandler
   55: </LocationMatch>
   56: 
   57: <LocationMatch "^/+userfiles.*">
   58: PerlAccessHandler       Apache::lontokacc
   59: </LocationMatch>
   60: 
   61: <LocationMatch "^/+uploaded.*">
   62: PerlAccessHandler	Apache::lonuploadedacc
   63: ErrorDocument     404 /adm/notfound.html
   64: ErrorDocument	  500 /adm/errorhandler
   65: </LocationMatch>
   66: 
   67: <LocationMatch "^/+public/.*/syllabus">
   68: PerlAccessHandler	Apache::lonacc
   69: SetHandler              perl-script
   70: PerlHandler             Apache::lonsyllabus
   71: ErrorDocument     404 /adm/notfound.html
   72: ErrorDocument	  500 /adm/errorhandler
   73: </LocationMatch>
   74: 
   75: <LocationMatch "^/adm/.*/aboutme">
   76: PerlAccessHandler	Apache::lonacc
   77: SetHandler              perl-script
   78: PerlHandler             Apache::lonaboutme
   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
   95: ErrorDocument     404 /adm/notfound.html
   96: ErrorDocument	  500 /adm/errorhandler
   97: </LocationMatch>
   98: 
   99: <LocationMatch "^/+priv.*">
  100: PerlAccessHandler Apache::loncacc
  101: SetHandler        perl-script
  102: PerlHandler       Apache::lonconstruct
  103: ErrorDocument     403 /adm/login
  104: ErrorDocument     404 /adm/notfound.html
  105: ErrorDocument     406 /adm/unauthorized
  106: ErrorDocument	  500 /adm/errorhandler
  107: </LocationMatch>
  108: 
  109: <LocationMatch "^/+raw.*">
  110: PerlAccessHandler Apache::lonracc
  111: </LocationMatch>
  112: 
  113: <LocationMatch "^/+\~.*">
  114: PerlAccessHandler Apache::loncacc
  115: ErrorDocument     403 /adm/login
  116: ErrorDocument     404 /adm/notfound.html
  117: ErrorDocument     406 /adm/unauthorized
  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: 
  169: <LocationMatch "^/(res|\~).*\.meta$>
  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
  199: ErrorDocument     413 /adm/overloaded.txt
  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
  311: ErrorDocument     406 /adm/unauthorized
  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
  321: ErrorDocument     406 /adm/unauthorized
  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
  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
  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
  350: ErrorDocument     406 /adm/unauthorized
  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
  360: ErrorDocument     406 /adm/unauthorized
  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
  370: ErrorDocument     406 /adm/unauthorized
  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
  380: ErrorDocument     406 /adm/unauthorized
  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
  390: ErrorDocument     413 /adm/overloaded.txt
  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
  400: ErrorDocument     413 /adm/overloaded.txt
  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
  410: ErrorDocument     413 /adm/overloaded.txt
  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
  428: ErrorDocument     413 /adm/overloaded.txt
  429: ErrorDocument	  500 /adm/errorhandler
  430: </Location>
  431: 
  432: <Location /adm/feedback>
  433: PerlAccessHandler       Apache::lonacc
  434: SetHandler perl-script
  435: PerlHandler Apache::lonfeedback
  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
  460: ErrorDocument	  500 /adm/errorhandler
  461: </Location>
  462: 
  463: <Location /adm/chatfetch>
  464: PerlAccessHandler       Apache::lonacc
  465: SetHandler perl-script
  466: PerlHandler Apache::lonchatfetch
  467: ErrorDocument     413 /adm/overloaded.txt
  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
  509: ErrorDocument     413 /adm/overloaded.txt
  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: 
  535: <LocationMatch "^/adm/help/.*\.hlp$">
  536: SetHandler perl-script
  537: PerlHandler Apache::lonhelp
  538: </LocationMatch>
  539: 
  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
  568: </Location>
  569: 
  570: <Location /adm/test>
  571: AuthName "LON-CAPA Network Administration"
  572: AuthType Basic
  573: AuthUserFile /home/httpd/lonTabs/htpasswd
  574: require user lonadm
  575: SetHandler perl-script
  576: PerlAccessHandler Apache::lonacc
  577: PerlHandler Apache::lontest
  578: </Location>
  579: 
  580: # ------------------------------------------------------- Shutting down a child
  581: 
  582: PerlChildExitHandler Apache::lonnet::goodbye
  583: 
  584: #
  585: # LON-CAPA Section (extensions to access.conf permission configuration)
  586: #
  587: # =========================================================== Directory Options
  588: 
  589: # Start out with "no"
  590: 
  591: <Directory />
  592: Options None
  593: AllowOverride None
  594: </Directory>
  595: 
  596: # Yes to symbolic links and server-side includes
  597: 
  598: <Directory /home/httpd/html>
  599: Options Includes FollowSymLinks
  600: AllowOverride None
  601: order allow,deny
  602: allow from all
  603: </Directory>
  604: 
  605: # If it is in cgi-bin, then it can be executed as a CGI script.
  606: 
  607: <Directory /home/httpd/cgi-bin>
  608: AllowOverride None
  609: Options ExecCGI
  610: </Directory>
  611: 
  612: # ============================================================= Access Handlers
  613: 
  614: # ------------------------------------------------- Allow server-status reports
  615: <Location /server-status>
  616: SetHandler server-status
  617: AuthName "LON-CAPA Network Administration"
  618: AuthType Basic
  619: AuthUserFile /home/httpd/lonTabs/htpasswd
  620: require user lonadm
  621: </Location>
  622: 
  623: # ------------------------ Allow LON-CAPA "low-level" connection status reports
  624: <Location /lon-status>
  625: AuthName "LON-CAPA Network Administration"
  626: AuthType Basic
  627: AuthUserFile /home/httpd/lonTabs/htpasswd
  628: require user lonadm
  629: </Location>
  630: 
  631: # ------------------- Allow access to local system documentation from localhost
  632: Alias /doc /usr/doc
  633: <Directory /usr/doc>
  634: order deny,allow
  635: deny from all
  636: allow from localhost
  637: Options Indexes FollowSymLinks
  638: </Directory>
  639: 
  640: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
  641: # ====================================== Internal Settings / Perl Configuration
  642: 
  643: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
  644: PerlSetVar       lonTabDir    /home/httpd/lonTabs
  645: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
  646: PerlSetVar       lonIconsURL  /adm/lonIcons
  647: PerlSetVar       londPort     5663
  648: PerlSetVar       lonSysEMail  korte@lite.msu.edu
  649: PerlSetVar       lonDaemons   /home/httpd/perl
  650: PerlSetVar       lonSockDir   /home/httpd/sockets
  651: PerlSetVar       lonDocRoot   /home/httpd/html
  652: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
  653: 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
  654: 
  655: # -----------------------------------------------------------------------------
  656: # NOTE: lonSqlAccess key is the password for the MySQL user
  657: # www@localhost.  This value must always be "localhostkey".
  658: # The only security risk occurs when somebody logs in as 'www' on your system
  659: # (in which case you have much bigger problems than whether or not they
  660: # can access the non-authoritative loncapa database on your machine).
  661: 
  662: PerlSetVar       lonSqlAccess   localhostkey
  663: 
  664: # -----------------------------------------------------------------------------
  665: 
  666: 
  667: # ====================================== Include machine-specific configuration
  668: 
  669: Include conf/loncapa.conf
  670: 
  671: # ================================================== Initiate mod_perl starting
  672: 
  673: PerlRequire      conf/startup.pl
  674: PerlFreshRestart On

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>