Fossil

Check-in [85cfdd192a]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add a few environment variables mentioned in recent check-in comments to the documentation.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 85cfdd192ab3e012e324f1de0b28e89cd7318b21bce33363802a2789ab01a3f3
User & Date: florian 2022-01-21 06:12:00.000
References
2022-01-23
09:16
Another follow-up to commits [85cfdd192a] and [6eeb7ec10e]: In the document to explain how Fossil reads environment variables to customize its behavior, do not mention how Fossil writes environment variables to customize the behavior of CGI programs, as that seems off-topic and confusing. check-in: c7abbe1ee6 user: florian tags: trunk
Context
2022-01-21
11:38
Fix the previous check-in to list environment variables used by the CGI Server Extensions feature in the correct place. check-in: 6eeb7ec10e user: florian tags: trunk
06:49
Forward XPCFLAGS and XPLDFLAGS to the OpenSSL build process to fix Windows XP builds with MSVC. This affects builds with FOSSIL_ENABLE_WINXP=1 and FOSSIL_BUILD_SSL=1. XPLDFLAGS is only relevant if FOSSIL_DYNAMIC_BUILD=1 also set, and is applied in a post-build step to work around the difficulties to append (MSVC) linker flags to the OpenSSL defaults. NOTE: Pending more tests, and back-porting to tools/makemake.tcl. check-in: b9d40d68dc user: florian tags: msvc-openssl-winxp
06:12
Add a few environment variables mentioned in recent check-in comments to the documentation. check-in: 85cfdd192a user: florian tags: trunk
2022-01-20
21:43
The test-httpmsg command does not need to open a repository. check-in: b145f19df5 user: drh tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/db.c.
4289
4290
4291
4292
4293
4294
4295



4296
4297
4298
4299
4300
4301
4302
**
** If set, this will override the OS default list of
** OpenSSL CAs. If unset, the default list will be used.
** Some platforms may add additional certificates.
** Checking your platform behaviour is required if the
** exact contents of the CA root is critical for your
** application.



*/
/*
** SETTING: ssl-identity     width=40 sensitive
** The full pathname to a file containing a certificate
** and private key in PEM format. Create by concatenating
** the certificate and private key files.
**







>
>
>







4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
**
** If set, this will override the OS default list of
** OpenSSL CAs. If unset, the default list will be used.
** Some platforms may add additional certificates.
** Checking your platform behaviour is required if the
** exact contents of the CA root is critical for your
** application.
**
** This setting is overridden by environment variables
** SSL_CERT_FILE and SSL_CERT_DIR.
*/
/*
** SETTING: ssl-identity     width=40 sensitive
** The full pathname to a file containing a certificate
** and private key in PEM format. Create by concatenating
** the certificate and private key files.
**
Changes to www/env-opts.md.
225
226
227
228
229
230
231
232




233



234
235
236
237
238
239
240
the remote host.

`REQUEST_METHOD`: If defined, included in error log messages.

`REQUEST_URI`: If defined, included in error log messages.

`SCRIPT_NAME`: If defined, included in error log messages.





`SSH_CONNECTION`: Informs CGI processing if the remote client is SSH.




`SQLITE_FORCE_PROXY_LOCKING`: From `sqlite3.c`, 1 means force always
use proxy, 0 means never use proxy, and undefined means use proxy for
non-local files only.

`SQLITE_TMPDIR`: Names the temporary file location for SQLite.  When
set, this will be used instead of `TMPDIR`.








>
>
>
>

>
>
>







225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
the remote host.

`REQUEST_METHOD`: If defined, included in error log messages.

`REQUEST_URI`: If defined, included in error log messages.

`SCRIPT_NAME`: If defined, included in error log messages.

`SERVER_SOFTWARE`: Set to the Fossil version when invoking [CGI-based
extensions](/help?cmd=/ext).  Also includes the program name if the
variable was already defined for the current server environment.

`SSH_CONNECTION`: Informs CGI processing if the remote client is SSH.

`SSL_CERT_FILE`, `SSL_CERT_DIR`: Override the [`ssl-ca-location`]
(/help?cmd=ssl-ca-location) setting.

`SQLITE_FORCE_PROXY_LOCKING`: From `sqlite3.c`, 1 means force always
use proxy, 0 means never use proxy, and undefined means use proxy for
non-local files only.

`SQLITE_TMPDIR`: Names the temporary file location for SQLite.  When
set, this will be used instead of `TMPDIR`.