Fossil SCM

On the server.wiki page, point to the source code comments that describe the various CGI options.

drh 2017-07-03 13:54 trunk
Commit a8910101c3a5e1cba7fc48d0024d43bbee814487f5717fea048d46961be7f393
1 file changed +7 -1
+7 -1
--- www/server.wiki
+++ www/server.wiki
@@ -176,11 +176,12 @@
176176
for your particular web server. In particular, the following permissions are
177177
<em>normally</em> required (but, again, may be different for a particular
178178
configuration):
179179
180180
<ul>
181
-<li>The Fossil binary must be readable/executable, and ALL directories leading up to it
181
+<li>The Fossil binary (/usr/bin/fossil in the example above)
182
+must be readable/executable, and ALL directories leading up to it
182183
must be readable by the process which executes the CGI.</li>
183184
<li>ALL directories leading to the CGI script must also be readable and the CGI
184185
script itself must be executable for the user under which it will run (which often differs
185186
from the one running the web server - consult your site's documentation or administrator).</li>
186187
<li>The repository file AND the directory containing it must be writable by the same account
@@ -213,10 +214,15 @@
213214
</p>
214215
<p>
215216
Once deployed, a URL like: <b>http://mydomain.org/cgi-bin/repo/XYZ</b>
216217
will serve up the repository "/home/fossil/repos/XYZ.fossil" (if it exists).
217218
</p>
219
+<p>
220
+Additional options available to the CGI script are documented in the
221
+source code. As of 2017-07-02, the available options are described at
222
+[/artifact/9a52a07b?ln=1777-1824|main.c lines 1777 through 1824].
223
+</p>
218224
</blockquote>
219225
220226
<a name="scgi"></a>
221227
<h2>Fossil as SCGI</h2><blockquote>
222228
223229
--- www/server.wiki
+++ www/server.wiki
@@ -176,11 +176,12 @@
176 for your particular web server. In particular, the following permissions are
177 <em>normally</em> required (but, again, may be different for a particular
178 configuration):
179
180 <ul>
181 <li>The Fossil binary must be readable/executable, and ALL directories leading up to it
 
182 must be readable by the process which executes the CGI.</li>
183 <li>ALL directories leading to the CGI script must also be readable and the CGI
184 script itself must be executable for the user under which it will run (which often differs
185 from the one running the web server - consult your site's documentation or administrator).</li>
186 <li>The repository file AND the directory containing it must be writable by the same account
@@ -213,10 +214,15 @@
213 </p>
214 <p>
215 Once deployed, a URL like: <b>http://mydomain.org/cgi-bin/repo/XYZ</b>
216 will serve up the repository "/home/fossil/repos/XYZ.fossil" (if it exists).
217 </p>
 
 
 
 
 
218 </blockquote>
219
220 <a name="scgi"></a>
221 <h2>Fossil as SCGI</h2><blockquote>
222
223
--- www/server.wiki
+++ www/server.wiki
@@ -176,11 +176,12 @@
176 for your particular web server. In particular, the following permissions are
177 <em>normally</em> required (but, again, may be different for a particular
178 configuration):
179
180 <ul>
181 <li>The Fossil binary (/usr/bin/fossil in the example above)
182 must be readable/executable, and ALL directories leading up to it
183 must be readable by the process which executes the CGI.</li>
184 <li>ALL directories leading to the CGI script must also be readable and the CGI
185 script itself must be executable for the user under which it will run (which often differs
186 from the one running the web server - consult your site's documentation or administrator).</li>
187 <li>The repository file AND the directory containing it must be writable by the same account
@@ -213,10 +214,15 @@
214 </p>
215 <p>
216 Once deployed, a URL like: <b>http://mydomain.org/cgi-bin/repo/XYZ</b>
217 will serve up the repository "/home/fossil/repos/XYZ.fossil" (if it exists).
218 </p>
219 <p>
220 Additional options available to the CGI script are documented in the
221 source code. As of 2017-07-02, the available options are described at
222 [/artifact/9a52a07b?ln=1777-1824|main.c lines 1777 through 1824].
223 </p>
224 </blockquote>
225
226 <a name="scgi"></a>
227 <h2>Fossil as SCGI</h2><blockquote>
228
229

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button