Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add help for -f option | Grzegorz Nosek | 2013-02-03 | 1 | -0/+1 |
| | |||||
* | Close FCGI socket before executing script | Grzegorz Nosek | 2013-02-03 | 1 | -0/+2 |
| | | | | | We do it in a rather violent way to avoid FCGI shutdown (the parent must keep the socket alive and working) | ||||
* | Unify CGI error handling | Grzegorz Nosek | 2013-02-03 | 1 | -7/+7 |
| | | | | | | | | | | | | Use the same error handler for 403s and 502s. This basically ports the required fixes from error_403 (previous commit) to the 502 error on failed exec(). Two user-visible side effects: - error message now says "403 Forbidden" instead of "403" - failed exec() gets logged over stderr (also, use \r\n instead of \n as a line seprator but that has been fixed up by the parent process before). | ||||
* | Fix 403 error handling | Grzegorz Nosek | 2013-02-03 | 1 | -19/+21 |
| | | | | | | | | | Report 403 errors over normal stdout/stderr (after setting up the pipes). Properly reporting the error response over stdout requires: - flushing the I/O, which would otherwise get buffered - skipping atexit handlers (would otherwise close the FCGI connection cleanly, interfering with the parent process still trying to talk over it) | ||||
* | Check file permissions even when we get full path over FastCGI | Grzegorz Nosek | 2013-02-03 | 1 | -0/+2 |
| | | | | | It's not a security issue (executing the file would fail, anyway) but it's a sensible sanity check. | ||||
* | Merge pull request #8 from falconindy/master | Grzegorz Nosek | 2012-09-08 | 2 | -3/+5 |
|\ | | | | | Minor buildsys fixes | ||||
| * | Correct invalid defintion in configuring systemd support | Dave Reisner | 2012-09-08 | 1 | -2/+1 |
| | | | | | | | | | | | | | | This was an unfortunate copypasta error that slipped in with 9836d6d22. The HAVE_SYSTEMD macro should only be defined based on the presence of the library, not the unit files, since the units are useless without the library support. | ||||
| * | Makefile.in: define dummy datarootdir variable | Dave Reisner | 2012-09-08 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | This suppresses a warning on ./configure for a directory which fcgiwrap does not use: config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting | ||||
| * | simplify build rule for fcgiwrap | Dave Reisner | 2012-08-23 | 1 | -1/+3 |
|/ | | | | | | | Add flags and libraries to the respective environment vars and let make figure out the order on its own. This provides support for unmentioned vars such as LDFLAGS implicitly, as the compilation rule isn't explicitly defined. | ||||
* | Merge pull request #7 from falconindy/systemd | Grzegorz Nosek | 2012-08-21 | 4 | -0/+32 |
|\ | | | | | add systemd unit files for installation | ||||
| * | add systemd unit files for installation | Dave Reisner | 2012-08-21 | 4 | -0/+32 |
|/ | | | | | These are automatically installed iff systemd support is compiled into fcgiwrap. | ||||
* | Merge pull request #6 from falconindy/systemd | Grzegorz Nosek | 2012-08-21 | 3 | -24/+59 |
|\ | | | | | systemd socket activation support | ||||
| * | Cleanup -Wmissing-prototypes compiler warnings | Dave Reisner | 2012-08-19 | 1 | -5/+5 |
| | | |||||
| * | Add support for socket activation via systemd | Dave Reisner | 2012-08-19 | 3 | -1/+30 |
| | | | | | | | | | | | | This prevents the need for starting fcgiwrap explicitly, or using a tool such as spawn-fcgi. The type of socket does not matter, we merely accept a single FD passed from pid 1 and listen on it. | ||||
| * | split listen() logic into separate function | Dave Reisner | 2012-08-19 | 1 | -18/+24 |
|/ | |||||
* | Merge pull request #5 from goochjj/master | Grzegorz Nosek | 2011-12-08 | 2 | -2/+16 |
|\ | | | | | STDERR redirection back through the FCGI socket | ||||
| * | fix manpage - add -f option | Joe Gooch | 2011-12-08 | 1 | -0/+6 |
| | | |||||
| * | Create -f option to allow sending stderr to fcgi logs | Joseph Gooch | 2011-12-08 | 1 | -2/+10 |
|/ | |||||
* | support LDFLAGS | Nikoli | 2010-09-15 | 1 | -1/+1 |
| | |||||
* | Add missing escaping to minus signs. | Jordi Mallach | 2010-09-08 | 1 | -2/+2 |
| | | | | | | "-" must be escaped ("\-") to be interpreted as minus. Signed-off-by: Jordi Mallach <jordi@debian.org> | ||||
* | [GH-2] Advance configure.ac version to 1.0.3 | Grzegorz Nosek | 2010-08-23 | 1 | -1/+1 |
| | |||||
* | fixing compilation under FreeBSD | Quentin Stievenart | 2010-08-16 | 1 | -0/+1 |
| | |||||
* | Create folder for man prior to the installation. | Ron Huang | 2010-06-11 | 1 | -0/+2 |
| | |||||
* | Add `-s' option to enable binding by fcgiwrap itself | Grzegorz Nosek | 2010-06-03 | 2 | -4/+144 |
| | | | | This should ease testing and deployment in simpler cases | ||||
* | Use SCRIPT_FILENAME environment variable when available | Grzegorz Nosek | 2010-06-03 | 2 | -4/+16 |
| | | | | | | If present, it overrides DOCUMENT_ROOT and SCRIPT_NAME and prevents mangling of PATH_INFO. Should allow cleaner configs when script names don't come from request URIs directly. | ||||
* | Jordi Mallach's email has been corrected as requested by him. | W-Mark Kubacki | 2010-06-02 | 2 | -1/+2 |
| | | | | He's been added to the contributors in README.rst. | ||||
* | added handling of manpages to makefile | W-Mark Kubacki | 2010-05-25 | 1 | -1/+2 |
| | |||||
* | adjusted option _-c_ help text | W-Mark Kubacki | 2010-05-25 | 1 | -1/+1 |
| | |||||
* | fcgiwrap to rely on definitions provided by autoconf/autoreconf | W-Mark Kubacki | 2010-05-25 | 5 | -7/+12 |
| | |||||
* | nitpicks as described in today's email to Mark | Jordi Mallach | 2010-05-25 | 1 | -4/+4 |
| | | | | Signed-off-by: W-Mark Kubacki <wmark@hurrikane.de> | ||||
* | renamed: gnosek-fcgiwrap.8 -> fcgiwrap.8 | W-Mark Kubacki | 2010-05-25 | 1 | -0/+0 |
| | |||||
* | added configuration examples to manpage | W-Mark Kubacki | 2010-05-25 | 1 | -1/+45 |
| | |||||
* | replaced occurences of 'gnosek-fcgiwrap' by 'fcgiwrap' | W-Mark Kubacki | 2010-05-25 | 1 | -4/+4 |
| | |||||
* | manpage as contributed by Jordi Mallach | Jordi Mallach | 2010-05-25 | 1 | -0/+38 |
| | | | | Signed-off-by: W-Mark Kubacki <wmark@hurrikane.de> | ||||
* | help screen, along with version set to 1.0 | W-Mark Kubacki | 2010-03-22 | 1 | -1/+13 |
| | |||||
* | Makefile: DESTDIR and --prefix support | W-Mark Kubacki | 2010-03-22 | 2 | -5/+10 |
| | |||||
* | grammar | W-Mark Kubacki | 2010-03-22 | 2 | -2/+2 |
| | |||||
* | oldest possible autoconf is 2.61, with separation of troublesome functions | W-Mark Kubacki | 2010-03-22 | 1 | -2/+3 |
| | |||||
* | abort configuration if something is missing | W-Mark Kubacki | 2010-03-22 | 1 | -3/+4 |
| | |||||
* | Makefile: proper clean and distclean targets | W-Mark Kubacki | 2010-03-22 | 1 | -1/+8 |
| | |||||
* | typo | W-Mark Kubacki | 2010-03-18 | 1 | -1/+1 |
| | |||||
* | README: contributors | W-Mark Kubacki | 2010-03-18 | 1 | -0/+1 |
| | |||||
* | README | W-Mark Kubacki | 2010-03-18 | 1 | -0/+41 |
| | |||||
* | git to ignore auto-generated files | W-Mark Kubacki | 2010-03-18 | 1 | -0/+5 |
| | |||||
* | input files and substitution variables for autoconf | W-Mark Kubacki | 2010-03-18 | 2 | -1/+38 |
| | |||||
* | Makefile renamed to be modified to be input for autoconf | W-Mark Kubacki | 2010-03-18 | 1 | -0/+0 |
| | |||||
* | Compile fixes for OpenBSD | Grzegorz Nosek | 2009-07-17 | 1 | -2/+3 |
| | | | | Thanks to Toni Mueller, original author of the patch | ||||
* | Officially release fcgiwrap under the MIT licence | Grzegorz Nosek | 2009-03-17 | 1 | -0/+25 |
| | |||||
* | Close child's pipe ends after dup2()ing them to the right places | Grzegorz Nosek | 2009-03-17 | 1 | -0/+4 |
| | | | | Thanks to Fenixk19 for the report and patch. | ||||
* | Better diagnostics for 403 errors | Grzegorz Nosek | 2009-02-28 | 1 | -12/+19 |
| | | | | Passed via FastCGI stderr, so should end up in webserver's error log |