On Mon, Feb 10, 2003 at 09:10:44PM -0800, Ian Holsman wrote: > On Mon, 10 Feb 2003 15:44:22 -0500, Ilia A. wrote: > > > The patch appears to work correctly with only one 'interesting' bug. When > > the virtual() function is used to include a php file or php files are > > included via the use of mod_include, random binary data is dumped on > > screen. This is particular to PHP files, as virtual() function can > > successfully include as many non-php files as you want without > > encountering this problem. > > > > Ilia > > that is due to php not being re-entrant. > > have a look at the version I did in www.apache.org/~ianh > (an indepenant port of the apache2 filter to make it a handler) > > it should work with posts, and also should handle the virtual thing.
FWIW, I think I had a minor bug in how it called ap_sub_req_lookup_uri in my copy of php_functions.c. I posted an updated copy of that file on my apache.org space. And, I tested virtual('test.html') and it does work fine. Regardless, there are now two versions of a filterless SAPI (done independently!) for httpd-2.0. I'd hope one of them gets accepted. -- justin -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php