Fossil ISAPI

Artifact [e4bd9a4c86]
Login

Artifact e4bd9a4c869362e53fc05aa24e83b729d1d8ccb7:

Wiki page [fossilisapi] by kamyar1979 2012-12-23 10:46:46.
D 2012-12-23T10:46:46.033
L fossilisapi
P d92c60647a88057d52cfd89ae9706d715ab7bdcd
U kamyar1979
W 1391
<h2>Fossil ISAPI Extension</h2>

<p><i>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.</i></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: path/to/fossil/file</p>

<p>Or</p>

<p>directory: path/to/folder</p>

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

<p>Set FOSSIL_CONF=path/to/cgi/file</p>

<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>

Z 9c1c12aea0106c4f9a0a7041836cd715