Daisy documentation
 PreviousHomeNext 
10.8 Running Apache and DaisyBook Index10.9.2 IIS

10.9 IIS and Daisy

To set IIS as a proxy for Daisy you should do the following.

10.9.1 Configure Daisy

Add an AJP listener to Daisy. This can be done in the <WIKIDATA>/jetty-daisywiki.xml. This will override the standard daisy jetty configuration.

If you are using service scripts then you should edit the configuration so that the wrapper scripts will use the jetty-daisywiki.xml found in the wikdata directory. Wrapper configuration is found in <wikidata>/service.

The file should look a bit like this.

<?xml version="1.0"?>

<Configure class="org.mortbay.jetty.Server">

  <Call name="addListener">
    <Arg>
      <New class="org.mortbay.http.SocketListener">
        <Set name="Port"><SystemProperty name="jetty.port" default="8888"/></Set>
        <Set name="MinThreads">5</Set>
        <Set name="MaxThreads">100</Set>
        <Set name="MaxIdleTimeMs">30000</Set>
        <Set name="LowResourcePersistTimeMs">5000</Set>
      </New>
    </Arg>
  </Call>

  <Call name="addListener">
    <Arg>
      <New class="org.mortbay.http.ajp.AJP13Listener">
        <Set name="port">8009</Set>
        <Set name="MinThreads">5</Set>
        <Set name="MaxThreads">100</Set>
      </New>
    </Arg>
  </Call>

  <Call name="addWebApplication">
    <Arg>/</Arg>
    <Arg><SystemProperty name="daisywiki.home"/>/webapp</Arg>
    <Set name="defaultsDescriptor"><SystemProperty name="daisywiki.home"/>/conf/jetty-daisywiki-defaults.xml</Set>
  </Call>

</Configure>
 PreviousHomeNext 
10.8 Running Apache and Daisy10.9.2 IIS