From d3f4d86e26aa297416e85a8e99dd926e7e3a78af Mon Sep 17 00:00:00 2001 From: mcrane Date: Sat, 19 Dec 2009 16:22:57 -0700 Subject: Introducing vHosts web server package. It uses lighttp that is already installed but runs another instance of it with its own config. Also supports PHP5, and PHP PDO and SQLite --- config/vhosts/vhosts_php.tmp | 191 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 191 insertions(+) create mode 100644 config/vhosts/vhosts_php.tmp (limited to 'config/vhosts/vhosts_php.tmp') diff --git a/config/vhosts/vhosts_php.tmp b/config/vhosts/vhosts_php.tmp new file mode 100644 index 00000000..c77d50a3 --- /dev/null +++ b/config/vhosts/vhosts_php.tmp @@ -0,0 +1,191 @@ + + + + + +

vHosts Service:

+ +
+ + +
+ +
+ + + + + +
+ +
+ "; + //print_info_box_np("This is an info box."); + //echo"
"; + //endif; + + ?> + + + + +

+ Is command line PHP designed to run PHP as a Service. The custom PHP code that is defined below is run over and over again inside a continuous loop. There are many possible uses such as monitoring CPU, Memory, File System Space, interacting with Snort, and many others uses that are yet to be discovered. + It can send events to the sylog that will can be viewed from the system log or remote syslog server. example: exec("logger This is a test"); +

+ For more information see: http://doc.pfsense.org/index.php/vhosts +

+
+ + + + + + + + + + + 0) { + + foreach ($a_vhosts as $ent) { + + ?> + + + + + + + + + + + + + + + + + +
NameEnabledDescription + + + + + + +
+ +
+   + +   + +   + + + + + + +
+
+ + + + + +
+
+ +
+ + +
+
+
+
+
+
+
+
+ +
+ +
+ + + + + -- cgit v1.2.3