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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 15 Nov 2005 18:35:36 -0000


albertel		Tue Nov 15 13:35:36 2005 EDT

  Modified files:              
    /loncom	loncapa_apache.conf 
  Log:
  - adding some docs to the lonBrowsDet config
  - adding a detector for netscape 7/8 even when mucked with by a squid proxy
  
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.118 loncom/loncapa_apache.conf:1.119
--- loncom/loncapa_apache.conf:1.118	Thu Oct 27 19:32:25 2005
+++ loncom/loncapa_apache.conf	Tue Nov 15 13:35:35 2005
@@ -1,7 +1,7 @@
 ##
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
-## $Id: loncapa_apache.conf,v 1.118 2005/10/27 23:32:25 raeburn Exp $
+## $Id: loncapa_apache.conf,v 1.119 2005/11/15 18:35:35 albertel Exp $
 ##
 
 #
@@ -1025,7 +1025,16 @@
 PerlSetVar       lonDocRoot   /home/httpd/html
 PerlSetVar       lonPrtDir    /home/httpd/prtspool
 PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
-PerlSetVar       lonBrowsDet  explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999:1&netscape:netscape:msie:netscape\/(\d+\.\d+):9999:7&amaya:amaya:mozilla:V(\d+\.\d+)\s:1:1&safari:safari:msie:safari\/([\d\.]+):9999:84
+# & sepeareted list of : seperated fileds inorder of
+# - internal name to call it, 
+# - regexp that it should match (done case-insensitively)
+# - regexp that is should not match (done case-insensitively)
+# - regexp that will pull out the version number into $1
+# - a number that describes the minimum version that has mathml support
+# - a number that describes the minimum number version that has unicode support
+
+PerlSetVar       lonBrowsDet  explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999:1&netscape:netscape:msie:netscape\/(\d+\.\d+):9999:7&netscape:netscape\/[7-9]:shouldnotmatch:netscape\/(\d+\.\d+):9999:7&amaya:amaya:mozilla:V(\d+\.\d+)\s:1:1&safari:safari:msie:safari\/([\d\.]+):9999:84
+
 PerlSetVar       lonTextBrowsers windows\s+ce:lynx
 PerlSetVar       lonScansDir  /home/httpd/scantron
 PerlSetVar       lonScriptTimeout 10