caudium-commits AT caudium.net
Caudium CVS Commits list

CVS: caudium/server/modules/misc switchfile.pike,1.1.2.3,1.1.2.4


chronological Thread 
  • From: Xavier Beaudouin <kiwi AT cvs.caudiumforge.net>
  • To: caudium-commits AT caudium.net
  • Subject: CVS: caudium/server/modules/misc switchfile.pike,1.1.2.3,1.1.2.4
  • Date: Mon, 19 Jul 2004 22:08:42 +0200

Update of /cvs/caudium/caudium/server/modules/misc
In directory cvs.caudiumforge.net:/tmp/cvs-serv90873

Modified Files:
      Tag: stable_1_2
        switchfile.pike 
Log Message:
Now it is working


Index: switchfile.pike
===================================================================
RCS file: /cvs/caudium/caudium/server/modules/misc/Attic/switchfile.pike,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -r1.1.2.3 -r1.1.2.4
--- switchfile.pike     19 Jul 2004 20:01:58 -0000      1.1.2.3
+++ switchfile.pike     19 Jul 2004 20:08:40 -0000      1.1.2.4
@@ -18,14 +18,14 @@
  *
  */
 /*
- * $Id: switchfile.pike,v 1.1.2.3 2004/07/19 20:01:58 kiwi Exp $
+ * $Id: switchfile.pike,v 1.1.2.4 2004/07/19 20:08:40 kiwi Exp $
  */
 
 #include <module.h>
 inherit "module";
 inherit "caudiumlib";
 
-constant cvs_version  = "$Id: switchfile.pike,v 1.1.2.3 2004/07/19 20:01:58 
kiwi Exp $";
+constant cvs_version  = "$Id: switchfile.pike,v 1.1.2.4 2004/07/19 20:08:40 
kiwi Exp $";
 constant thread_safe  = 1;
 constant module_type  = MODULE_FIRST;
 constant module_name  = "Switch File";
@@ -45,10 +45,10 @@
 //! inherits: module
 //! inherits: caudiumlib
 //! type: MODULE_FIRST
-//! cvs_version: $Id: switchfile.pike,v 1.1.2.3 2004/07/19 20:01:58 kiwi Exp 
$
+//! cvs_version: $Id: switchfile.pike,v 1.1.2.4 2004/07/19 20:08:40 kiwi Exp 
$
 
 
-#define SWITCH_DEBUG
+//#define SWITCH_DEBUG
 #ifdef SWITCH_DEBUG
 #define LOG(X) perror("Switchmodule: "+X+"\n");
 #else
@@ -98,7 +98,7 @@
      return http_low_answer(QUERY(return_code), parse_rxml(html,id));
   } 
   // if we do not support MSIE brain damage, then fail to normal way
-  return http_low_answer(QUERY(return_code), parser_rxml(html,id));
+  return http_low_answer(QUERY(return_code), parse_rxml(html,id));
 }
 
 void create()
@@ -120,7 +120,7 @@
          "even if the switch is turned on." );
          
   defvar ("docs_to_pass", ({"/_internal*","/internal*"}),
-          "Configuration: virtual files to allow anyways (globs)",
+          "Configuration: Virtual files to allow anyways (globs)",
           TYPE_STRING_LIST,
           "The (virtual) documents which match any of these will be allowed "
          "access even if the switch is turned on." );
@@ -128,7 +128,7 @@
   defvar ("errordoc","NONE/", "Configuration: Filename", TYPE_STRING,
           "The filename to use.");
 
-  defvar ("msie", 1, "Return a 200 to MSIE", TYPE_FLAG,
+  defvar ("msie", 1, "Configuration: Return a 200 to MSIE", TYPE_FLAG,
           "Returns a 200 response to Microsoft Internet Explorer browser "
           "instead of the defined return code.");
 }
@@ -155,7 +155,7 @@
 //! defvar: docs_to_pass
 //! The (virtual) documents which match any of these will be allowed access 
even if the switch is turned on.
 //!  type: TYPE_STRING_LIST
-//!  name: Configuration: virtual files to allow anyways (globs)
+//!  name: Configuration: Virtual files to allow anyways (globs)
 //
 //! defvar: errordoc
 //! The filename to use.
@@ -165,7 +165,7 @@
 //! defvar: msie
 //! Returns a 200 response to Microsoft Internet Explorer browser instead of 
the defined return code.
 //!  type: TYPE_FLAG
-//!  name: Return a 200 to MSIE
+//!  name: Configuration: Return a 200 to MSIE
 //
 
 /*



  • CVS: caudium/server/modules/misc switchfile.pike,1.1.2.3,1.1.2.4, Xavier Beaudouin

Archive powered by MhonArc 2.6.10.

§