| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | white space changes (s/ /\t/g)experimental/apache_hooks | George Schlossnagle | 2002-10-23 | 1 | -323/+323 |
| | | |||||
| * | fixed directory merging | George Schlossnagle | 2002-10-23 | 1 | -1/+11 |
| | | |||||
| * | fixed return values for php_response_handler | George Schlossnagle | 2002-10-09 | 1 | -4/+5 |
| | | |||||
| * | header code cleanup | George Schlossnagle | 2002-10-08 | 1 | -0/+5 |
| | | |||||
| * | sync with head. add optional content type param to send_http_header | George Schlossnagle | 2002-10-08 | 2 | -2/+9 |
| | | |||||
| * | Cleaned up a bunch of code, fully integrated the class::method handler | George Schlossnagle | 2002-08-30 | 3 | -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 be | George Schlossnagle | 2002-08-29 | 2 | -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 methods | George Schlossnagle | 2002-08-28 | 1 | -23/+177 |
| | | |||||
| * | Added wrapper functions for the majority of the apache API_EXPORT functions | George Schlossnagle | 2002-08-28 | 4 | -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 now | George Schlossnagle | 2002-08-28 | 3 | -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 Schlossnagle | 2002-08-28 | 1 | -1/+1 |
| | | |||||
| * | All handlers are now 'stacked' allowing for multiple handlers to be called ↵ | George Schlossnagle | 2002-08-27 | 2 | -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 was | George Schlossnagle | 2002-08-27 | 1 | -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_out | lukas schroeder | 2002-08-26 | 1 | -24/+157 |
| | | |||||
| * | Import of Lukas Schroeder's work to give php a full interface to apache ↵ | George Schlossnagle | 2002-08-26 | 5 | -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 Migration | 2002-08-22 | 1 | -0/+38 |
| | | |||||
| * | Ok, get it onto the right branch | Rasmus Lerdorf | 2001-09-06 | 1 | -0/+34 |
| | | | | | | (cvs can get annoying sometimes) | ||||
| * | Apache request handler hook framework. So far only the uri hook is | Rasmus Lerdorf | 2001-09-06 | 3 | -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 Migration | 2001-08-31 | 120 | -13029/+0 |
| | | |||||
| * | WS | foobar | 2001-08-31 | 1 | -2/+2 |
| | | |||||
| * | API update | Zeev Suraski | 2001-08-31 | 1 | -1/+1 |
| | | |||||
| * | add php version component | Doug MacEachern | 2001-08-28 | 1 | -0/+9 |
| | | |||||
| * | not all MPMs support child_init, | Doug MacEachern | 2001-08-28 | 1 | -3/+4 |
| | | | | | | | so move php_apache_server_startup to the post_config phase (happens at server startup) | ||||
| * | Add some editor modes (in the rest of the source) | Sterling Hughes | 2001-08-22 | 3 | -0/+26 |
| | | |||||
| * | API update | Zeev Suraski | 2001-08-21 | 1 | -2/+2 |
| | | |||||
| * | automatically add php input/output filters when give the standard 1.x config: | Doug MacEachern | 2001-08-20 | 1 | -0/+34 |
| | | | | | | | AddType application/x-httpd-php .php with that, no longer need "Set{In,Out}putFilter PHP" configuration for 2.0 | ||||
| * | Windows compilation of fast cgi now working. See windows.txt for info. | Shane Caraveo | 2001-08-20 | 3 | -17/+192 |
| | | |||||
| * | php_input_filter needs to ignore proxy requests | Doug MacEachern | 2001-08-19 | 1 | -0/+4 |
| | | | | | | else it swallows POST data that needs to be sent to the downstream server | ||||
| * | Pass on proxy requests (fix by Doug MacEachern <dougm@covalent.net>) | Sterling Hughes | 2001-08-19 | 1 | -0/+4 |
| | | |||||
| * | Fix warning (Doug MacEachern, dougm@covalent.net) | Sterling Hughes | 2001-08-18 | 1 | -1/+1 |
| | | |||||
| * | # f*ck @!e333u49/&§&$T§$&("E""! expandtab, that's it, the default in my | Sterling Hughes | 2001-08-18 | 1 | -2/+2 |
| | | | | | | # vimrc is not noet | ||||
| * | fix crash bug (Doug MacEachern, dougm@covalent.net) | Sterling Hughes | 2001-08-18 | 1 | -0/+3 |
| | | |||||
| * | Fix a seg fault in PHP. If a child process is created in the server, | Ryan Bloom | 2001-08-17 | 2 | -3/+3 |
| | | | | | | | | | | using apr_proc_create, it will seg fault, because PHP is using a NULL child cleanup. To fix this, we have to use the special cleanup function, apr_pool_cleanup_null. This also fixes a compiler warning in the ap_log_error call. | ||||
| * | darn noet | Sterling Hughes | 2001-08-16 | 1 | -7/+7 |
| | | |||||
| * | Ryan Bloom's fix of my fix. ;) | Sterling Hughes | 2001-08-16 | 1 | -2/+7 |
| | | |||||
| * | Fix error logging | Sterling Hughes | 2001-08-16 | 1 | -1/+1 |
| | | |||||
| * | Revert an old bogus patch | Zeev Suraski | 2001-08-14 | 1 | -7/+9 |
| | | |||||
| * | TSRMLS fixes | Daniel Beulshausen | 2001-08-14 | 1 | -4/+3 |
| | | |||||
| * | TSRMLS fixes | Daniel Beulshausen | 2001-08-14 | 1 | -14/+11 |
| | | |||||
| * | TSRMLS fixes | Daniel Beulshausen | 2001-08-14 | 2 | -16/+5 |
| | | |||||
| * | use an absolute path for symlinking the php library archive | Sascha Schumann | 2001-08-14 | 1 | -1/+1 |
| | | |||||
| * | ypo;-) | Thies C. Arntzen | 2001-08-14 | 1 | -1/+1 |
| | | |||||
| * | Use a symlink instead of copying the +6MB library archive during install | Sascha Schumann | 2001-08-13 | 1 | -1/+1 |
| | | |||||
| * | Don't display egrep result | Sascha Schumann | 2001-08-13 | 1 | -1/+1 |
| | | |||||
| * | whoops, forgot to apply cgi/poll patch before diff'ing | Sascha Schumann | 2001-08-13 | 1 | -4/+39 |
| | | |||||
| * | Add check for thttpd-2.21b. We support nothing else for now, because | Sascha Schumann | 2001-08-13 | 1 | -0/+1 |
| | | | | | | this version is rock-stable using the combined set of patches. | ||||
| * | improved thttpd-2.21b patch.. I got tired of applying my patches for | Sascha Schumann | 2001-08-13 | 1 | -19/+53 |
| | | | | | | | | | | | | these bugs. fixes poll(2) issue fixes hanging cgi issue fixes off-by-one in scanning input buffers in case of EAGAIN/EWOULDBLOCK fixes potential bug in managing write buffers add "index.php" to default files to look for | ||||
| * | Reverse patches that slipped in by mistake in a whitespace patch. They | Zeev Suraski | 2001-08-13 | 1 | -31/+34 |
| | | | | | | require some more work... | ||||
| * | Whitespace | Zeev Suraski | 2001-08-11 | 1 | -34/+31 |
| | | |||||
| * | killed compile warnings. | foobar | 2001-08-10 | 1 | -2/+0 |
| | | |||||
