summaryrefslogtreecommitdiff
path: root/sapi/apache
Commit message (Collapse)AuthorAgeFilesLines
* white space changes (s/ /\t/g)experimental/apache_hooksGeorge Schlossnagle2002-10-231-323/+323
|
* fixed directory mergingGeorge Schlossnagle2002-10-231-1/+11
|
* fixed return values for php_response_handlerGeorge Schlossnagle2002-10-091-4/+5
|
* header code cleanupGeorge Schlossnagle2002-10-081-0/+5
|
* sync with head. add optional content type param to send_http_headerGeorge Schlossnagle2002-10-082-2/+9
|
* Cleaned up a bunch of code, fully integrated the class::method handlerGeorge Schlossnagle2002-08-303-175/+193
| | | | | | | | | | | | code into a single stack per handlers (for correct interleaving). Changed the syntax so that now they are of the form phpUriHandler /filename phpUriHandlerMethod Class::Method This now works for all handlers including response handlers.
* added the ability to set handlers as class methods (classes will need to beGeorge Schlossnagle2002-08-292-1/+109
| | | | | | | | | | | | declared in a phpRequire statemenet, of course, or be otherwise available at the hook run-time (builtins)). This is currently only implemented for the uri trans handler it is usable as: phpUriHandlerCodeRef MyClass::MyMethod This can be greatly robustified from whre it stands now, but is a good proof of concept (hopefully!)
* added all the sub_request methods and logging methodsGeorge Schlossnagle2002-08-281-23/+177
|
* Added wrapper functions for the majority of the apache API_EXPORT functionsGeorge Schlossnagle2002-08-284-46/+304
| | | | | | | | | | as class methods for the ApacheRequest objects. broke sapi_activate into two functions to allow for reading of headers/cookies separately from request bodies (POST stuff). Altered some of the send_headers code in mod_php4.c to prevent sending headers twice (since a phpResponseHandler needs to be able to have full freedom for setting headers using the ap_*_header* functions.
* added wrapper for ap_send_http_header so that phpResponseHandler is nowGeorge Schlossnagle2002-08-283-4/+10
| | | | | | working. Added protections to mod_php4's internal call to the same so that headers cannot be accidentally sent twice.
* This handler works much better when not commented out. :)George Schlossnagle2002-08-281-1/+1
|
* All handlers are now 'stacked' allowing for multiple handlers to be called ↵George Schlossnagle2002-08-272-61/+275
| | | | | | | | | | | | | | in the order they are listed in the httpd.conf for a section. phpRequire is now supported (called out of the post-read request handler), and a first attempt at phpResponseHandler, a response-time type handler which is set by a <Location blah> SetHandler php-script phpResponseHandler /tmp/foo.php </Location> To allow for the stacked handlers, the entirety of zend_stack.c was imported into mod_php4.c. There is a patch pending to zend_stack.c to add the functionality so that all the redundant code can be removed.
* Replaced handler loading commands such that what wasGeorge Schlossnagle2002-08-271-60/+214
| | | | | | | | | | | | | | | php_value uri_handler /tmp/foo.php is now phpUriHandler /tmp/foo.php This fixes some bugs that caused handlers to be skipped or mysteriously 'unloaded', reduces the number of calls to zend_alter_ini_entries that are necessary, as well as allows for easier implementation of stacked handlers (which comes next). Added 2 new hooks, phpPostReadHandler and phpHeaderHandler (going to the obvious places).
* - add interface functions for headers_in, headers_out and err_headers_outlukas schroeder2002-08-261-24/+157
|
* Import of Lukas Schroeder's work to give php a full interface to apache ↵George Schlossnagle2002-08-265-275/+1184
| | | | 1.3.x's hook interface, and full class wrappers around the apache request object and it's interfaces.
* This commit was manufactured by cvs2svn to create branch 'apache_hooks'.SVN Migration2002-08-221-0/+38
|
* Ok, get it onto the right branchRasmus Lerdorf2001-09-061-0/+34
| | | | | (cvs can get annoying sometimes)
* Apache request handler hook framework. So far only the uri hook isRasmus Lerdorf2001-09-063-11/+68
| | | | | | | | | | | | | implemented, but the others will be easy once I finish the uri translation example. The big things left to do is to create a proper $r request object to be manipulated in user-space and also to verify that the hooks don't steal the POST data such that it isn't available to the content handler once it is finally called. Or if we do steal it, make sure it is somehow available to the content handler later on. Comments and help with this stuff is more than welcome. Check out these files from the 'apache_hooks' branch to play along.
* This commit was manufactured by cvs2svn to create branch 'apache_hooks'.SVN Migration2001-08-3110-512/+0
|
* WSfoobar2001-08-311-2/+2
|
* API updateZeev Suraski2001-08-311-1/+1
|
* TSRMLS fixesDaniel Beulshausen2001-08-141-3/+0
|
* ypo;-)Thies C. Arntzen2001-08-141-1/+1
|
* Use zend_first_tryZeev Suraski2001-08-081-1/+1
|
* more tsrm cleanupSascha Schumann2001-08-051-1/+0
|
* more tsrm cleanup -- output.c is not doing any fetches anymoreSascha Schumann2001-08-051-2/+1
|
* more tsrm cleanupSascha Schumann2001-08-052-5/+3
|
* - TSRMLS_FETCH workZeev Suraski2001-08-053-46/+46
| | | | | - whitespace fixes
* Another one bites the dust.Sebastian Bergmann2001-08-041-1/+0
|
* Remove duplicate TSRMLS_FETCH() call.Sebastian Bergmann2001-08-041-1/+0
|
* Fix Apache/ZTS buildZeev Suraski2001-08-012-3/+1
|
* More TSRMLS_FETCH workZeev Suraski2001-07-311-4/+2
|
* compile fixThies C. Arntzen2001-07-301-1/+1
|
* More TSRMLS_FETCH work, and a bit of cleanupZeev Suraski2001-07-301-1/+0
|
* More TSRMLS_FETCH annihilation (Zend compatibility patch)Zeev Suraski2001-07-301-1/+1
|
* Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on ↵Zeev Suraski2001-07-301-1/+1
| | | | the way
* Fix typoRasmus Lerdorf2001-07-281-1/+1
|
* Build fixZeev Suraski2001-07-281-1/+1
|
* Some more fixesZeev Suraski2001-07-281-4/+1
|
* Redesigned thread safety mechanism - nua nuaZeev Suraski2001-07-284-55/+49
|
* - Get rid of ELS_*(), and use TSRMLS_*() instead.Zeev Suraski2001-07-273-17/+17
| | | | | | | - Move to the new ts_allocate_id() API This patch is *bound* to break some files, as I must have had typos somewhere. If you use any uncommon extension, please try to build it...
* Get rid of the redundant global startup codeZeev Suraski2001-07-241-0/+1
|
* Use synchronous php_request_shutdown in the standard case andSascha Schumann2001-07-232-5/+10
| | | | | | | | | let the pool cleanup function only become effective, when an error has occured. This fixes the problem that the request_conn was already dead when the request_shutdown was reached.
* Fix Apache buildZeev Suraski2001-07-211-1/+1
|
* Improved bailout mechanism, supports nested bailouts a-la try..catchZeev Suraski2001-07-212-65/+64
| | | | | Note: You may *not* return directly from a catch block
* Move PHP_TARGET_RDYNAMIC check to global acinclude.m4 and use itSascha Schumann2001-06-151-10/+1
| | | | | in thttpd's config.m4.
* Fix folding and clean up some extensionsRasmus Lerdorf2001-06-063-42/+140
|
* Oops, sorry. I should not have committed this ebcdic fix (which was none)Martin Kraemer2001-06-011-3/+0
|
* Use EXTRA_LDFLAGS at this point.Sascha Schumann2001-05-231-1/+1
| | | | | | I've confirmed that one can build a working Apache DSO module now (AIX 4.2 with gcc 2.95.2 and Apache 1.3.12).
* Fix Basic auth (when under PHP control) for EBCDIC platformsMartin Kraemer2001-05-231-0/+3
|