Curiously, with Apache2::Response that proportionates the $r->set_etag();
method,
apparently the ETAG value is no more sended, however, the problem persists:
http://localhost/camandules.info/
GET /camandules.info/ HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
None of these
$r->err_headers_out->set('Etag' => "-1");
$r->err_headers_out->set('etag' => "-1");
$r->err_headers_out->set('no-etag' => "1");
$r->notes->set('no-etag' => 1);
actually works. Phase where this module runs is PerlHeaderParserHandler, which
is needed
for its DIRECTORY scope. PerlPos
Hi there, i'm just changing the web pages served with my
mp2+libapreq2+mod_xslt2, and to
inform that these pages has been modified i was used to use the
$r->err_headers_out method
to avoid any caching procedure.
However, something is not working since the HTTP server is responding a 304 not
mo
Searching for some clue of simultaneous static compilation of apache+mp2+apreq2
i have
only found this 2005-march entry in mailinglists.
> Has anyone managed to compile a static (no DSO) apache with mod_perl and
> libapreq? Both mod_perl and libapreq have instructions for building them
> statica
Sorry, the error was not related with HTML::Entities.
The error was when modifying the data obtained with
my $table = $req->param;
(libapreq2)
With previous versions i guess $table could be modified (my prg worked!), now i
get the
error
Can't locate object method "STORE" via package "APR::Reques
I used a function to "manually" change some html not-xml-allowed into the
correspondent
correct codification.
Now i've tried to use the HTML::Entities cpan module.
This is what i had (some ugly regex)
foreach (2..14) {$data->{$p} =~ s/$cri->[$_]/$rel->[$_]/g;}
This is what i've tried
use HTML::
Apparently i was not including the eos bucket in the new brigade.
It seems to work:
if ($b->is_eos) {
$this->my_function(\$f->ctx->{html},$f->r,$f->c);
#new bucket brigade to be filled with final modified bucket
my $nbb = APR::Brigade->new($f->c->pool,$f->c->bucket_alloc);
#new bucket, a uniqu
With the reading of Apache_Clean module (which i see is streamed-oriented) and
with ideas
of Ambrosino, i am with this:
sub handler : FilterRequestHandler {
my($f, $bb) = @_;
my $rv;
unless ($f->ctx) {
$f->r->headers_out->unset('Content-Length');
$f->ctx({html => ''});
}
while (!$bb->is_emp
I'm just changing my old "handler:FilterRequestHandler" in
PerlOutputFilterHandler as it
is not working with my "new&fresh"mp2 compilation.
Then there's the question. What i want is to parse html pageswith an output
filter that
take special tags (<%special%>)and insert there some specific conte
Ok, you are right. A huge monkey is the cause that i didn't make && make
install the
modperl module o_O
Done! I've had to compile also Parse-RecDescent cause apreq claimed it didn't
found.
Now apparently everything has gone right. Thanks!
>eps com estem wrote:
&g
*** [perl/Makefile] Error 2
make[1]: Leaving directory `/blah/sources/libapreq2-2.06-dev/glue'
make: *** [install-recursive] Error 1
Any idea? Thanks for your responses!
>eps com estem wrote:
>> Hi, in the procedure to compile new apache+modperl2+apreq2 i'm finding
>>
Hi, in the procedure to compile new apache+modperl2+apreq2 i'm finding
problems with apreq2 compilation.
perl 5.87
apache 2.0.55
modperl 2.01
ExtUtils-XSBuilder-0.27
libapreq2-2.06-dev
The commands i do
#perl
/Configure -des -Dusethreads
make
make install
#apache
/configure --prefix=/usr/local
I have compiled apache2+mp2+libapreq2 in a linux box (ubuntu). Running the same
code that
worked in windows (see the thread) i see that it is failing (upload() method).
In the past
libapreq2 version (libapreq2 2.04-dev) was corrected with two bugs that made it
run
smoothly. This changes were in
I was just doing the validation of my new program version when I have tried the
next
(simplified) code with firefox 0.92 which receives text and one image-upload
through a
formulary written correctly.
With Firefox all has run perfectly, then i've tested on internet explorer 6.0
and oh
surprise
>> Here's a patch for $upload->slurp, see if it helps:
>Fast work, as always, Joe :) These patches I've incorporated
>in a new libapreq2.ppd ppm package at
>href="/app/message?l=es&o=8&url=http%3A%2F%2Ftheoryx5%2Euwinnipeg%2Eca%2Fppms%2F"
target="_blank">http://theoryx5.uwinnipeg.ca/ppms/
>The
-- eps
++ gerard
Could you check please if the slurp function doesn't allow to put the content
into
non-scalar values???
I'll explain better
$upload->slurp(my $temp);
$temp contents the data
my $info = {};
$upload->slurp($info->{eii});
$info->{eii} contains nothing.
This is the same that happe
Hey
I've found the problem, following your advices.
So $upload('eps') works always.
But $upload() only works when the file input is the first input of the .
If text input is before file input, upload() catch nothing, but upload('eps')
does the job.
Hope this helps.
-
Randy
> For ActivePerl builds 8xx (which mp2 requires on Win32), the
> repository should be
> http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58
> The :/PPMServer repository is for builds 6xx, which is why
> you didn't find mod_perl 2.
Ok, that should be corrected in
http://aspn.act
ed, let's try now the libapreq2.
install http://theoryx5.uwinnipeg.ca/ppms/libapreq2.ppd
Now it is installing, version 2.04-dev installed
I remove all and reinstall only the last versions:
properties:
mod_perl-dev 2.0.0-RC2
libapreq2 2.04-dev
-
>"eps
perl/Blogum/Generic.pm line
218.
directory = news_st at f:\tools\apache2/lib/perl/Blogum/Generic.pm line 218.
body = ñli at f:\tools\apache2/lib/perl/Blogum/Generic.pm line 218.
---
(values of input are nonsense)
So i'm reading right the text values, but no news about
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
;remove;
}
$bb->insert_tail($_) foreach (@$buckets);
return Apache::DECLINED;
This solution ws expected to work as D), but it works as B). That means that
Firefox waits
8-10
sedonds to finish the download.
All this is confusing. I am going to work with D) but i don't understand what
I've tested this another option:
--
sub handler : FilterRequestHandler
{
my($f, $bb) = @_;
$bb->flatten(my $data);
$bb->cleanup();
$this->blogum_filter(\$data,$f->r,$f->c);
my $bb_ctx = APR::Brigade->new($f->c->pool, $f->c->bucket_alloc);
my $b = APR::Bucket->
Hello.
I want to add file-upload capacity to my program so i've installed libapreq2.
Working with windows i've installed libapreq2 through ppm which install as a
requisite
mod_perl-dev 1.99_15, and
after i've installed 1.99_0.17 (the order is important, as version _17 is
needed for some
instruc
This is not a technical question, but now that more-than-600MHz PDA are just attacking
our
wallets it is curious to know if there is any plan to port both apache and modperl to
palmOs / pocketPc machines.
Since i was running my linux+apache2+mp2 in an old pentium at 266MHz with no kind of
problem
help and this solution.
Thanks a lot :D
>eps com estem wrote:
>> Hi.
>> I want to redirect to some uri one page. This can be accomplished easily in
>> PerlTransHandler with $r-> uri($new_uri);
>> My problem is that this uri needs to be parsed again with the same mod
Hi.
I want to redirect to some uri one page. This can be accomplished easily in
PerlTransHandler with $r-> uri($new_uri);
My problem is that this uri needs to be parsed again with the same module responsible
of
that. This is, i have a web page parse by module X that has to redirect to another uri
When you modify the URL at the appropiate phase, the URL displayed is not changed
(which
is neither good nor bad).
To change the url you can do
$r->header_out(Location => $url);
return Apache::Constants::REDIRECT;
where you redirect the browser directly to another URL, and indeed the browser wi
as some kind of windows-problem.
Using directly a string it works, thanks!
>eps com estem wrote:
>> Hi.
>>
>> I used to read POST data with the sentence
>> read (STDIN,$var,$r_headers->{'Content-length'});
>> When the handler was invoked after subm
Hi.
I used to read POST data with the sentence
read (STDIN,$var,$r_headers->{'Content-length'});
When the handler was invoked after submitting the formulary.
But, lately i changed the handler configured in apache.conf by a parsing URI module.
There
i catch the direction of the form submit and f
30 matches
Mail list logo