Helicon Zoo

Enabling / disabling web engines

Switchboards allow enabling or disabling individual web engines for selected locations. These are useful for web hosting administrators who need to restrict user access for particular engines or other Helicon Zoo features. Switchboards – are collections of web applications engines and Helicon Zoo features that can be set on or off in different IIS contexts using applicationHost.config file. Normally switchboards are written inside <heliconZooServer> tag of applicationHost.config. Please consider following examples of switchboard usage:

Disable all engines and console by default. Enable only PHP:

<heliconZooServer>
  ...
  <switchboard>
    <clear />
    <add name="*" value="disabled" />
    <add name="console" value="disabled" />
    <add name="php.5.2.pipe" value="enabled" />
    <add name="php.5.3.pipe" value="enabled" />
  </switchboard>

Enable Web console and Ruby engines for 'mydomain.com' web site:

<location path="mydomain.com">
 <system.webServer>
  <heliconZooServer>
     ...
     <switchboard>
        <add name="console" value="enabled" />
        <add name="ruby.1.8.rack" value="enabled" />
        <add name="ruby.1.9.rack" value="enabled" />
        <add name="ruby.2.0.rack" value="enabled" />
        <add name="ruby.1.8.http" value="enabled" />
        <add name="ruby.1.9.http" value="enabled" />
        <add name="ruby.2.0.http" value="enabled" />
     </switchboard>

For a convenience you can use Helicon Zoo Manager to enable or disable Zoo engines for particular locations instead of editing applicationHost.config manually.