Fossil SCM
On the server.wiki page, point to the source code comments that describe the various CGI options.
Commit
a8910101c3a5e1cba7fc48d0024d43bbee814487f5717fea048d46961be7f393
Parent
86d4754a7ad48f2…
1 file changed
+7
-1
+7
-1
| --- www/server.wiki | ||
| +++ www/server.wiki | ||
| @@ -176,11 +176,12 @@ | ||
| 176 | 176 | for your particular web server. In particular, the following permissions are |
| 177 | 177 | <em>normally</em> required (but, again, may be different for a particular |
| 178 | 178 | configuration): |
| 179 | 179 | |
| 180 | 180 | <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 | |
| 182 | 183 | must be readable by the process which executes the CGI.</li> |
| 183 | 184 | <li>ALL directories leading to the CGI script must also be readable and the CGI |
| 184 | 185 | script itself must be executable for the user under which it will run (which often differs |
| 185 | 186 | from the one running the web server - consult your site's documentation or administrator).</li> |
| 186 | 187 | <li>The repository file AND the directory containing it must be writable by the same account |
| @@ -213,10 +214,15 @@ | ||
| 213 | 214 | </p> |
| 214 | 215 | <p> |
| 215 | 216 | Once deployed, a URL like: <b>http://mydomain.org/cgi-bin/repo/XYZ</b> |
| 216 | 217 | will serve up the repository "/home/fossil/repos/XYZ.fossil" (if it exists). |
| 217 | 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> | |
| 218 | 224 | </blockquote> |
| 219 | 225 | |
| 220 | 226 | <a name="scgi"></a> |
| 221 | 227 | <h2>Fossil as SCGI</h2><blockquote> |
| 222 | 228 | |
| 223 | 229 |
| --- 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 |