<script>
  <!-- register Deki services -->
  <action verb="POST" path="/host/load?name=mindtouch.deki" />
  <action verb="POST" path="/host/load?name=mindtouch.deki.services" />
  <action verb="POST" path="/host/load?name=mindtouch.indexservice" />

  <!-- start Deki services -->
  <action verb="POST" path="/host/services">
    <config>

      <!-- Service startup -->
      <!-- deki: relative path for deki-api service. I.e., http://host/deki -->
      <!-- sid: the serviceid points to a class that represents the service for startup-->
      <path>deki</path>
      <sid>http://services.mindtouch.com/deki/draft/2006/11/dekiwiki</sid>
      
      <!-- Global settings -->
      <apikey>  </apikey>
      <!-- deki-path: full path to dekiwiki php (pointed to by web server) -->
      <!-- imagemagick-ignore-list: comma separated list of file extensions to bypass image preview -->
      <!-- imagemagick-convert-path: full path to imagemagick convert (used to generate image previews) -->
      <!-- imagemagick-identify-path: full path to imagemagick identify (used to determine image dimensions) -->
      <!-- deki-resources-path: path to deki-wiki resources directory containing txt files with localized strings. 
              Resource files are searched in the order "resources.custom.txt" -> "resources-[language]-[culture].txt" -> "resources-[language].txt" -> "resources.txt" 
              where [language] and [culture] are standard two letter abbreviations such as en-us -->
      <!-- dblogging-conn-string: DB connection string for detailed logging of deki-api requests/responses. Comment out to disable this logging -->
      <deki-path>C:\mindtouch\public\dekiwiki\trunk\web</deki-path>
      <imagemagick-convert-path>C:\mindtouch\public\dekiwiki\trunk\src\tools\mindtouch.dekihost.setup\convert.exe 
</imagemagick-convert-path>
      <imagemagick-identify-path>C:\mindtouch\public\dekiwiki\trunk\src\tools\mindtouch.dekihost.setup\identify.exe</imagemagick-identify-path>
      <deki-resources-path>C:\mindtouch\public\dekiwiki\trunk\web\resources</deki-resources-path>
      <!-- dblogging-conn-string>Server=localhost;Port=3306;Database=wikidb;Uid=wikiuser;Pwd=password;pooling=true; Connection Timeout=5; Protocol=sockets; Min Pool Size=1; Max Pool Size=100; Connection Reset=false;character set=utf8;ProcedureCacheSize=25;Use Procedure Bodies=true;</dblogging-conn-string -->
               
      <!-- Per instance and multi-instance settings -->
	<wikis>
 	 <config id="default">
          	<host>*</host>

 		<!-- db-server: hostname/ip of database for this instance-->
 		<!-- db-port: db port (default 3306 for mysql)-->
 		<!-- db-catalog: catalog or database name for this instance -->
 		<!-- db-user: db account to use. Ensure full access to the catalog and rights to exec stored procs.-->
 		<!-- db-password: password for db account-->
 		<!-- db-options: other connection string settings. Ensure db connection pooling is enabled and that the connection supports utf8 encoding-->

 		<db-server>dbhostname</db-server>
 		<db-port>3306</db-port>
 		<db-catalog>wikidb</db-catalog>
 		<db-user>wikiuser</db-user>
 		<db-password hidden="true">password</db-password>
 		<db-options>pooling=true; Connection Timeout=5; Protocol=socket; Min Pool Size=2; Max Pool Size=50; Connection Reset=false;character set=utf8;ProcedureCacheSize=25;Use Procedure Bodies=true;</db-options>
  	 </config>

	 <!-- Add more <config> sections to enable multiple wikis to be hosted by one Deki service -->
 	 <!--config id="foowiki">
 		<host>foo</host> 
 		<host>foowiki</host>
 		<host>foowiki.hostname.com</host>

 		<db-server>dbhostname</db-server>
 		<db-port>3306</db-port>
 		<db-catalog>foowiki</db-catalog>
 		<db-user>foowikiuser</db-user>
 		<db-password hidden="true">password</db-password>
 		<db-options>pooling=true; Connection Timeout=5; Protocol=socket; Min Pool Size=2; Max Pool Size=50; Connection Reset=false;character set=utf8;ProcedureCacheSize=25;Use Procedure Bodies=true;</db-options>
 	 </config-->
 	</wikis>

 	<indexer>
        	<path.store>/usr/local/var/luceneindex</path.store>
        	<filter-path extension="doc">/opt/deki/bin/filters/wvText</filter-path>
        	<filter-path extension="pdf">/opt/deki/bin/filters/pdf2text</filter-path>
        	<filter-path extension="xhtml">/opt/deki/bin/filters/html2text</filter-path>
        	<filter-path extension="html">/opt/deki/bin/filters/html2text</filter-path>
        	<filter-path extension="htm">/opt/deki/bin/filters/html2text</filter-path>
        	<filter-path extension="docx">/opt/deki/bin/filters/docx2txt</filter-path>
        	<filter-path extension="odt">/opt/deki/bin/filters/odt2txt</filter-path>
        	<filter-path extension="odp">/opt/deki/bin/filters/odp2txt</filter-path>
        	<filter-path extension="ppt">/opt/deki/bin/filters/ppt2txt</filter-path>
        	<filter-path extension="pptx">/opt/deki/bin/filters/pptx2txt</filter-path>
        	<filter-path extension="xls">/opt/deki/bin/filters/xls2txt</filter-path>
        	<filter-path extension="pl"></filter-path>
        	<filter-path extension="c"></filter-path>
        	<filter-path extension="h"></filter-path>
        	<filter-path extension="inc"></filter-path>
        	<filter-path extension="php"></filter-path>
        	<filter-path extension="cs"></filter-path>
        	<filter-path extension="txt"></filter-path>
        	<filter-path extension="csv"></filter-path>
        	<filter-path extension="xml"></filter-path>
        	<filter-path extension="xsl"></filter-path>
        	<filter-path extension="xslt"></filter-path>
 	</indexer>

    </config>
  </action>
</script>
