|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
<b>NOTE: </b>This guide was tested on Apache v2.2.19 for Windows XP.
It is easy to to host a fossil repository via CGI with Apache for Windows XP. Follow these steps:
<ol>
<li>Install Fossil to a local directory and add the directory to the PATH environment variable.</li>
<li>Install the Apache web server.</li>
<li>In the Apache install path, find the <i>cgi-bin</i> folder.</li>
<li>Create a new <i>.cgi</i> file that will be used to access a local Fossil repository; e.g. <i>example.cgi</i></li>
<li>Edit the new file as follows:
<pre>
<code>
#!fossil.exe
repository: C:\path_to_repository\example.fossil
</code>
</pre>
<li>Save the changes to the file and check that the repository is accessible at the following URL: <i>http://hostname/cgi-bin/example.cgi</i>
</ol>
|