APR::Brigade::destroy (re: talk @sophos)

2004-07-11 Thread dorian
the point brought up at the talk today regarding the explicit destroy method of APR::Brigade, rather than an implicit DESTROY method. as we discussed, it would be significantly more perlish to provide an implicit dereference in DESTROY. it shouldn't be too hard to implement. if you want a patch, le

Re: mutex

2004-07-11 Thread Andy Armstrong
David Arnold wrote: After installing Apache 1.3.31 and modperl 1.29 and starting the server, I have this in my error logs: [Sat Jul 10 13:46:53 2004] [notice] SIGHUP received. Attempting to restart [Sat Jul 10 13:46:54 2004] [notice] Apache/1.3.31 (Unix) mod_perl/1.29 configured -- resuming norma

Re: Hmmmm....

2004-07-11 Thread Andy Armstrong
David Arnold wrote: I am wondering why it's trying to run the file Rules2.pm. Why doesn't it just restart then wait to report the error when I attempt to access scinux.redwoods/mod_perl_rules2? It's not trying to run it - it's trying to compile it. sub handler { my $=shift; That's the error. Yo

Re: Time and day based authorization

2004-07-11 Thread Andy Armstrong
David Arnold wrote: All, I have a sequence of files (maybe 40) that I want to serve. Each file must be served no earlier than a certain time and no later than a certain time. Each of these time-day restrictions will be unique for each file. I am curious if the members of this group could suggest an

Re: APR::Brigade::destroy (re: talk @sophos)

2004-07-11 Thread Stas Bekman
dorian wrote: the point brought up at the talk today regarding the explicit destroy method of APR::Brigade, rather than an implicit DESTROY method. as we discussed, it would be significantly more perlish to provide an implicit dereference in DESTROY. it shouldn't be too hard to implement. if you wa

reading POST data problem

2004-07-11 Thread eps com estem
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

httpd.conf secure?

2004-07-11 Thread David Arnold
All, Is httpd.conf secure? Would it be OK to store a password there? -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: reading POST data problem

2004-07-11 Thread Stas Bekman
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 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

Re: Time and day based authorization

2004-07-11 Thread Raymond
On Sat, 2004-07-10 at 19:39, David Arnold wrote: > I have a sequence of files (maybe 40) that I want to serve. Each file must > be served no earlier than a certain time and no later than a certain time. > Each of these time-day restrictions will be unique for each file. > I am curious if the memb

Re: reading POST data problem

2004-07-11 Thread eps com estem
Hi, i had already tested the $r->read but it did not work, now i have found why. $r->read(my $buffer, $len) only works if $buffer is a string. $r->read($ref->{buffer}, $len) does not work, as $ref->{buffer} is empty. And that was what i was using, so i though a long time ago it was some kind of wi

Re: reading POST data problem

2004-07-11 Thread Stas Bekman
eps com estem wrote: Hi, i had already tested the $r->read but it did not work, now i have found why. $r->read(my $buffer, $len) only works if $buffer is a string. $r->read($ref->{buffer}, $len) does not work, as $ref->{buffer} is empty. And that was what i was using, so i though a long time ago it

modifying URL displaying

2004-07-11 Thread eps com estem
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