dougm 02/05/29 18:23:28
Modified:src/modules/perl modperl_perl_includes.h
Log:
define environ on darwin if needed
Revision ChangesPath
1.13 +5 -0 modperl-2.0/src/modules/perl/modperl_perl_includes.h
Index: modperl_perl_includes.h
dougm 02/05/29 18:52:55
Modified:lib/Apache Build.pm
Log:
darwin does not like ranlib on mod_perl.so
Revision ChangesPath
1.95 +9 -4 modperl-2.0/lib/Apache/Build.pm
Index: Build.pm
===
dougm 02/05/29 19:33:49
Modified:src/modules/perl modperl_filter.c modperl_filter.h
xs/APR/Bucket APR__Bucket.h
xs/Apache/RequestIO Apache__RequestIO.h
xs/tables/current/ModPerl FunctionTable.pm
Log:
use apr_size_t rather than
dougm 02/05/29 20:54:08
Modified:lib/Apache compat.pm
Log:
prevent inclusion of Apache::Table
Revision ChangesPath
1.56 +2 -0 modperl-2.0/lib/Apache/compat.pm
Index: compat.pm
===
RCS
dougm 02/05/29 21:05:07
Modified:lib/Apache compat.pm
t/response/TestApache compat2.pm
Log:
add compat for Apache::Table-new
Revision ChangesPath
1.57 +8 -0 modperl-2.0/lib/Apache/compat.pm
Index: compat.pm
dougm 02/05/29 23:00:49
Modified:lib/Apache Build.pm
Log:
prevent possible fatal warning seen in 5.6.0/darwin in MM-init_others
Revision ChangesPath
1.96 +4 -1 modperl-2.0/lib/Apache/Build.pm
Index: Build.pm
Hi,
I am a little bit late for this thread, but anyway...
I looked at Apache::ImageMagick last night however, and although it
seems pretty usefull, it doesn't really address what I want to do with
my module.
I read your original RFC and as far as I see you can do everything you have
Hi
Some messages ago, someone still mentioned that modperl had been
- compiled in -,
when describing his configuration, that he was having trouble with.
Does this mean it is still better to compile it in instead of
using mod_perl as a dso?
Arnold
Hi!
On Tue, May 28, 2002 at 09:48:14PM -0600, Ryan Thompson wrote:
I'm developing a large-ish web site in which I would like to use a
combination of mod_perl (90%) and PHP (10%). I have run into a
roadblock trying to include the output of a PHP script from a mod_perl
script.
As far as I know
Hi,
I'm building an MVC architecture site and have hit a design issue. I have
varoius Control subclasses which relate to different templates with
different behaviour. Now my problem is that I have to assign which
Subclass I want to instantiate, based on the script and params. I my last
effort
On Wed, 29 May 2002, Thomas Klausner wrote:
Hi!
On Tue, May 28, 2002 at 09:48:14PM -0600, Ryan Thompson wrote:
I'm developing a large-ish web site in which I would like to use a
combination of mod_perl (90%) and PHP (10%). I have run into a
roadblock trying to include the output of a
At 00:25 29.05.2002, Kent, Mr. John wrote:
Now my question. In the older version,(126) mod-perl created a larger
(heavy)
webserver. I could then add a startup.pl file to its http.conf file
which used Apache::Registry to load perl and my modules.
I don't see how this works in the new version of
At 11:41 29.05.2002, Arnold van Kampen wrote:
Hi
Some messages ago, someone still mentioned that modperl had been
- compiled in -,
when describing his configuration, that he was having trouble with.
Does this mean it is still better to compile it in instead of
using mod_perl as a dso?
If
I have to agree with this statement. We have a server farm with 15 apache servers
running mod_perl as a DSO (not counting the several development and QC servers) with
no problems. IMHO mod_perl as a DSO probably had problems in the beginning, but I
couldn't confirm that without some research
Is there a neat way of dynamically loading in the appropriate control
subclass? Something proven and widely used.
For what it's worth, I use the eval trick too. Although it may seem a
little clunky, I believe it is proven and widely used. The DBI.pm
module uses code like this to load in the
Ian D. Stewart wrote:
On 2002.05.27 12:57 Andrew McNaughton wrote:
Sounds to me like you're not setting your content-type correctly for
some
reason. Have a look at the headers being sent out. It's either not
sending this header, or it's sending something the browser doesn't
know
what
Lucas M. Saud wrote:
hi,
i'm writting a module to highlighting of Perl syntactical structures, but the
current code is very slow... :(
i need some help to implementing a method of back-tracking or one way to revising
a token that has already been formatted without reformatting the entire
Hi
I have been going through the code example on www.perl.com
(XSP, Taglibs and Pipelines)
I noticed I get a problem with
PerlWarn On
PerlTaintCheck On
in httpd.conf.
So, when I turn PerlWarn Off and PerlTaintCheck Off it works.
Main error message:
[AxKit] [Error] Insecure dependency in
At 16:00 29.05.2002, Arnold van Kampen wrote:
Hi
I have been going through the code example on www.perl.com
(XSP, Taglibs and Pipelines)
I noticed I get a problem with
PerlWarn On
PerlTaintCheck On
in httpd.conf.
So, when I turn PerlWarn Off and PerlTaintCheck Off it works.
Main error
On Wed, 29 May 2002 09:22:00 -0400
Aaron Ross [EMAIL PROTECTED] wrote:
: Is there a neat way of dynamically loading in the appropriate control
: subclass? Something proven and widely used.
:
: For what it's worth, I use the eval trick too. Although it may seem a
: little clunky, I believe
Rafiq Ismail (ADMIN) wrote:
Now my problem is that I have to assign which
Subclass I want to instantiate, based on the script and params.
So, you're asking how to map URLs to perl modules? Is there some reason
you aren't simply using httpd.conf or Apache::Dispatch? In my last MVC
design,
Christian Gilmore wrote:
How does the Carp module interact with mod_perl? Is there a built-in catch
for croak or does it actually kill the child process, for instance?
seems not to have any effect, i.e. it doesn't kill the process
On 2002.05.28 01:23 Per Einar Ellefsen wrote:
Or... maybe you could try using Apache class methods inside Perl
sections (like document_root) -- however I think that'd be pretty
shaky.
Hmm...something to tinker with as time permits...
Thanx,
Ian
Ello,
On 29 May 2002, Randal L. Schwartz wrote:
Rafiq == Rafiq Ismail (ADMIN) [EMAIL PROTECTED]
writes:
Rafiq Is there a neat way of dynamically loading in the appropriate
control
Rafiq subclass? Something proven and widely used.
Load the file with a require, and then just call the
We're developing a pretty complex web app using mod_perl and Mason
and I'd like to use some form of MVC structure to keep things
manageable.
I'm looking for some pointers on MVC in this context. Specifically, M
is easy ... use Perl objects, but how are others implementing the
Controllers and
On Tue, 28 May 2002, Geoffrey Young wrote:
Doug MacEachern wrote:
thanks, i've applied a variation of your patch to cvs and will be in 1.27
if anybody wants to work up a similar patch for Apache::PerlRun, that'd be
nice too.
this seems to work ok as PerlRun and RegistryNG.
On Fri, 24 May 2002, Udlei Nattis wrote:
hi
i updating modperl-2.0-cvs and problem persist
now i change DynaLoader in DBI.pm to XSLoader but problem persist :(
you shouldn't need to change DBI.pm
the output of perl build/config.pl (normally should use t/REPORT) might
help. and your DBI
Ray Zimmerman wrote:
If I understand correctly, the Mason component that generates the page
the user sees would be considered the View. But where is the Controller?
I wrote a little about this in my templating guide, and there has been
discussion on the Mason list. A common approach is to
Dave Rolsky wrote:
On Wed, 29 May 2002, Perrin Harkins wrote:
There's no good reason to do an eval 'use'. Use require instead, and
import if you need to (but most people don't).
Actually, there is. This code:
my $module = 'Foo::Bar';
require $module;
is not the same as
Rafiq Ismail (ADMIN) wrote:
I'm not so keen on loading all the inheriting classes into memory
beforehand
You really should do that, because it will save overall memory by
increasing the amount of memory that's shared. All modules should be
loaded during startup in the parent process.
It's
On Wed, 29 May 2002, Perrin Harkins wrote:
There's no good reason to do an eval 'use'. Use require instead, and
import if you need to (but most people don't).
Actually, there is. This code:
my $module = 'Foo::Bar';
require $module;
is not the same as this:
require Foo::Bar;
If
Ted Prah wrote:
Hi again,
I'm having trouble seeing module changes when I reload
a script that uses it.
That's because Reload.pm doesn't re-exports the symbols when reloading
the module and test.pl doesn't call import() because it sees the module
in %INC, therefore it still sees the old
Original Message
Subject: ApacheCon session submissions: deadline is this Friday!
Date: Tue, 28 May 2002 13:15:57 -0400
From: Rodent of Unusual Size [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Organization: The Apache Software Foundation
To: ASF members [EMAIL PROTECTED]
Thanks for the input Stats. I found your debugging methodology
to be very informative and especially useful in a mod_perl environment.
I tried your suggestion of commenting out
require $key;
in Reload.pm, but it did not work for me. I'd be happy to try
any other suggestions you
French, Shawn wrote:
Although this is working right now, I don't know enough [ anything? :) ]
about Apache or mod_perl to be sure that this will work in the future.
I can't see how it could be working now, unless it is actually creating
a new Telnet object on every request. Your %sessionHash
Maybe you can tell us more about the project (e.g. why
telnet ?) so there will come many bad advices ? :-)
Peter Bi
Perrin wrote:
I can't see how it could be working now
That makes two of us!
You're probably opening new telnet connections from each apache process.
I know that I
Our project needed persistent socket connections open as well. There is
supposed to be a standard mechanism to pass file descriptors between unix
processes, though it's bugginess level depends on your OS. There is a perl
module for this called Socket::PassAccessRights. So what you can do is
Ted Prah wrote:
Thanks for the input Stats. I found your debugging methodology
to be very informative and especially useful in a mod_perl environment.
I tried your suggestion of commenting out
require $key;
in Reload.pm, but it did not work for me. I'd be happy to try
any
Ryan Thompson wrote:
Thomas Klausner wrote to [EMAIL PROTECTED]:
Hi!
On Tue, May 28, 2002 at 09:48:14PM -0600, Ryan Thompson wrote:
I'm developing a large-ish web site in which I would like to use a
combination of mod_perl (90%) and PHP (10%). I have run into a
roadblock trying to include
I never do give enough info on the first e-mail. Thank you for bearing with
me...
What I mean is, if a request comes in for a certain form I would like to be
able to do something like this:
my $form = load_form($r);
$c{$session_id}-{handler} = $form-{handler}; # -- this being a code
ref...
You could just pass around a string rather than a subref:
my $handler = 'sub { my $arg = @_; do_something(); }';
vs
my $handler = sub { my $arg = @_; do_something(); };
When you want to call it later on you do it like:
eval($handler)-('foo');
vs
$handler-('foo');
Garth
On
geoff 02/05/29 09:52:17
Modified:lib/Apache PerlRun.pm
Log:
PerlRun/RegistryNG errors are now saved in $r-notes('error-notes')
Submitted by: geoff
Reviewed by: dougm
Revision ChangesPath
1.39 +9 -2 modperl/lib/Apache/PerlRun.pm
Index: PerlRun.pm
geoff 02/05/29 09:56:04
Modified:.Changes
Log:
expand $r-notes('error-notes') to cover PerlRun and RegistryNG
Revision ChangesPath
1.647 +2 -1 modperl/Changes
Index: Changes
===
43 matches
Mail list logo