- 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.1,1.1.2.2
- Date: Mon, 19 Jul 2004 21:46:31 +0200
Update of /cvs/caudium/caudium/server/modules/misc
In directory cvs.caudiumforge.net:/tmp/cvs-serv89187/server/modules/misc
Modified Files:
Tag: stable_1_2
switchfile.pike
Log Message:
Some autodocs I have forgotten to update.
Index: switchfile.pike
===================================================================
RCS file: /cvs/caudium/caudium/server/modules/misc/Attic/switchfile.pike,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- switchfile.pike 19 Jul 2004 19:42:11 -0000 1.1.2.1
+++ switchfile.pike 19 Jul 2004 19:46:29 -0000 1.1.2.2
@@ -18,14 +18,14 @@
*
*/
/*
- * $Id: switchfile.pike,v 1.1.2.1 2004/07/19 19:42:11 kiwi Exp $
+ * $Id: switchfile.pike,v 1.1.2.2 2004/07/19 19:46:29 kiwi Exp $
*/
#include <module.h>
inherit "module";
inherit "caudiumlib";
-constant cvs_version = "$Id: switchfile.pike,v 1.1.2.1 2004/07/19 19:42:11
kiwi Exp $";
+constant cvs_version = "$Id: switchfile.pike,v 1.1.2.2 2004/07/19 19:46:29
kiwi Exp $";
constant thread_safe = 1;
constant module_type = MODULE_FIRST;
constant module_name = "Switch File";
@@ -45,7 +45,7 @@
//! inherits: module
//! inherits: caudiumlib
//! type: MODULE_FIRST
-//! cvs_version: $Id: switchfile.pike,v 1.1.2.1 2004/07/19 19:42:11 kiwi Exp
$
+//! cvs_version: $Id: switchfile.pike,v 1.1.2.2 2004/07/19 19:46:29 kiwi Exp
$
#define SWITCH_DEBUG
@@ -133,4 +133,51 @@
"instead of the defined return code.");
}
+
+
+/* START AUTOGENERATED DEFVAR DOCS */
+
+//! defvar: switch
+//! Should every server query get the default answer?
+//! type: TYPE_FLAG
+//! name: Activate switch
+//
+//! defvar: return_code
+//! What to return if <tt>server's switch</tt> is set (see the HTTP
specification for the values' meanings)<br />The most useful are 200 (OK),
30X (Moved), 403 (Forbidden), 404 (No such resource), 500 (Server error), 502
(Service temporarily unavailable).
+//! type: TYPE_MULTIPLE_INT
+//! name: Configuration: HTTP return code
+//
+//! defvar: hosts_to_pass
+//! The hosts which match any glob of these will be allowed access even if
the switch is turned on.
+//! type: TYPE_STRING_LIST
+//! name: Configuration: IP addresses to allow anyways (globs)
+//
+//! 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)
+//
+//! defvar: errordoc
+//! The filename to use.
+//! type: TYPE_STRING
+//! name: Configuration: Filename
+//
+//! 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
+//
+
+/*
+ * If you visit a file that doesn't contain these lines at its end, please
+ * cut and paste everything from here to that file.
+ */
+
+/*
+ * Local Variables:
+ * c-basic-offset: 2
+ * End:
+ *
+ * vim: softtabstop=2 tabstop=2 expandtab autoindent formatoptions=croqlt
smartindent cindent shiftwidth=2
+ */
- CVS: caudium/server/modules/misc switchfile.pike,1.1.2.1,1.1.2.2, Xavier Beaudouin
Archive powered by MhonArc 2.6.10.