summaryrefslogtreecommitdiff
path: root/sapi/apache/mod_php4.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix last couple of problematic execution paths that could corrupt the INI valuesZeev Suraski2001-01-031-1/+8
|
* Fix Apache module and remove excess elements from the SAPI structureZeev Suraski2001-01-031-0/+2
|
* Fix compile.foobar2001-01-031-6/+6
|
* Many patches. I hope I remember them all:Zeev Suraski2001-01-021-8/+8
| | | | | | | | | - Make sapi_module available to external modules (PHPAPI) - Make the php.ini path reported in phpinfo() always point to real full path of the php.ini file - Optimized the ISAPI module not to read unnecessary server variables and read necessary variables at most once.
* Fix a few possible bugs:Zeev Suraski2000-12-301-5/+8
| | | | | | | - engine=off in one or more vhosts could propogate to other vhosts - Under some error situations, the default values for INI directives could be erroneously replaced for a single request
* Align ZTS handling of globals with common usageSascha Schumann2000-12-101-4/+3
|
* Axe rest of DAV leftovers and use STD_PHP_INI_ENTRY in the INI sectionSascha Schumann2000-12-071-44/+1
|
* Update SAPI modules to interface with the new TSRM.Zeev Suraski2000-11-181-2/+2
| | | | | Enable thread-safety memory debugging in ISAPI when in debug mode
* - Revert patch which seems to have caused the STOP mechanism not to work.Andi Gutmans2000-11-011-1/+1
| | | | | | - I'm not quite sure why this should have caused harm even if not completey - the right way of doing it.
* Fix Apache buildZeev Suraski2000-10-311-4/+1
|
* Add/unify aborted connection handlingSascha Schumann2000-10-291-5/+1
|
* Initial steps to move the INI mechanism to the Zend engineZeev Suraski2000-10-291-1/+1
|
* Fix php_value issueZeev Suraski2000-10-131-6/+7
|
* Fixed a problem that allowed users to override admin_value's and admin_flag'sZeev Suraski2000-10-111-2/+15
|
* - Cleanup some output functionsAndi Gutmans2000-09-301-1/+1
|
* UnixWare defines shutdown to _shutdown, which causes problems laterSascha Schumann2000-09-291-0/+2
| | | | | | | | on when using a structure member named shutdown. Since this source file does not use the system call shutdown, it is safe to #undef it. PR: #6008, #6362
* #include "SAPI.h" onceSascha Schumann2000-09-261-1/+0
|
* Fix build after last commit.Jon Parise2000-09-081-0/+2
|
* Restore the headers_only test to the centralized SAPI startup. If ↵Zeev Suraski2000-09-081-1/+5
| | | | | | | necessary, it can be overriden in the activate() callback.
* The status quo in PHP is that the current directory is initializedSascha Schumann2000-08-201-1/+0
| | | | | | | | | to the directory where the executing script is located. Since this needs to be implemented for all SAPI modules anyway, this change moves the functionality to php_execute_script() and gets rid of the per-module code.
* Use size_t as parameter type in the getenv member of struct sapi_moduleSascha Schumann2000-08-201-1/+1
|
* Fix typoRasmus Lerdorf2000-08-041-1/+1
|
* Heads up! I have moved the headers_only and response_code checks out ofRasmus Lerdorf2000-08-021-0/+2
| | | | | | | | | | | | | | | SAPI and down into the individual SAPI modules. I have made the appropriate changes in all the SAPI modules, but please verify these. The reason for this change is that Apache sometimes will feed PHP a request_method of GET but have r->header_only set to true. This happens in an ErrorDocument redirect. In this same scenario we want to preserve the status code as well instead of just overwriting it with a 200 and losing this information. For now the other sapi modules act exactly as before since they probably do not make this distinction, and they may not even have a valid response code this early in the request. @ Fix HEAD request bug on an Apache ErrorDocument redirect and preserve @ the status code across the redirect as well. (Rasmus)
* Missed a symbolRasmus Lerdorf2000-07-311-2/+2
|
* Fix symbol clash which caused a DSO problem on OpenBSDRasmus Lerdorf2000-07-261-7/+7
| | | | | | @ Fix symbol clash which caused a DSO problem on OpenBSD (Rob Black and @ anil@recoil.org)
* Fix prototype of apache_child_exit_handler and remove popen-relatedSascha Schumann2000-07-101-15/+1
| | | | | preprocessor directives/macros.
* @- Fixed closingThies C. Arntzen2000-07-101-9/+3
|
* Fixed module / global shutdown for apache.Andreas Karajannis2000-07-091-1/+24
| | | | | GSHUTDOWN functions are now executed and MSHUTDOWN functions are executed on child process exit
* Fix #5432: should register all variables. Thanks jeroen@darius.demon.nl.Stanislav Malyshev2000-07-061-1/+1
|
* When using HTTP auth from PHP, fill in the %u custom log field so theRasmus Lerdorf2000-07-051-0/+2
| | | | | | | authenticated used id will get logged in the Apache access_log @- When using HTTP auth from PHP, fill in the %u custom log field so the @ authenticated used id will get logged in the Apache access_log (Rasmus)
* Some user-agents send 'basic' instead of 'Basic' in their AuthorizationRasmus Lerdorf2000-06-301-1/+1
| | | | | | | | | header. ApacheBench is an example. PHP's HTTP Auth would not work with these. Some user-agents send 'basic' instead of 'Basic' in their Authorization header. ApacheBench is an example. PHP's HTTP Auth would not work with these. (Rasmus)
* I'm not sure whether this is necessary or not. Is it guarenteed that ↵Zeev Suraski2000-06-281-1/+3
| | | | | | | get_module_conf() will always return a value? Even if there were no relevant directives at all?
* Separate plain name returned by php_sapi_module() and pretty nameAndrei Zmievski2000-06-261-1/+2
| | | | | used for output.
* Move main.h to php_main.h.Sascha Schumann2000-06-051-1/+1
|
* @ Changed the Apache handler's return status to 'Declined' when a requestedRasmus Lerdorf2000-05-261-1/+1
| | | | | | | | | | | | | @ PHP file could not be found. Returning 'Not Found' caused problems @ in the ErrorDocument handler stage in that $REDIRECT_REDIRECT_ERROR_NOTES @ was not getting set at all. Moving to 'Declined' shoudl fix this and I @ can't see any other side effects. (Rasmus) Changed the Apache handler's return status to 'Declined' when a requested PHP file could not be found. Returning 'Not Found' caused problems in the ErrorDocument handler stage in that $REDIRECT_REDIRECT_ERROR_NOTES was not getting set at all. Moving to 'Declined' shoudl fix this and I can't see any other side effects.
* Update the license with the new clause 6Zeev Suraski2000-05-181-2/+2
|
* Fix crash when server_context is not longer valid (e.g., whenZeev Suraski2000-05-171-0/+4
| | | | | coming from php_apache_request_shutdown)
* - Fix a crash bug in case output is generated in the Apache module whileZeev Suraski2000-05-141-2/+11
| | | | | in request_shutdown
* more apachewin32 work. much better now, but still crashing in zend_execute. ↵Shane Caraveo2000-05-041-55/+18
| | | | At least it's getting the file open now though.
* sorry, do comments rightShane Caraveo2000-04-301-6/+6
|
* apache module now compiles under win32, apache loads, but crashes on line ↵Shane Caraveo2000-04-301-4/+59
| | | | 1167 main.c on page request
* - Change PHP_ to V_ (directory & file functions)Andi Gutmans2000-04-151-1/+1
|
* Fix for bug #4125Rasmus Lerdorf2000-04-131-1/+1
|
* @- Fixed several problems with the PATH_TRANSLATED and PHP_SELF under ApacheZeev Suraski2000-04-081-3/+3
| | | | | @ (Paul Gregg & Zeev)
* - This version of chdir_file should be compatible with the Apache one.Andi Gutmans2000-04-021-1/+1
|
* @"none" is now equivalent with "" in Apache config directives (Stig)Stig Bakken2000-03-021-0/+4
| | | | | "none" is now equivalent with "" in Apache config directives.
* Compile fixZeev Suraski2000-02-261-2/+1
|
* - From CODING_STANDARDS:Zeev Suraski2000-02-261-1/+1
| | | | | | | | | | | [6] NEVER USE strncat(). If you're absolutely sure you know what you're doing, check its man page again, and only then, consider using it, and even then, try avoiding it. strncat() is your enemy! - Fix several SAPI services, get rid of the default_content_type (it's always composed of the mime type and charset now). - Win32 works again
* @- Implemented default_charset and default_mimetype config directives (Stig)Stig Bakken2000-02-251-4/+20
| | | | | | Implemented default_charset and default_mimetype configuration directives. Started implementing ticks in PHP.
* started implementing directives for default mimetype/charsetStig Bakken2000-02-241-2/+2
|