Hello all,
I'm working on a site under Apache 2.0.47 with modperl 1.99.09. I've got
most everything working right in my server setup, I can get and set
cookies, get input variables from forms/etc., and all that jazz. I'm
having a problem with form uploads however.
Here's a test script/form and
(All the below tests are with dynamic Perl.)
> OK, what if you take the original (with dynamic perl) and replace
>
> -L/usr/local/lib/perl5/5.8.1/i386-freebsd/CORE -lperl
>
> with
>
> -Wl,-L/usr/local/lib/perl5/5.8.1/i386-freebsd/CORE -Wl,-lperl
Same problem.
> What if you add -Wl,-i to t
Bryn Dyment wrote:
I'd appreciate if you test that patch
I did another fresh install of the OS, re-installed Perl w/o the
'-Duseshrplib' option, and built SSL/mod_perl/Apache (after applying your
patch). Worked!
Now I wonder whether apply that patch for freebsd only or all.
does it work if you
On Tue, 2003-10-21 at 15:25, Udlei Nattis wrote:
> error_log:
>
> 8139 Apache::DBI need ping: no
> 8139 Apache::DBI new connect to
> 'eShop:localhost^\root^\sql^\AutoCommit=0^\PrintError=1^\Username=root'
> 8139 Apache::DBI disconnect (overloaded)
> 8117 Apache
Hi,
error_log:
8139 Apache::DBI need ping: no
8139 Apache::DBI new connect to
'eShop:localhost^\root^\sql^\AutoCommit=0^\PrintError=1^\Username=root'
8139 Apache::DBI disconnect (overloaded)
8117 Apache::DBI need ping: yes
8117 Apache::DBI
if :response and :common come in the same import() this will do:
my %seen = ();
my @args = grep { $seen{$_}++; $seen{$_} < 2 } map { /^:response$/ ?
":common" : $_ } @_;
or something like that ;)
too much fwp for you, I think :)
--Geoff
Geoffrey Young wrote:
ok, I think I've decided that ignoring errors from :server or :args_how
isn't a good idea - it's better to have that blow up on a user than have
an unresolved error later on.
+1
so, if we're not supporting everything right now, this is probably a
better patch.
--- lib/Apa
ok, I think I've decided that ignoring errors from :server or :args_how
isn't a good idea - it's better to have that blow up on a user than have an
unresolved error later on.
so, if we're not supporting everything right now, this is probably a better
patch.
--- lib/Apache/compat.pm30 A
> "Héctor" == Héctor Daniel Cortés González <[EMAIL PROTECTED]> writes:
Héctor> I'm sorry, but it is a module written for MP1 PerlAuthenHandler. I will
Héctor> try on list.perl.org. Do you think I should keep my subscription to
Héctor> mod_perl list?
If you're interested in reading, or partic
Héctor Daniel Cortés González wrote:
On Tue, 2003-10-21 at 11:27, Stas Bekman wrote:
Héctor Daniel Cortés González wrote:
Hi!
I wrote a module that needs a SUID helper application, but I can't
figure out how to write the Makefile.PL to let the SUID installed. I
really apreciate your advice.
Sorr
Geoffrey Young wrote:
> But this patch simply ignores the 3 passed groups. Shouldn't it push
> :common instead?
>
> my @args = grep { !/:response|:server|:args_how/ } @_;
> push @args, ":common" if @_ != @args;
yeah, I thought about that afterward, since :response does include
:common. b
> But this patch simply ignores the 3 passed groups. Shouldn't it push
> :common instead?
>
> my @args = grep { !/:response|:server|:args_how/ } @_;
> push @args, ":common" if @_ != @args;
yeah, I thought about that afterward, since :response does include :common.
but it wouldn't help on empt
On Tue, 2003-10-21 at 11:27, Stas Bekman wrote:
> Héctor Daniel Cortés González wrote:
> > Hi!
> >
> > I wrote a module that needs a SUID helper application, but I can't
> > figure out how to write the Makefile.PL to let the SUID installed. I
> > really apreciate your advice.
>
> Sorry, but this
Ray Zimmerman wrote:
At 11:55 AM -0700 10/20/03, Stas Bekman wrote:
Ray Zimmerman wrote:
At 11:12 AM -0700 10/20/03, Stas Bekman wrote:
Are you sure you are trying it under running mod_perl, and not mod_cgi?
No ... I haven't gotten that far ... I'm just trying to run a script
from the command
Héctor Daniel Cortés González wrote:
Hi!
I wrote a module that needs a SUID helper application, but I can't
figure out how to write the Makefile.PL to let the SUID installed. I
really apreciate your advice.
Sorry, but this is a wrong place to ask this kind of question, we talk about
mod_perl here
Geoffrey Young wrote:
Christian Laursen wrote:
I have a small problem with Apache::compat.
I have got some mp1 code running under mp2 using Apache::compat,
but I had to change it a little bit in order to do that.
A few places we have the following:
use Apache::Constants qw(:common :response);
> I'd appreciate if you test that patch
I did another fresh install of the OS, re-installed Perl w/o the
'-Duseshrplib' option, and built SSL/mod_perl/Apache (after applying your
patch). Worked!
> does it work if you remove the -Wl,-E part?
Didn't work (this was with the earlier, shared Perl v
Shannon Eric Peevey wrote:
Original Message
Subject: Re: Stupid question of the day...
Date: Mon, 20 Oct 2003 18:28:04 -
From: Randy Trahan <[EMAIL PROTECTED]>
To: Shannon Eric Peevey <[EMAIL PROTECTED]>
Hi Shannon,
I was reading your post from June 25 co
On Tue, 2003-10-21 at 08:33, Udlei Nattis wrote:
> for resolv the problem i add in startup.pl:
>
> Apache::DBI->connect_on_init('dbi:mysql:dbase', 'root', 'sql',{
> PrintError => 1, RaiseError => 1, });
> Apache::DBI->setPingTimeOut('dbi:mysql::dbase', 1); # or 0
> $Apache::DBI::DEBUG = 2;
>
>
On Tue, 2003-10-21 at 03:46, [EMAIL PROTECTED] wrote:
> I made two calls to ties for a test and the server comsume alot of CPU and
> never return. So I don't know what is going on.
>
> ...
> print "Content-type: text/html\n\n";
> tie %session, 'Apache::Session::File', undef;
> $sessId = $session{_
On Tue, 2003-10-21 at 00:40, [EMAIL PROTECTED] wrote:
> My thought is that openining multiple browser (new process) will be a new
> and separate session. Is this correct?
No. If you use cookies to track the user, every browser window will
share the same cookie and thus the same session. If you u
Hi!
I wrote a module that needs a SUID helper application, but I can't
figure out how to write the Makefile.PL to let the SUID installed. I
really apreciate your advice.
Regards
--
Ing. Héctor Daniel Cortés González <[EMAIL PROTECTED]> | Don't take
antes 'Aztec Eagle' Turbo <[EMAIL PROTECTED]>
At 11:55 AM -0700 10/20/03, Stas Bekman wrote:
Ray Zimmerman wrote:
At 11:12 AM -0700 10/20/03, Stas Bekman wrote:
Are you sure you are trying it under running mod_perl, and not mod_cgi?
No ... I haven't gotten that far ... I'm just trying to run a
script from the command line. The following wor
Hi there,
On Tue, 21 Oct 2003, Udlei Nattis wrote:
> Sorry my english...
It'll do :)
> when i use Apache::DBI and my system stay away for long time,
> the site have problem because connection is down.
:(
> for resolv the problem i add in startup.pl:
>
> Apache::DBI->connect_on_init('dbi:mys
Geoffrey Young <[EMAIL PROTECTED]> writes:
> Christian Laursen wrote:
> > I have a small problem with Apache::compat.
> > I have got some mp1 code running under mp2 using Apache::compat,
> > but I had to change it a little bit in order to do that.
> > A few places we have the following:
> > use Ap
Christian Laursen wrote:
I have a small problem with Apache::compat.
I have got some mp1 code running under mp2 using Apache::compat,
but I had to change it a little bit in order to do that.
A few places we have the following:
use Apache::Constants qw(:common :response);
It looks like the resp
Hi,
Sorry my english...
when i use Apache::DBI and my system stay away for long time,
the site have problem because connection is down.
for resolv the problem i add in startup.pl:
Apache::DBI->connect_on_init('dbi:mysql:dbase', 'root', 'sql',{
PrintError => 1, RaiseError => 1, });
Apache::DBI-
I have a small problem with Apache::compat.
I have got some mp1 code running under mp2 using Apache::compat,
but I had to change it a little bit in order to do that.
A few places we have the following:
use Apache::Constants qw(:common :response);
It looks like the response group is missing in A
[EMAIL PROTECTED] wrote:
I'm getting a new id with every refresh click; so, how am I suppose to
know it is the same session? Here's my code:
The behaviour is the right one, I'll tell you now why is not what you
would expect...
The session object is intended to provide persistancy to your
applic
Bryn Dyment wrote:
Thanks for the detailed explanation.
;)
I did a fresh install of the OS, and re-installed Perl 5.8.1, but this time
with the '-Duseshrplib' option. After installation, I confirmed that I had
'libperl.so' in '/usr/local/lib/perl5/5.8.1/i386-freebsd/CORE'.
wow, that was quick!
T
[EMAIL PROTECTED] wrote:
I made two calls to ties for a test and the server comsume alot of CPU and
never return. So I don't know what is going on.
...
print "Content-type: text/html\n\n";
tie %session, 'Apache::Session::File', undef;
$sessId = $session{_session_id};
print "id: " . $sessId . "\n";
Thanks for the detailed explanation.
I did a fresh install of the OS, and re-installed Perl 5.8.1, but this time
with the '-Duseshrplib' option. After installation, I confirmed that I had
'libperl.so' in '/usr/local/lib/perl5/5.8.1/i386-freebsd/CORE'.
Then I re-installed SSL/mod_perl/Apache (wit
Hello [EMAIL PROTECTED],
Tuesday, October 21, 2003, 1:46:06 PM, you wrote:
psc> I made two calls to ties for a test and the server comsume alot of CPU and
psc> never return. So I don't know what is going on.
psc> ...
psc> print "Content-type: text/html\n\n";
psc> tie %session, 'Apache::Session::
I made two calls to ties for a test and the server comsume alot of CPU and
never return. So I don't know what is going on.
...
print "Content-type: text/html\n\n";
tie %session, 'Apache::Session::File', undef;
$sessId = $session{_session_id};
print "id: " . $sessId . "\n";
#the prog get hung when
Hello.
Have you read `perldoc Apache::Session`? There is two examples.
[EMAIL PROTECTED] wrote:
I'm getting a new id with every refresh click; so, how am I suppose to
know it is the same session? Here's my code:
#!/usr/bin/perl
use Apache::Session::File;
use strict;
use warnings;
my %sessio
[EMAIL PROTECTED] wrote:
Well, I think I understand what you are saying but if I can clarify my
understanding.
My thought is that openining multiple browser (new process) will be a new
and separate session. Is this correct?
Only in IE. In Mozilla not.
thanks
On Mon, 20 Oct 2003 [EMAIL PROTECT
36 matches
Mail list logo