Alejandro Galue wrote:
Hello,
I need help in file uploading with mod_perl 2.
Apache::Request is not compatible with mod_perl 2, and I want to know
how can I upload file widthout using CGI.pm
Please send me an example if possible.
Simply copy the relevant code from CGI.pm.
Alternatively if you ha
On Thu, 29 May 2003, Ryan Farrington wrote:
> Ok here is the error I get when using the all-in-one install for
> mod_perl 2.0
>
> Can't locate object method "server_root_relative" via package "Apache"
> at e:/Perl/site/lib/Apache/compat.pm line 69.
>
> Compilation failed in require at startup.pl
Ryan Farrington wrote:
Here is what the Command_Line_Lookups tells me:
to use method 'server_root_relative' add:
use Apache::ServerUtil ();
[...]
> that is it... still compiles with an error =(
right, the API change. Here is the correct URL:
http://perl.apache.org/docs/2.0/user/porting/comp
stry ();
use CGI ();
use XML::LibXML();
use XML::LibXSLT();
1;
:: END CODE ::
that is it... still compiles with an error =(
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 10:10 PM
To: Ryan Farrington
Cc: [EMAIL PROTECTED]
Subject: Re: Mod_Perl
Ryan Farrington wrote:
Ok here is the error I get when using the all-in-one install for
mod_perl 2.0
Can't locate object method "server_root_relative" via package "Apache"
at e:/Per
l/site/lib/Apache/compat.pm line 69.
Compilation failed in require at startup.pl line 13.
BEGIN failed--comp
ECTED]
>> Sent: Friday, February 21, 2003 12:02 PM
>> To: Chris Faust
>> Cc: Modperl
>> Subject: Re: mod_perl 2 apache::session and "or die"
>>
>>
>> Chris Faust wrote:
>> > I think it is in the locking as if I let things hang long
>
Chris Faust wrote:
I think it is in the locking as if I let things hang long enough and then
shut down Apache, I get a error of:
Can't call method "disconnect" on an undefined value at
/usr/lib/perl5/site_perl/5.6.1/Apache/Session/Lock/MySQL.pm line 89 during
global destruction.
That's a good s
gt;> Sent: Wednesday, February 19, 2003 11:55 AM
>> To: Chris Faust
>> Cc: Modperl
>> Subject: Re: mod_perl 2 apache::session and "or die"
>>
>>
>> Chris Faust wrote:
>> > All works well except when there is any kind of problem in the
&
Perrin Harkins wrote:
Chris Faust wrote:
All works well except when there is any kind of problem in the script
where
the condition will die..
[...]
When this happens everything to do with that script is unresponsive -
I know
that is a little vague but that is the best way I can describe it.
Chris Faust wrote:
All works well except when there is any kind of problem in the script where
the condition will die..
[...]
When this happens everything to do with that script is unresponsive - I know
that is a little vague but that is the best way I can describe it. What
happens is the error
Sinclair, Alan (CORP, GEAccess) wrote:
All,
Starting to strike the first blows with Apache 2.0. I am now wondering about
thread safety with mod_perl 2. Will mod_perl support a threaded MPM Apache
config ?
Why using the future tense, it does support the threaded mpm pretty much
from the very beg
Terra Info wrote:
Sounds good. Thanks for the help. I will patch my copy.
Or just grab the latest cvs.
Will all MP1
functionality be migrating over to MP2?
Pretty much yes.
In particular the PerlHandler
Apache::Status functionality.
Doug mentioned that most of its functionality works as
Sounds good. Thanks for the help. I will patch my copy. Will all MP1
functionality be migrating over to MP2? In particular the PerlHandler
Apache::Status functionality.
Thanks,
Tom
Stas Bekman wrote:
Terra Info wrote:
PS: I forgot to let you know if it works on MP1. I do not have that
instal
Terra Info wrote:
PS: I forgot to let you know if it works on MP1. I do not have that
installed on any machines so if someone out there on the list could
check that out and post back I would appreciate it. Everything you need
is below.
Here is the fix, I've messed up this part while porting. I
PS: I forgot to let you know if it works on MP1. I do not have that
installed on any machines so if someone out there on the list could
check that out and post back I would appreciate it. Everything you need
is below.
Tom
Terra Info wrote:
Thanks for the help. Below is all the info you request
Thanks for the help. Below is all the info you requested. I have also
attached the test script (code below for those attachement challenged,
et al;) and an example can be seen at
http://dev.terranovum.com/some-bad-link/. To see what it should be doing
call it directly at http://dev.terranovum.c
Terra Info wrote:
I have a script that provides custom error messages that I set up using
the ErrorDocument directive (ie; ErrorDocument 400
/cgi-global/error.pl?error=400&useXML=1). When run under typical mod_cgi
all works as planned and it outputs the proper stuff. When run under
mod_perl it
On Thu, 19 Dec 2002, Carl Holm wrote:
> Hello,
>
> After adding 'LoadModule perl_module modules/mod_perl.so' and / or
> 'PerlRequire "C:/Apache2/conf/extra.pl"'
> to httpd.conf , my Apache (2.0.43) HTTP server fails. I am using
> mod_perl 1.99_08-dev. Any thought s
> would be greatly ap
Hi -
Some thoughts from a relative newbie who just recently got
ap2/mp2 up and running...
1) How does is fail? Seg fault?
2) Did you add modules to Apache2 during the ap2 ./configure
setp? If so, you may want to re-install it 'naked':
./configure --with-mpm=worker (-or- prefork)
After you get
> Issac Goldstand wrote:
> > I think I got it... I was under the understanding that each fireman
could
> > only hande 1 bucket at a time, but there could be up to as many buckets
as
> > firemen on the stack at any given time... Do you know why it's like
that?
>
> a limitation of the current mpms
- Original Message -
From: "Stas Bekman" <[EMAIL PROTECTED]>
Cc: "Ask Bjoern Hansen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, November 28, 2002 11:07 AM
Subject: default Content-Length calculation has been removed in 2.0 (was Re:
mo
.--[ Ask Bjoern Hansen wrote (2002/09/19 at 01:47:39) ]--
|
| On Wed, 18 Sep 2002, Josh Chamas wrote:
|
| [...]
| > So I run it again with ServerTokens Min, and get the same results. :)
| > Still something different on the mod_perl headers, looks like mod_perl
| > 2.x is se
On the Apache 2.0 note, 2.0 breaks terribly when it has to
proxy chunked data. It strips the chunk length and does
not replace it with a Content-Length.
Bug is filed but no one in the Apache group seems to want
to play with it :(
Just a warning for those of you who may potentially be
doing p
On Wed, 18 Sep 2002, Josh Chamas wrote:
[...]
> So I run it again with ServerTokens Min, and get the same results. :)
> Still something different on the mod_perl headers, looks like mod_perl
> 2.x is setting Content-Length where it didn't use to.
The details evade me, but I recall something abou
Perrin Harkins wrote:
> Josh Chamas wrote:
>
>> I just did a benchmarks to compare mod_perl + apache versions 1 & 2.
>
>
> Cool.
>
> Any idea why bytes/hit is lower on apache 2? Are some headers being
> omitted?
>
Looks like its the Server tokens, see below. 32 bytes!
Maybe on a benchmark
Josh Chamas wrote:
> I just did a benchmarks to compare mod_perl + apache versions 1 & 2.
Cool.
Any idea why bytes/hit is lower on apache 2? Are some headers being
omitted?
- Perrin
Michael Wojcikiewicz wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Has anyone tried getting mod_perl to work in Apache v2 (the latest
> beta?)... Just a quick try resulted in mod_perl2 trying to compile against
> apache 1.3.20... Wasnt mod_perl v2 supposed to be for Apache v2?...
On Wed, Apr 26, 2000 at 01:32:29AM -0700, Doug MacEachern wrote:
> > Just tried it here and aside from some warnings it compiled and passed all
> > its tests. Can't say whether it works or not though as Msql-Mysql doesn't
> > compile, you got a patch hiding for that somewhere too :-)
>
> sure :)
On Wed, 26 Apr 2000, Michael hall wrote:
> Just tried it here and aside from some warnings it compiled and passed all
> its tests. Can't say whether it works or not though as Msql-Mysql doesn't
> compile, you got a patch hiding for that somewhere too :-)
sure :) again, just compiles, not sure
On Tue, Apr 25, 2000 at 07:08:00PM -0700, Doug MacEachern wrote:
> > The biggest hurdle I've faced until now is
> > that DBI won't build with this threaded perl. Hopefully DBI will be updated
> > since the latest version is from july 99.
>
> it compiles with the patch below, not sure if it actua
On Sat, 22 Apr 2000, Eric Cholet wrote:
> mod_perl-2.0 requires perl 5.6 to be build with -Dusethreads, which turns
> on threading and multiplicity.
just to be clear, as you mention below, -Dusetheads isn't required for
mod_perl-2.0, but strongly suggested if you use an mpm other than prefork :
On Sun, 23 Apr 2000, Gunther Birznieks wrote:
> I agree... but to some degree I hope this has been done for many of the
> major modules and the major DBI modules (eg DBD sybase)... as they ended up
> having to work on ActiveState's PerlEx which uses a similar model. In a
> way, PerlEx's model
On Sat, 22 Apr 2000, Leslie Mikesell wrote:
> So, does that still leave mod_perl serializing access until
> everything is rewritten to be thread-safe?
no, -Dusethreads with 5.6.0 makes the Perl runtime (aka PerlInterpreter),
re-entrant. all of Perl's internal globals (symbol table, stacks,
etc.
>
> In the end, there may still be some threading issues that should
> be watched
> out for I suspect. If mod_perl 2.0 follows a similar design to
> ActiveState's PerlEx, PerlEx also has some problems when the Perl modules
> themselves link to stuff that is not threadsafe as a shared library.
>
Y
At 09:59 AM 4/23/00 -0700, Jeffrey W. Baker wrote:
>On Sun, 23 Apr 2000, Gerald Richter wrote:
>
> > >
> > > So, does that still leave mod_perl serializing access until
> > > everything is rewritten to be thread-safe?
> > >
> >
> > No, mod_perl 2.0 assign a "full" Perl interpreter to every Apache
On Sun, 23 Apr 2000, Gerald Richter wrote:
> >
> > So, does that still leave mod_perl serializing access until
> > everything is rewritten to be thread-safe?
> >
>
> No, mod_perl 2.0 assign a "full" Perl interpreter to every Apache thread. So
> the Perl modules itself need not to be thread safe.
At 02:51 PM 4/23/00 +0200, Gerald Richter wrote:
> >
> > So, does that still leave mod_perl serializing access until
> > everything is rewritten to be thread-safe?
> >
>
>No, mod_perl 2.0 assign a "full" Perl interpreter to every Apache thread. So
>the Perl modules itself need not to be thread saf
>
> So, does that still leave mod_perl serializing access until
> everything is rewritten to be thread-safe?
>
No, mod_perl 2.0 assign a "full" Perl interpreter to every Apache thread. So
the Perl modules itself need not to be thread safe. Perl 5.6 has some nice
features to clone a Perl interpret
According to Eric Cholet:
> >
> > Does apache 2.0 let you run a prefork model under NT?
>
>
> NT has it's own MPM which is threaded
>
> prefork ... Multi Process Model with Preforking (Apache 1.3)
> dexter Multi Process Model with Threading via Pthreads
> C
On Sat, Apr 22, 2000 at 11:59:58AM +0200, Eric Cholet wrote:
> > though. Can anybody in the know, shed some light on this, just trying to
> > save some work down the road as I'd like to upgrade to the perl 5.6 stuff
> > now and use it with my existing mod_perl (I already use the CVS version
> > a
> > This is for using Apache 2.0's pthread MPM, of course you can build perl
> > 5.6 non threaded and use apache 2.0's prefork model but then it's not
> > as exciting :-)
>
> Does apache 2.0 let you run a prefork model under NT?
NT has it's own MPM which is threaded
prefork ... Multi Pr
According to Eric Cholet:
>
> This is for using Apache 2.0's pthread MPM, of course you can build perl
> 5.6 non threaded and use apache 2.0's prefork model but then it's not
> as exciting :-)
Does apache 2.0 let you run a prefork model under NT?
Les Mikesell
[EMAIL PROTECTED]
> I'm more of a perl end user and plead ignorance in actually understanding
> what goes on behind the scenes. In the process of considering upgrading to
> perl 5.6 and according to a recent message I see its going to be required
> for mod_perl 2.x anyways so I guess its a good time to start migrat
43 matches
Mail list logo