Re: [ANNOUNCE] "Practical mod_perl" book is released under Creative Commons license

2004-12-19 Thread Stas Bekman
Zhang Yining wrote: [...] I think the important bits missing is the license RDF segments in the site and html book pages. The RDF helps the creative commons search engine[1] to index the site, the segment is something like the following: Thanks Yining, now fixed, with help of #axkit-dahut channel

Re: Apache::Test question

2004-12-19 Thread Stas Bekman
Torsten Foertsch wrote: On Thursday 16 December 2004 17:28, Stas Bekman wrote: grep the source for reconfigure() which I think will enforce the re-cache. Sorry, I could not find it. Simply changing refresh to reconfigure yields: Sorry, I should have said just 'reconfigure', which is not a method.

Re: make test fails under Tru64 Unix 5.1b

2004-12-19 Thread Stas Bekman
Success! It works great, but I don't like this hack. It's very ugly. So, is it more an apache issue or the MP2 build process can add /usr/local/include/ to the search paths, when building under Tru64 5 platform in order the compiler to use /usr/local/include/iconv.h? How can modperl possibly know

Re: libapreq2 upload question

2004-12-19 Thread Joe Schaefer
"eps com estem" <[EMAIL PROTECTED]> writes: > if ($info->{content} =~ /.*multipart.*/) { > my $mm =Apache::Request->new($apache,POST_MAX=>5); #50k max > my $uploads =$mm->upload(); > my $table =$mm->param(); #en teoria els uploads ja no estan Try switching the

Re: mod_perl.c:61: `my_perl' undeclared under Cygwin

2004-12-19 Thread Nick ***
>> >>On Wed, 15 Dec 2004, Stas Bekman wrote: >> >>> sdfgsd sergserg wrote: >>> [...] >>> > /usr/src/mp2/xs/APR/Base64/APR__Base64.h: In function >>> > `MPXS_apr_base64_encode': >>> > /usr/src/mp2/xs/APR/Base64/APR__Base64.h:37: static >>> > symbol `MPXS_apr_base64_enco de' is marked dllexport >> >>

Re: make test fails under Tru64 Unix 5.1b

2004-12-19 Thread Nick ***
>>> >> [warning] setting ulimit to allow core files >>> >> ulimit -c unlimited; /usr/bin/perl /house/doink123/mp2_svn/t/TEST >>> >> -bugreport -verbose=0 >>> >> 170047:/house/doink123/httpd-2.0.52/.libs/lt-httpd: /sbin/loader: Error: >>> >> libaprutil-0.so.0: symbol "iconv_open" unresolved >>> >>

Re: libapreq2 upload question

2004-12-19 Thread Randy Kobes
On Sun, 19 Dec 2004, eps com estem wrote: > I'm trying to use libapreq2 to upload files to the server. [ .. ] > Apache/2.0.52 (Win32) mod_perl/1.99_17 Perl/v5.8.2 > libapreq2 2.04-dev (-mod_perl-dev 1.99_15-dev) In case this is a bug in either mod_perl or libapreq2, could you try upgrading to lat

Re: Re: libapreq2 upload question

2004-12-19 Thread eps com estem
Completing more my question: --- PerlTransHandler +Blogum::BlogumURI --- in httpd.conf The html form, printed by javascript --- .. var form_e = document.createElement('form'); form_e.setAttribute('ENCTYPE','multipart/form-

Re: libapreq2 upload question

2004-12-19 Thread Joe Schaefer
"eps com estem" <[EMAIL PROTECTED]> writes: > if ($apache->content_type() eq 'multipart/form-data') { No. $r->content_type() represents the response (outgoing) header, not the request (incoming) header: http://perl.apache.org/docs/2.0/api/Apache/RequestRec.html#C_content_type_ > > While i'm

Re: Apache::Test question

2004-12-19 Thread Torsten Foertsch
On Thursday 16 December 2004 17:28, Stas Bekman wrote: > grep the source for reconfigure() which I think will enforce the re-cache. Sorry, I could not find it. Simply changing refresh to reconfigure yields: Can't locate object method "reconfigure" via package "Apache::TestRunPerl" at /home/r2/wo

libapreq2 upload question

2004-12-19 Thread eps com estem
I'm trying to use libapreq2 to upload files to the server. If i'm not wrong not all methods are available from all filters, but i've had poor results trying to guess which phases allow what methods. My program executes all the modules (except the SSI filtering) in the URI phase (PerlTransHandl

Re: Re: $bb,$b, PerlOutputFilterHandler and $rv = $f->pass_brigade($bb);

2004-12-19 Thread eps com estem
Thanks for the responses. I have been coding, these are theresults: -- sub handler : FilterRequestHandler { my($f, $bb) = @_; A) $bb->flatten(my $data); $bb->destroy(); $this->blogum_filter(\$data,$f->r,$f->c); my $bb_ctx = APR::Brigade->new($f->c->pool, $f->c->bucket_al