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
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
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,
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
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