[LON-CAPA-cvs] cvs: loncom / loncapa_apache.conf

harris41 lon-capa-cvs@mail.lon-capa.org
Thu, 16 May 2002 00:06:23 -0000


harris41		Wed May 15 20:06:23 2002 EDT

  Modified files:              
    /loncom	loncapa_apache.conf 
  Log:
  BUG 129; note that lonSqlAccess is now static and permanently
  defined as 'localhostkey'; also loncapa_apache.conf will include
  loncapa.conf
  
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.1 loncom/loncapa_apache.conf:1.2
--- loncom/loncapa_apache.conf:1.1	Sun May 12 15:11:31 2002
+++ loncom/loncapa_apache.conf	Wed May 15 20:06:23 2002
@@ -1,7 +1,7 @@
 ##
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
-## $Id: loncapa_apache.conf,v 1.1 2002/05/12 19:11:31 harris41 Exp $
+## $Id: loncapa_apache.conf,v 1.2 2002/05/16 00:06:23 harris41 Exp $
 ##
 ## 1/11/2002 - Scott Harrison
 ## 2/19/2002 - Scott Harrison
@@ -564,6 +564,22 @@
 PerlSetVar       lonDocRoot   /home/httpd/html
 PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
 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
+
+# -----------------------------------------------------------------------------
+# NOTE: lonSqlAccess key is the password for the MySQL user
+# www@localhost.  This value must always be "localhostkey".
+# The only security risk occurs when somebody logs in as 'www' on your system
+# (in which case you have much bigger problems than whether or not they
+# can access the non-authoritative loncapa database on your machine).
+
+PerlSetVar       lonSqlAccess   localhostkey
+
+# -----------------------------------------------------------------------------
+
+
+# ================================================== Initiate mod_perl starting
+
+Include conf/loncapa.conf
 
 # ================================================== Initiate mod_perl starting