Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add in the REQUEST_SCHEMA environment variable for compatibility with Apache. See Fossil forum post cb17013d06 |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
418572368b75ef15b17d00da27b68528 |
User & Date: | drh 2020-12-12 13:22:27 |
Context
2020-12-12
| ||
14:48 | In the previous check-in REQUEST_SCHEMA should be REQUEST_SCHEME. An "E" at the end, not an "A". ... (check-in: d0a18219db user: drh tags: trunk) | |
13:22 | Add in the REQUEST_SCHEMA environment variable for compatibility with Apache. See Fossil forum post cb17013d06 ... (check-in: 418572368b user: drh tags: trunk) | |
2020-12-09
| ||
13:36 | Remove a (harmless) redundant call to StartResponse() from the Redirect() routine. Ticket [274eeaa5000d0d8c] ... (check-in: e71d09ac16 user: drh tags: trunk) | |
Changes
Changes to althttpd.c.
︙ | ︙ | |||
2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 | for(i=0; i<(int)(sizeof(cgienv)/sizeof(cgienv[0])); i++){ if( *cgienv[i].pzEnvValue ){ SetEnv(cgienv[i].zEnvName,*cgienv[i].pzEnvValue); } } if( useHttps ){ putenv("HTTPS=on"); } /* For the POST method all input has been written to a temporary file, ** so we have to redirect input to the CGI script from that file. */ if( zMethod[0]=='P' ){ if( dup(0)<0 ){ | > > > | 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 | for(i=0; i<(int)(sizeof(cgienv)/sizeof(cgienv[0])); i++){ if( *cgienv[i].pzEnvValue ){ SetEnv(cgienv[i].zEnvName,*cgienv[i].pzEnvValue); } } if( useHttps ){ putenv("HTTPS=on"); putenv("REQUEST_SCHEMA=https"); }else{ putenv("REQUEST_SCHEMA=http"); } /* For the POST method all input has been written to a temporary file, ** so we have to redirect input to the CGI script from that file. */ if( zMethod[0]=='P' ){ if( dup(0)<0 ){ |
︙ | ︙ |