<h2>Fossil ISAPI Extension</h2>

<p>This is Microsoft IIS 6/7 ISAPI Extension for loading fossil.exe az a CGI.
The main goal of this project is to resolve Microsoft Windows lack of 'Magic
Line' support (First line of script files) which makes IIS do not load
fossil.exe CGI as well as Apache.</p>

<p>You need to copy fossil.exe into one your PATH folders so that by typing
fossil in command line the executable loads and runs. Then, you must make your
own CGI configuration file as like in Apache:</p>

<p>repository:

<p>Or</p>

<p>directory:

<p>Then, create a new Environment variable named FOSSIL_CONF pointing this
file.</p>

<p>Set

<p>Note: The true way of doing this is using System properties in Windows,
since using set command, the variable is set only for the current cmd instance.
Since you are using IIS and probably you need your repository to load at system
startup, you must use a way to set the variable permanently. Use
Systemproperties -&gt; Advance -&gt; Environment variables -&gt; System.</p>

<p>Now just define a virtual directory or website in your IIS configuration,
and simply add a new handler to you handler mappings:</p>

<p>Handler Mappings -&gt;Wildcard Script Map -&gt; executable: fossilisapi.dll
(Name can be anything)</p>

<p>That is it!</p>

<p><br>
</p>

<p><br>
</p>