Fossil

Check-in [5b5cbfc9]
Login

Check-in [5b5cbfc9]

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

Overview
Comment:Update SCGI docs based on feedback from the mailing list.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5b5cbfc92628787d551ac1e9936438b6fdb80c90
User & Date: mistachkin 2016-04-12 14:19:37.603
Context
2016-04-13
08:19
Update <dirent.h> for Visual Studio to latest version 1.21 (September 2015) ... (check-in: dd498bba user: jan.nijtmans tags: trunk)
2016-04-12
14:19
Update SCGI docs based on feedback from the mailing list. ... (check-in: 5b5cbfc9 user: mistachkin tags: trunk)
2016-04-11
23:23
Fix typo in docs. ... (check-in: 16ef8ee9 user: mistachkin tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to www/scgi.wiki.
13
14
15
16
17
18
19

20
21
22
23
24
25
26
this in Nginx is:

<blockquote><pre>
location ~ ^/demo_project/ {
    include scgi_params;
    scgi_pass localhost:9000;
    scgi_param SCRIPT_NAME "/demo_project";

}
</pre></blockquote>

Note that Nginx does not normally send either the PATH_INFO or SCRIPT_NAME
variables via SCGI, but Fossil needs one or the other.  So the configuration
above needs to add SCRIPT_NAME.  If you do not do this, Fossil returns an
error.







>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
this in Nginx is:

<blockquote><pre>
location ~ ^/demo_project/ {
    include scgi_params;
    scgi_pass localhost:9000;
    scgi_param SCRIPT_NAME "/demo_project";
    scgi_param HTTPS "on";
}
</pre></blockquote>

Note that Nginx does not normally send either the PATH_INFO or SCRIPT_NAME
variables via SCGI, but Fossil needs one or the other.  So the configuration
above needs to add SCRIPT_NAME.  If you do not do this, Fossil returns an
error.