<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://m204wiki.rocketsoftware.com/index.php?action=history&amp;feed=atom&amp;title=Janus_Web_Server_application_example</id>
	<title>Janus Web Server application example - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://m204wiki.rocketsoftware.com/index.php?action=history&amp;feed=atom&amp;title=Janus_Web_Server_application_example"/>
	<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=Janus_Web_Server_application_example&amp;action=history"/>
	<updated>2026-04-20T23:14:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=Janus_Web_Server_application_example&amp;diff=83660&amp;oldid=prev</id>
		<title>JAL: minor cleanup</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=Janus_Web_Server_application_example&amp;diff=83660&amp;oldid=prev"/>
		<updated>2016-04-07T20:58:57Z</updated>

		<summary type="html">&lt;p&gt;minor cleanup&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:58, 7 April 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The code for the following sample Web application is in file &amp;lt;var&amp;gt;SIRIUS&amp;lt;/var&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The code for the following sample Web application is in file &amp;lt;var&amp;gt;SIRIUS&amp;lt;/var&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(file &amp;lt;var&amp;gt;JANUS&amp;lt;/var&amp;gt;, if prior to &amp;lt;var class=&quot;product&quot;&amp;gt;Sirius Mods&amp;lt;/var&amp;gt; version 6.8)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;on the Sirius product tape, which should be installed in the &amp;lt;var class=&quot;product&quot;&amp;gt;Janus Web Server&amp;lt;/var&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Online&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;on the Sirius product tape, which should be installed in the &amp;lt;var class=&quot;product&quot;&amp;gt;Janus Web Server&amp;lt;/var&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;online.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Several more examples of web applications are provided on the [http://www.sirius-software.com/demo.html Sirius web site]&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;__TOC__&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;__TOC__&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l19&quot;&gt;Line 19:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sirius [[List_of_$functions|$functions]], such as those for creating and manipulating&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sirius [[List_of_$functions|$functions]], such as those for creating and manipulating&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[$lists]] which provide a useful way to manipulate arrays of data.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[$lists]] which provide a useful way to manipulate arrays of data.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;These functions are available as a separately purchased option.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;PROCEDURE DEMO_COMMAND&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;PROCEDURE DEMO_COMMAND&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l130&quot;&gt;Line 130:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 126:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Sample configuration deck==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Sample configuration deck==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This is a sample set of &amp;lt;var&amp;gt;JANUS&amp;lt;/var&amp;gt; subcommands that define a web server.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This is a sample set of &amp;lt;var&amp;gt;JANUS&amp;lt;/var&amp;gt; subcommands that define a web server.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;These commands are described further in [[Defining Web rules&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&quot;Defining Web rules&quot;&lt;/del&gt;]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;These commands are described further in [[Defining Web rules]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;&amp;amp;#42; If the port is running, stop it and delete it.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;&amp;amp;#42; If the port is running, stop it and delete it.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l214&quot;&gt;Line 214:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 210:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For more configuration commands, see [[Defining Web rules&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&quot;Defining Web rules&quot;&lt;/del&gt;]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;p&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For more configuration commands, see [[Defining Web rules]]. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/p&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: Janus Web Server]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: Janus Web Server]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JAL</name></author>
	</entry>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=Janus_Web_Server_application_example&amp;diff=50169&amp;oldid=prev</id>
		<title>JAL: /* Sample application: command processor */</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=Janus_Web_Server_application_example&amp;diff=50169&amp;oldid=prev"/>
		<updated>2012-10-30T00:16:32Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Sample application: command processor&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:16, 30 October 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l23&quot;&gt;Line 23:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 23:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;PROCEDURE DEMO_COMMAND&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;PROCEDURE DEMO_COMMAND&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;#42; Submit a command-level command to &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;var class=&quot;product&quot;&amp;gt;&lt;/del&gt;Model 204&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/var&amp;gt;&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;#42; Submit a command-level command to Model 204.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;#42; This sample program provides both the form and the&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;#42; This sample program provides both the form and the&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l127&quot;&gt;Line 127:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 127:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;END PROCEDURE DEMO_COMMAND&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;END PROCEDURE DEMO_COMMAND&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Sample configuration deck==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Sample configuration deck==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This is a sample set of &amp;lt;var&amp;gt;JANUS&amp;lt;/var&amp;gt; subcommands that define a web server.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This is a sample set of &amp;lt;var&amp;gt;JANUS&amp;lt;/var&amp;gt; subcommands that define a web server.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JAL</name></author>
	</entry>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=Janus_Web_Server_application_example&amp;diff=50168&amp;oldid=prev</id>
		<title>JALWiccan: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=Janus_Web_Server_application_example&amp;diff=50168&amp;oldid=prev"/>
		<updated>2012-10-30T00:09:06Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:09, 30 October 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>JALWiccan</name></author>
	</entry>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=Janus_Web_Server_application_example&amp;diff=50167&amp;oldid=prev</id>
		<title>JAL2 at 00:08, 30 October 2012</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=Janus_Web_Server_application_example&amp;diff=50167&amp;oldid=prev"/>
		<updated>2012-10-30T00:08:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:08, 30 October 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l23&quot;&gt;Line 23:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 23:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;PROCEDURE DEMO_COMMAND&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;PROCEDURE DEMO_COMMAND&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;#42; Submit a command-level command to Model 204.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;#42; Submit a command-level command to &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;var class=&quot;product&quot;&amp;gt;&lt;/ins&gt;Model 204&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/var&amp;gt;&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;#42; This sample program provides both the form and the&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;#42; This sample program provides both the form and the&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JAL2</name></author>
	</entry>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=Janus_Web_Server_application_example&amp;diff=50166&amp;oldid=prev</id>
		<title>JAL2 at 00:33, 16 March 2012</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=Janus_Web_Server_application_example&amp;diff=50166&amp;oldid=prev"/>
		<updated>2012-03-16T00:33:05Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:33, 16 March 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l183&quot;&gt;Line 183:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 183:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;JANUS WEB JANWEB ON /       SEND HTML_MAIN&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;JANUS WEB JANWEB ON /       SEND HTML_MAIN&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;JANUS WEB JANWEB ON /JANUS  SEND HTML_MAIN&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;JANUS WEB JANWEB ON /JANUS  SEND HTML_MAIN&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;#42; These re-mappings aren&amp;#039;t really necessary, they are&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;#42; These re-mappings aren&amp;#039;t really necessary, they are&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;#42; just done so Model 204 procedures that have similar&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;#42; just done so Model 204 procedures that have similar&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JAL2</name></author>
	</entry>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=Janus_Web_Server_application_example&amp;diff=50165&amp;oldid=prev</id>
		<title>JAL2: Created page with &quot;The code for the following sample Web application is in file &lt;var&gt;SIRIUS&lt;/var&gt; (file &lt;var&gt;JANUS&lt;/var&gt;, if prior to &lt;var class=&quot;product&quot;&gt;Sirius Mods&lt;/var&gt; version 6.8) on the Siri...&quot;</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=Janus_Web_Server_application_example&amp;diff=50165&amp;oldid=prev"/>
		<updated>2012-02-24T00:23:56Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The code for the following sample Web application is in file &amp;lt;var&amp;gt;SIRIUS&amp;lt;/var&amp;gt; (file &amp;lt;var&amp;gt;JANUS&amp;lt;/var&amp;gt;, if prior to &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Sirius Mods&amp;lt;/var&amp;gt; version 6.8) on the Siri...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The code for the following sample Web application is in file &amp;lt;var&amp;gt;SIRIUS&amp;lt;/var&amp;gt;&lt;br /&gt;
(file &amp;lt;var&amp;gt;JANUS&amp;lt;/var&amp;gt;, if prior to &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Sirius Mods&amp;lt;/var&amp;gt; version 6.8)&lt;br /&gt;
on the Sirius product tape, which should be installed in the &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Janus Web Server&amp;lt;/var&amp;gt; online.&lt;br /&gt;
 &lt;br /&gt;
Several more examples of web applications are provided on the [http://www.sirius-software.com/demo.html Sirius web site].&lt;br /&gt;
 &lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==Sample application: command processor==&lt;br /&gt;
This sample application demonstrates a simple way to execute &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Model 204&amp;lt;/var&amp;gt;&lt;br /&gt;
commands from a web browser.&lt;br /&gt;
While this is a modest use of the &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Web Server&amp;lt;/var&amp;gt;, and one that you may not ever implement in a production&lt;br /&gt;
application system, it presents an example whose purpose is readily understood.&lt;br /&gt;
More important, it describes the use of forms for obtaining&lt;br /&gt;
and processing user input and demonstrates the common processes used in&lt;br /&gt;
a simple web server program.&lt;br /&gt;
 &lt;br /&gt;
Note that this example does take advantage of several special purpose&lt;br /&gt;
Sirius [[List_of_$functions|$functions]], such as those for creating and manipulating&lt;br /&gt;
[[$lists]] which provide a useful way to manipulate arrays of data.&lt;br /&gt;
These functions are available as a separately purchased option.&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;PROCEDURE DEMO_COMMAND&lt;br /&gt;
 &lt;br /&gt;
&amp;amp;#42; Submit a command-level command to Model 204.&lt;br /&gt;
 &lt;br /&gt;
&amp;amp;#42; This sample program provides both the form and the&lt;br /&gt;
&amp;amp;#42; response to the form. You determine whether a user is&lt;br /&gt;
&amp;amp;#42; getting a form or submitting it by querying the&lt;br /&gt;
&amp;amp;#42; &amp;#039;METHOD&amp;#039; parameter in the form&amp;#039;s header (using&lt;br /&gt;
&amp;amp;#42; $Web_Hdr_Parm). If METHOD=POST, you are supposed&lt;br /&gt;
&amp;amp;#42; to respond to the user&amp;#039;s request.&lt;br /&gt;
 &lt;br /&gt;
Begin&lt;br /&gt;
 &lt;br /&gt;
&amp;amp;#42; Declare and initialize.&lt;br /&gt;
 &lt;br /&gt;
      %listo   is float&lt;br /&gt;
      %rc      is float&lt;br /&gt;
      %x       is float&lt;br /&gt;
 &lt;br /&gt;
      %cform   is string len 10&lt;br /&gt;
      %command is string len 100&lt;br /&gt;
      %listo = $listnew&lt;br /&gt;
 &lt;br /&gt;
&amp;amp;#42; Set the global &amp;quot;TITLE&amp;quot; and use $Web_Sub to make it&lt;br /&gt;
&amp;amp;#42; appear on the page.&lt;br /&gt;
 &lt;br /&gt;
      %rc     = $setg(&amp;#039;TITLE&amp;#039;,                       -&lt;br /&gt;
                      &amp;#039;Data Access Demonstrations /&amp;#039; -&lt;br /&gt;
                      WITH &amp;#039; Janus Web Server&amp;#039; )&lt;br /&gt;
      %rc     = $web_type(&amp;#039;TEXT/HTML&amp;#039;)&lt;br /&gt;
      %rc     = $web_sub(&amp;#039;@@&amp;#039;)&lt;br /&gt;
 &lt;br /&gt;
&amp;amp;#42; Route terminal output to the user.&lt;br /&gt;
 &lt;br /&gt;
      %rc     = $web_on&lt;br /&gt;
 &lt;br /&gt;
&amp;amp;#42; Get the value of the form parameter &amp;#039;CFORM&amp;#039;.&lt;br /&gt;
 &lt;br /&gt;
      %cform  = $upcase($web_form_parm(&amp;#039;CFORM&amp;#039;))&lt;br /&gt;
 &lt;br /&gt;
&amp;amp;#42; Send the page header that&amp;#039;s in procedure &amp;#039;HTML_HEADER&amp;#039;&lt;br /&gt;
&amp;amp;#42; (use &amp;#039;MORE&amp;#039; so we can continue sending).&lt;br /&gt;
 &lt;br /&gt;
      %rc     = $web_procsend(,&amp;#039;HTML_HEADER&amp;#039;,&amp;#039;MORE&amp;#039;)&lt;br /&gt;
 &lt;br /&gt;
&amp;amp;#42; Send the body of the page.&lt;br /&gt;
 &lt;br /&gt;
      Print &amp;#039;&amp;amp;lt;H1&amp;gt;Model 204 Command Processor&amp;amp;lt;/H1&amp;gt;&amp;#039;&lt;br /&gt;
      Print &amp;#039;&amp;amp;lt;hr&amp;gt;&amp;#039;&lt;br /&gt;
      Print &amp;#039;Here&amp;#039;s a novel idea: Bring all the power and&amp;#039;&lt;br /&gt;
      Print &amp;#039;elegance of a 3270 screen into your Web&amp;#039;&lt;br /&gt;
      Print &amp;#039;browser. This shows how terminal output is&amp;#039;&lt;br /&gt;
      Print &amp;#039;routed to your browser.&amp;#039;&lt;br /&gt;
      Print &amp;#039;&amp;amp;lt;p&amp;gt;&amp;#039;&lt;br /&gt;
      Print &amp;#039;Would you like to&amp;#039;&lt;br /&gt;
      Print &amp;#039;&amp;amp;lt;A HREF=&amp;quot;/DEMO_COMMAND&amp;quot;&amp;gt;see the code&amp;lt;/A&amp;gt;&amp;#039;&lt;br /&gt;
      Print &amp;#039;that generates this form?&amp;#039;&lt;br /&gt;
      Print &amp;#039;&amp;amp;lt;/p&amp;gt;&amp;#039;&lt;br /&gt;
      Print &amp;#039;&amp;amp;lt;hr&amp;gt;&amp;#039;&lt;br /&gt;
 &lt;br /&gt;
&amp;amp;#42; Send the body of the form.&lt;br /&gt;
 &lt;br /&gt;
      Print &amp;#039;&amp;amp;lt;FORM NAME=&amp;quot;CFORM&amp;quot; METHOD=&amp;quot;POST&amp;quot;&amp;#039;&lt;br /&gt;
      Print &amp;#039; ACTION=&amp;quot;&amp;#039; WITH $WEB_HDR_PARM(&amp;#039;URL&amp;#039;) WITH &amp;#039;&amp;quot;&amp;gt;&amp;#039;&lt;br /&gt;
              &lt;br /&gt;
      Print &amp;#039;Command: &amp;lt;INPUT TYPE=&amp;quot;TEXT&amp;quot; SIZE=50&amp;#039; WITH &amp;#039; NAME=&amp;quot;CMD&amp;quot;&amp;#039;              &lt;br /&gt;
      Print &amp;#039;VALUE=&amp;quot;&amp;#039; WITH %CFORM WITH &amp;#039;&amp;quot;&amp;gt;&amp;#039;&lt;br /&gt;
      Print &amp;#039;&amp;amp;lt;INPUT TYPE=&amp;quot;SUBMIT&amp;quot; VALUE=&amp;quot;Submit&amp;quot;&amp;gt;&amp;#039;&lt;br /&gt;
      Print &amp;#039;&amp;amp;lt;/FORM&amp;gt;&amp;#039;&lt;br /&gt;
 &lt;br /&gt;
&amp;amp;#42; If the form was POST&amp;#039;ed to us, process the command.&lt;br /&gt;
 &lt;br /&gt;
      If $web_hdr_parm(&amp;#039;method&amp;#039;) eq &amp;#039;post&amp;#039; Then&lt;br /&gt;
          %command = $upcase($web_form_parm(&amp;#039;CMD&amp;#039;))&lt;br /&gt;
          If $index(%command,&amp;#039;EOJ&amp;#039;) or -&lt;br /&gt;
             $index(%command,&amp;#039;EOD&amp;#039;) or -&lt;br /&gt;
             $index(%command,&amp;#039;BUMP&amp;#039;) or -&lt;br /&gt;
             $index(%command,&amp;#039;JANUS FORCE&amp;#039;) or -&lt;br /&gt;
             $index(%command,&amp;#039;JANUS DRAIN&amp;#039;) or -&lt;br /&gt;
             $index(%command,&amp;#039;INITIALIZE&amp;#039;) Then&lt;br /&gt;
              Print &amp;#039;&amp;lt;b&amp;gt;Good try.&amp;lt;/b&amp;gt;  But it wouldn&amp;#039;t&amp;#039; -&lt;br /&gt;
                    With &amp;#039; have worked&amp;#039;&lt;br /&gt;
              Print &amp;#039;anyway because you don&amp;#039;t have the&amp;#039;&lt;br /&gt;
              Print &amp;#039;privilege for that command.&amp;#039;&lt;br /&gt;
              Stop&lt;br /&gt;
          End If&lt;br /&gt;
&amp;amp;#42; Submit command for &amp;quot;sdaemon&amp;quot; processing.&lt;br /&gt;
 &lt;br /&gt;
          %rc = $comndl( $upcase($web_form_parm(&amp;#039;CMD&amp;#039;)), , %listo)&lt;br /&gt;
 &lt;br /&gt;
&amp;amp;#42; Print the return.&lt;br /&gt;
 &lt;br /&gt;
          Print &amp;#039;&amp;amp;lt;tt&amp;gt;&amp;#039;&lt;br /&gt;
          For %x from 1 to $listcnt(%listo)&lt;br /&gt;
                  Print $listinf(%listo,%x) With &amp;#039;&amp;amp;lt;br&amp;gt;&amp;#039;&lt;br /&gt;
          End For&lt;br /&gt;
          Print &amp;#039;&amp;amp;lt;/tt&amp;gt;&amp;#039;&lt;br /&gt;
      End If&lt;br /&gt;
 &lt;br /&gt;
&amp;amp;#42; Send the pre-defined page footer from procedure &amp;#039;HTML_FOOTER&amp;#039;.&lt;br /&gt;
 &lt;br /&gt;
      %rc = $web_procsend(,&amp;#039;HTML_FOOTER&amp;#039;)&lt;br /&gt;
 &lt;br /&gt;
End&lt;br /&gt;
END PROCEDURE DEMO_COMMAND&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
==Sample configuration deck==&lt;br /&gt;
This is a sample set of &amp;lt;var&amp;gt;JANUS&amp;lt;/var&amp;gt; subcommands that define a web server.&lt;br /&gt;
These commands are described further in [[Defining Web rules|&amp;quot;Defining Web rules&amp;quot;]].&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;&amp;amp;#42; If the port is running, stop it and delete it.&lt;br /&gt;
 &lt;br /&gt;
JANUS FORCE  JANWEB&lt;br /&gt;
JANUS DELETE JANWEB&lt;br /&gt;
 &lt;br /&gt;
&amp;amp;#42; Redefine the web port, allowing 100 connections&lt;br /&gt;
 &lt;br /&gt;
JANUS DEFINE JANWEB 80 WEBSERV 100 WEBUSER WEBUSER -&lt;br /&gt;
             DEBUG 3 UPCASE OBSIZE 10240 OPEN FILE JANWEB&lt;br /&gt;
 &lt;br /&gt;
&amp;amp;#42; Build a set of IP addresses that we&amp;#039;ll grant access to.&lt;br /&gt;
 &lt;br /&gt;
JANUS DELETEIPGROUP SIRIUS&lt;br /&gt;
JANUS DEFINEIPGROUP SIRIUS 198.242.244.0/255.255.255.0 -&lt;br /&gt;
                           166.84.192.69&lt;br /&gt;
 &lt;br /&gt;
&amp;amp;#42; Build a set of userids that we&amp;#039;ll grant access to.&lt;br /&gt;
 &lt;br /&gt;
JANUS DELETEUSGROUP SIRIUS&lt;br /&gt;
JANUS DEFINEUSGROUP SIRIUS ALAN* ALEX* TOM* DME* JEFF* -&lt;br /&gt;
                    GARY* DAVE* PETE* DARREN* EUROPE*&lt;br /&gt;
 &lt;br /&gt;
&amp;amp;#42; Turn off redirection.&lt;br /&gt;
 &lt;br /&gt;
JANUS WEB JANWEB NOREDIRECT *&lt;br /&gt;
 &lt;br /&gt;
&amp;amp;#42;  Let everybody in.&lt;br /&gt;
 &lt;br /&gt;
JANUS WEB JANWEB ALLOW *&lt;br /&gt;
 &lt;br /&gt;
&amp;amp;#42; Now selectively protect certain &amp;quot;directories&amp;quot;,&lt;br /&gt;
&amp;amp;#42; providing access only to the above-defined IPGROUP and USGROUP.&lt;br /&gt;
 &lt;br /&gt;
JANUS WEB DISALLOW /MANUALS/*&lt;br /&gt;
JANUS WEB DISALLOW /FIXES/*&lt;br /&gt;
 &lt;br /&gt;
JANUS WEB JANWEB ALLOW /MANUALS/* IPGROUP SIRIUS USGROUP SIRIUS&lt;br /&gt;
 &lt;br /&gt;
JANUS WEB JANWEB ALLOW /FIXES/* IPGROUP SIRIUS USGROUP SIRIUS&lt;br /&gt;
 &lt;br /&gt;
&amp;amp;#42; Set some content types for which Janus Web doesn&amp;#039;t supply defaults.&lt;br /&gt;
 &lt;br /&gt;
JANUS WEB JANWEB TYPE *.HTM  TEXT/HTML&lt;br /&gt;
JANUS WEB JANWEB TYPE *.PDF  APPLICATION/PDF&lt;br /&gt;
JANUS WEB JANWEB TYPE *.JAV  APPLET/JAVA&lt;br /&gt;
JANUS WEB JANWEB TYPE *.JAVA APPLET/JAVA&lt;br /&gt;
 &lt;br /&gt;
&amp;amp;#42; Set the rules for what we do when specific URLs come in.&lt;br /&gt;
 &lt;br /&gt;
JANUS WEB JANWEB ON /*       SEND *&lt;br /&gt;
JANUS WEB JANWEB ON /       SEND HTML_MAIN&lt;br /&gt;
JANUS WEB JANWEB ON /JANUS  SEND HTML_MAIN&lt;br /&gt;
 &lt;br /&gt;
&amp;amp;#42; These re-mappings aren&amp;#039;t really necessary, they are&lt;br /&gt;
&amp;amp;#42; just done so Model 204 procedures that have similar&lt;br /&gt;
&amp;amp;#42; contents can be sorted together because they start&lt;br /&gt;
&amp;amp;#42; with the same characters.  In other words, when a URL&lt;br /&gt;
&amp;amp;#42; comes in for the picture &amp;#039;FASTCAR.GIF&amp;#039; we will have&lt;br /&gt;
&amp;amp;#42; actually stored it in a procedure called GIF_FASTCAR&lt;br /&gt;
&amp;amp;#42; just to make procedure management simpler.&lt;br /&gt;
 &lt;br /&gt;
JANUS WEB JANWEB ON /*.HTML SEND HTML_*&lt;br /&gt;
JANUS WEB JANWEB ON /*.HTM  SEND HTML_*&lt;br /&gt;
JANUS WEB JANWEB ON /*.GIF  SEND GIF_*&lt;br /&gt;
JANUS WEB JANWEB ON /*.JPG  SEND JPG_*&lt;br /&gt;
JANUS WEB JANWEB ON /*.JAV  SEND JAVA_*&lt;br /&gt;
JANUS WEB JANWEB ON /*.JAVA SEND JAVA_*&lt;br /&gt;
JANUS WEB JANWEB ON /*.PDF  SEND PDF_*&lt;br /&gt;
 &lt;br /&gt;
&amp;amp;#42; These ON commands invoke procedures.  If a URL&lt;br /&gt;
&amp;amp;#42; requests anything in directory CMD or COMMAND, we&lt;br /&gt;
&amp;amp;#42; just execute the URL itself at the Model 204 command level.&lt;br /&gt;
 &lt;br /&gt;
JANUS WEB JANWEB ON /COMMAND/* CMD *&lt;br /&gt;
JANUS WEB JANWEB ON /CMD/*     CMD *&lt;br /&gt;
JANUS WEB JANWEB ON /DEMO/*    CMD &amp;#039;IN FILE JANWEB INCLUDE *&amp;#039;&lt;br /&gt;
JANUS WEB JANWEB ON /SUBSYS/* CMD &amp;#039;APSYMGMT *&amp;#039;&lt;br /&gt;
 &lt;br /&gt;
&amp;amp;#42; Start the server.&lt;br /&gt;
 &lt;br /&gt;
JANUS START JANWEB&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
For more configuration commands, see [[Defining Web rules|&amp;quot;Defining Web rules&amp;quot;]].&lt;br /&gt;
 &lt;br /&gt;
[[Category: Janus Web Server]]&lt;/div&gt;</summary>
		<author><name>JAL2</name></author>
	</entry>
</feed>