26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
like this:
<blockquote><verbatim>
#!/usr/bin/fossil
repository: /home/www/fossils/myproject.fossil
</verbatim></blockquote>
Of course, pathnames will likely be different. The first line (the "shebang")
always gives the name of the Fossil executable. Subsequent lines are of
the form "<b>property: argument ...</b>".
The remainder of this document describes the available properties and
their arguments.
<hr>
<h2 id="repository">repository: <i>PATH</i></h2>
This property defines the Fossil repository that the server will use.
Every Fossil CGI requires either this property or the
[#directory|<b>directory:</b>] property (but not both).
Many Fossil repository sets have this one property and no other.
<h2 id="directory">directory: <i>PATH</i></h2>
The PATH is the name of a directory that contains one or more Fossil
repository files having the suffix ".fossil". If this property is used
instead of [#repository|<b>repository:</b>], then the Fossil server is
able to serve all of the repositories in the directory. The specific
|
|
>
|
|
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
like this:
<blockquote><verbatim>
#!/usr/bin/fossil
repository: /home/www/fossils/myproject.fossil
</verbatim></blockquote>
Of course, pathnames will likely be different. The first line
(the "[wikipedia:/wiki/Shebang_(Unix)|shebang]")
always gives the name of the Fossil executable. Subsequent lines are of
the form "<b>property: argument ...</b>".
The remainder of this document describes the available properties and
their arguments.
<hr>
<h2 id="repository">repository: <i>PATH</i></h2>
This property defines the Fossil repository that the server will use.
Every Fossil CGI requires either this property or the
[#directory|<b>directory:</b>] property (but not both).
Many Fossil CGI scripts have this one property and no other.
<h2 id="directory">directory: <i>PATH</i></h2>
The PATH is the name of a directory that contains one or more Fossil
repository files having the suffix ".fossil". If this property is used
instead of [#repository|<b>repository:</b>], then the Fossil server is
able to serve all of the repositories in the directory. The specific
|
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
<h2 id="localauth">localauth</h2>
This is a Boolean property.
If it is present, [./caps/ref.html#s | setup capability]
is granted to any HTTP request that
comes in over a loopback interface, such as 127.0.0.1.
If the PATH_INFO string is empty, Fossil will show a list
of available Fossil repositories.
<h2 id="skin">skin: <i>NAME</i></h2>
If NAME is the name of one of the built-in skins supported by Fossil,
then this option causes Fossil to display using that built-in skin,
and to ignore any custom skin that might be configured in the repository
itself.
|
<
<
|
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
<h2 id="localauth">localauth</h2>
This is a Boolean property.
If it is present, [./caps/ref.html#s | setup capability]
is granted to any HTTP request that
comes in over a loopback interface, such as 127.0.0.1.
<h2 id="skin">skin: <i>NAME</i></h2>
If NAME is the name of one of the built-in skins supported by Fossil,
then this option causes Fossil to display using that built-in skin,
and to ignore any custom skin that might be configured in the repository
itself.
|