How to get current DocumentRoot for VirtualHost in Config Handler

2006-07-12 Thread Christian Wetzig
Hi, i have an config handler like in http://perl.apache.org/docs/2.0/user/config/custom.html#Creating_and_Using_Custom_Configuration_Directives is it somehow possible to lookup the current DocumentRoot from within a directive handler like the following sub MyParameter { my ($self, $parms

Re: Jumping out of Apache/mod_perl..

2003-12-05 Thread Christian Wetzig
Jim Morrison [Mailing-Lists] wrote: I have a piece of one of my mod_perl apps that potentially takes quite a while to complete. What I would like to do is to get Apache/mod_perl to start a second process which would do the work, return a page to the user, and get on with the next thing.. I just d

Re: [mp2] POST of multipart/form-data broken in 1.99_10?

2003-11-06 Thread Christian Wetzig
Stas Bekman wrote: Stas Bekman wrote: [...] It's a known problem. I'll commit a fix soonish (I need to do some extra testing and rewrites). Meanwhile please replace - read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); + $r->read($buffer, $ENV{'CONTENT_LENGTH'}); That should do the trick. Christian,

Re: [mp2] POST of multipart/form-data broken in 1.99_10?

2003-11-05 Thread Christian Wetzig
Stas Bekman wrote: [...] It's a known problem. I'll commit a fix soonish (I need to do some extra testing and rewrites). Meanwhile please replace - read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); + $r->read($buffer, $ENV{'CONTENT_LENGTH'}); That should do the trick. thanks a lot, works fine. is th

[mp2] POST of multipart/form-data broken in 1.99_10?

2003-11-05 Thread Christian Wetzig
Hi, the following worked fine under 1.99_09 in a perl module called from a simple mod_perl script (SetHandler perl-script, PerlHandler ModPerl::Registry): > read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); But after upgrading to 1.99_10, the content of $buffer stops after the header of the first