summaryrefslogtreecommitdiff
path: root/sapi/cgi/cgi_main.c
Commit message (Collapse)AuthorAgeFilesLines
* Generate content-type header, if the user did not specify one of its own.Sascha Schumann2002-07-041-0/+10
| | | | | Noticed by: Edin Kadribasic <edink@proventum.net>
* Add CRLF after complete HTTP reply headerSascha Schumann2002-07-031-0/+1
|
* Use "Status: %d" instead of "HTTP/1.0 %d X" in the CGI SAPI moduleSascha Schumann2002-07-031-6/+18
| | | | | | | | | | | as per the CGI RFC. The status notation is incompatible with Apache's non-parsed-header mode "nph-*", but that has never worked before anyway. One could make the format string configurable. Noticed by: Sebastian Bergmann
* - Revert WS changesAndi Gutmans2002-06-221-2/+0
|
* - This shouldn't have snuck in.Andi Gutmans2002-06-221-1/+0
|
* - Stop using persist_alloc().Andi Gutmans2002-06-221-6/+20
|
* Merge from cli.Edin Kadribasic2002-05-261-5/+2
|
* Added copyright notice to php -v output.Edin Kadribasic2002-05-111-1/+1
|
* Revert to the old php_ini.c, and reimplement the binary-path searching.Zeev Suraski2002-05-111-0/+2
| | | | | Should now also work under UNIX (CLI/CGI)
* - Prefix the first version line with 'PHP' so it's easier to use shell tools toMarkus Fischer2002-05-101-1/+1
| | | | | parse the version number (both CLI and CGI).
* - This affects both CGI and CLI sapi:Markus Fischer2002-05-101-2/+1
| | | | | | Remove Zend version output from -m switch and move it over to the output of the -v switch (-v is supposed to list version numbers, not -m).
* Backed out preceding change.Preston L. Bannister2002-05-091-8/+0
|
* Detect when running under IIS and default force_redirect to zero. This This ↵Preston L. Bannister2002-05-091-0/+8
| | | | | | | means an explicit php.ini setting is no longer required. (No extraneous whitespace changes this time :).
* Revert the last patches.foobar2002-05-091-739/+731
|
* Detect when running under IIS and not require explicit setting of ↵Preston L. Bannister2002-05-091-731/+739
| | | | | | | force_redirect. This means an explicit php.ini setting is no longer required.
* Added the current SAPI to the output of php -vSander Roobol2002-05-091-1/+1
|
* Fixed some minor typosSander Roobol2002-05-021-3/+3
|
* Fix build.Sebastian Bergmann2002-05-021-2/+2
|
* updated cgi warning notice.James Cox2002-05-021-0/+2
|
* CGI/CLI take file and dir for -c option by this.Yasuo Ohgaki2002-04-121-15/+15
| | | | | @ Both 'file' and 'path to php.ini' is allowed for "-c" cli/cgi option. (Yasuo)
* fix quotingWez Furlong2002-04-021-1/+1
|
* just did...James Cox2002-04-021-1/+0
|
* updated the alert sent to the browser. removed the verbosity, and linked to ↵James Cox2002-04-021-14/+6
| | | | more info.
* add security impersonation feature for running under IIS securityShane Caraveo2002-03-181-0/+18
|
* woohoo, take some credit!Shane Caraveo2002-03-101-0/+2
|
* children should be zero by default, enable by setting PHP_FCGI_CHILDREN env var.Shane Caraveo2002-03-101-1/+1
|
* combine fastcgi capability with regular cgi binaryShane Caraveo2002-03-101-13/+255
| | | | | | | | | include fastcgi library for ease of windows builds NOTE: included fastcgi library is modified for thread safety, but fastcgi support in cgi_main.c is only written for single threaded serving. This does not present any issue for using fastcgi.
* - Put them back (and do it right)Derick Rethans2002-03-061-0/+6
|
* - Remove unused variablesDerick Rethans2002-03-061-2/+0
|
* add comment for IIS usersShane Caraveo2002-03-011-14/+15
| | | | | fix some whitespace
* This is much better. With FORCE_CGI_REDIRECT turned on by default for ↵Shane Caraveo2002-03-011-7/+14
| | | | | | | | | | | | | compilation, we can now define this in the ini file. So it can be turned on for apache, turned off for IIS which does not have a redirect issue. Alternately, a different 'REDIRECT_STATUS' environment var can be defined in case some web server out there needs it. new ini vars cgi.force_redirect 0|1 cgi.redirect_status_env ENV_VAR_NAME
* fix force redirect crash under multithreaded compileShane Caraveo2002-03-011-8/+22
| | | | | | | should be discused: fix redirect detection to only work with apache or netscape, where we know they set an environment variable regarding redirect. IIS has no security issue here. Don't know about other windows web servers.
* - Make the errorcode 255. (Doing docs right away)Derick Rethans2002-02-151-2/+2
|
* - Let php_execute_script return 0 on failure and 1 on sucess, and changeDerick Rethans2002-02-141-1/+5
| | | | | SAPIs accordingly. (Andrei, Derick)
* Remove obsolete CG(extended_info) = 0 calls, we already do this in ↵Sebastian Bergmann2002-02-021-1/+0
| | | | zend_set_default_compile_time_values().
* Fixed bug #9041 and others in the same class (patch by pete.lee@ubs.com)Edin Kadribasic2002-01-201-1/+3
|
* reimplement extension listingShane Caraveo2002-01-181-2/+7
|
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* @- Added -w option to the cgi-version. This will remove all comments andThies C. Arntzen2001-12-081-1/+14
| | | | | @ whitespace from teh script. (Thies)
* fixed output problem with output buffering handler.Rui Hirokawa2001-11-111-0/+1
|
* Convert PATH_TRANSLATED for RISC OSAlex Waugh2001-11-041-0/+9
|
* Undo Z_ subst for sapi and ext/yazJeroen van Wolffelaar2001-09-271-1/+1
|
* Back-substitute for Z_* macro's. If it breaks some extension (the script ↵Jeroen van Wolffelaar2001-09-251-1/+1
| | | | isn't optimal, it parses for example var->zval.value incorrect) please let me know.
* - Don't wrap lines... this is annoying while coding.Derick Rethans2001-09-091-2/+2
|
* Revert an old bogus patchZeev Suraski2001-08-141-7/+9
|
* Use zend_first_tryZeev Suraski2001-08-081-1/+1
|
* some more eliminate-fetches-or-escalate-them-at-leastSascha Schumann2001-08-051-5/+5
|
* more tsrm cleanupSascha Schumann2001-08-051-8/+8
|
* delay module_shutdown even further. zend_try and _catch need the currentThies C. Arntzen2001-08-051-1/+2
| | | | | | globals as well. zeev, is this a chicken & egg problem?
* module_shutdown() calls ts_free_thread in ZTS mode. so SG() cannot be accessedThies C. Arntzen2001-08-051-1/+2
| | | | | afterwards.