* Doug MacEachern
|
| On 15 Sep 2000, Bjørn Ola Smievoll wrote:
|
| I need to retrieve the value of the ErrorLog directive (i.e. the path
| filename of the error_log), but I can't find a way to do it with
| mod_perl. (The C api equivalent is the error_fname field in the
| server_rec
I just installed perl-5.6.0 from CPAN on hpux. But I had to use cc. It gave
me
errors when I tried to compile perl with gcc. Any idea what could be going
wrong?
I get a warning / error message : there is a BIG problem with your setup.
- nani (Dhananjay Naniwadekar)
-Original Message-
From: Herrington, Jack [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 25, 2000 10:36 PM
To: [EMAIL PROTECTED]
Subject: Apache::Request-new() problem
I have the same problem as one of the previous reporters with
Apache::Request-new(). The problem occurs
If you are using qmail-inject in a high volume configuration, make sure you
reduce or eliminate most of its logging, otherwise the system will spin its
wheels doing logging work and not sending out emails.
Haven't compared Net::SMTP to qmail-inject, but qmail-inject is
Hi, list people...
I have a serious problem here...
I'm building a rewriting proxy for my apache with mod_perl.
(Source code here: http://www.sourceforge.net/projects/myproxy/)
Have a nice beta release...
So i decided that it was time to
well, if you don't have that, then you likely don't have Apache::Request or
Apache::Cookie - they aren't part of the mod_perl distribution :)
you need libapreq, which can be found under the Apache tree on CPAN
libapreq appears to come with Bundle::Apache, but I also downloaded it
seperately and
Hi,
I wonder if it's possible to somehow alter Apache's internal counter matched
against MaxRequestPerChild or schedule the launching of a new child from
withing mod_perl.
The reason I want to do this, is that in the administrator section of my
website, quite some stuff gets cached from the
At 18.56 +0200 9/26/2000, Ime Smits wrote:
Hi,
I wonder if it's possible to somehow alter Apache's internal counter matched
against MaxRequestPerChild or schedule the launching of a new child from
withing mod_perl.
The reason I want to do this, is that in the administrator section of my
-Original Message-
From: Herrington, Jack [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 26, 2000 12:17 PM
To: [EMAIL PROTECTED]
Subject: RE: Apache::Request-new() problem
well, if you don't have that, then you likely don't have
Apache::Request or
Apache::Cookie - they
-Original Message-
From: Ime Smits [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 26, 2000 12:57 PM
To: [EMAIL PROTECTED]
Subject: Scheduling an Apache child for termination/influence
MaxRequestsPerChild counter
Hi,
I wonder if it's possible to somehow alter Apache's
On 25 Sep 2000, Alan E. Derhaag wrote:
Good try, but /dev/null is not broken on my machine.
ok, i have seen this happen at least once in the past, glad it's not a
common problem. looking back now at some other mod_ssl fixes for 'make
test', i'm reading that mod_ssl has some sort of problem
On Mon, 25 Sep 2000, Herrington, Jack wrote:
I have the same problem as one of the previous reporters with
Apache::Request-new(). The problem occurs whether I call it after a 'use'
or after a 'PerlModule' load. Perl returns the no 'new' method could be
found for Apache::Request.
sounds to
On Tue, 26 Sep 2000, Luis 'Champs' de Carvalho wrote:
[Tue Sep 26 10:50:43 2000] [error] Can't locate object method "schema" via
^
package "URI::http" at /usr/local/lib/site_perl/URI/WithBase.pm line 48.
line 48 is an
On 26 Sep 2000, Bjørn Ola Smievoll wrote:
I want to return the last 5 lines or so of the error_log each time
there's a 500 error. The faculty and students ordinarily don't have
access to the error log, so it will be helpful for them to see the
last lines from the log file to help them fix
On Mon, 25 Sep 2000, B. Burke wrote:
I've been able to basically remove the response headers by removing the
functionality
of ap_sen_header_field() before compiling Apache, but it would be nice to
you don't have to remove anything, just don't call $r-send_http_header
and make sure
On 24 Sep 2000 [EMAIL PROTECTED] wrote:
Can anyone tell me if there is a way to run mod_perl's Apache::DB under
emacs?
there are some 'remote' hooks in the Perl debugger (perl5db.pl), but i've
only heard about it, never tried, so not sure if that is a possible
solution. i don't think
On Tue, 6 Jun 2000, Ben Cohen wrote:
This was certainly a weird bug ( I think it was a bug ).
Even setting PerlSetEnv in httpd.conf didn't help.
The PATH would be properly set until the first time a mod_perl
script modified its PATH at which point all other
scripts including mod_cgi
On Thu, 8 Jun 2000, Ian Kallen wrote:
I'm using a third party module that writes a bunch of variables to the
subprocess_env table to setup data for the request. It has us making
repeated class method calls like this (for our usage with Mason):
% Blah::foo('bletch') %
where foo is in the
* Doug MacEachern
|
| works fine for me with this config:
[ ... ]
| with mod_perl-1.24_01-dev, apache_1.3.13-dev, perl-current (5.7.0@7093)
Works for me too when PerlSetVar is inside a Location /foo, but not
when it's defined outside, in the 'root' of httpd.conf. Is this how
it should be?
Hi all!
I run mod_perl for my webservers and it's pretty darn nice... ;-)
However, I see comments like, 'Oh, that was a bug log ago fixed in the CVS'
and then I cringe:
Building mod_perl like I want it is not a process I've ever been able to get
"simple."
My environment is RedHat 6.2, but
On Thu, 6 Jul 2000, Geoffrey Young wrote:
I guess my expectation is that $r-dir_config('MyVar') and
$r-dir_config-get('MyVar') should inherit equally, which as far as I can
tell, they don't. PerlSetVar or PerlAddVar - it makes no difference.
the problem is related to the
On 26 Sep 2000, Bjørn Ola Smievoll wrote:
Works for me too when PerlSetVar is inside a Location /foo, but not
when it's defined outside, in the 'root' of httpd.conf. Is this how
it should be? From the documentation in 'Writing Apache Modules ..'
it doesn't seem like it is, at least not to
Lord Vorp ([EMAIL PROTECTED]) said something to this effect:
Is there an easier/cleaner way to do this???
Yes:
# cat ~/build_mod_perl
perl Makefile.PL APACHE_SRC=../apache-1.3.9/src \
DO_HTTPD=1 \
USE_APACI=1 \
EVERYTHING=1 \
APACI_ARGS='--prefix=/usr \
--with-layout=RedHat
I'm using Mason in process with mod_perl. I have also tried using mod_perl
handlers direct with Apache::Request with no success.
-Original Message-
From: Doug MacEachern [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 26, 2000 10:23 AM
To: Herrington, Jack
Cc: [EMAIL PROTECTED]
Solaris 2.8
Apache 1.3.12
GCC 2.95.2
Perl 5.6.0
Enterprise 250 (64bitish)
Modperl 1.24
I can't get modperl compiled as a DSO neither via the 'flexible-method'
nor the APXS method.
The first method, seg faults.
The second method won't configure, stating I should not build mod-perl
as a DSO or
On Sat, 10 Jun 2000, Perrin Harkins wrote:
Here's something that might be obvious to others but took me a while to
figure out:
If you want to get useful profiling information, you need to initialize
the debugger before your modules get compiled. If you pull in your
modules from
-Original Message-
From: Doug MacEachern [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 26, 2000 2:35 PM
To: Geoffrey Young
Cc: 'Eric Cholet'; Matt Sergeant; [EMAIL PROTECTED]
Subject: RE: PerlAddVar bug
On Thu, 6 Jul 2000, Geoffrey Young wrote:
I guess my
On Mon, 14 Aug 2000, Niraj Sheth wrote:
Hi,
I am having very strange problem with environment variables.
From Apache::PerlRun script(cgi) I am setting env and firing background
process ..
system("$command ") (or print `$command `;)
now looks like environment variable being
On Tue, 15 Aug 2000, Trevor Phillips wrote:
I'm having problems with a mix of PerlAccessHandlers. I have two handlers, and
it is required that one be defined in a Location block, and the other
currently in .htaccess' as required.
The problem is that the one in the .htaccess is being
On Tue, 15 Aug 2000, Niraj Sheth wrote:
so why dump_env is getting both?
If I either uncomment "local %ENV = %ENV;" in script or put "%ENV = ();"
in PerlCleanupHandler then dump_env is working fine.
I tried both Apache::PerlRun and Apache::Registry which same result.
oh whoops, you did
On Sat, 19 Aug 2000, Ron Pero wrote:
Am running
In PerlRun
$ENV{MOD_PERL} = mod_perl/1.21
This is perl, version 5.005_03 built for i386-freebsd
It is on iserver, which has a virtual root system
Am also running dbi.
When the script calls "exit", it produces an error:
at
Shoulda thought about your answer first, Doug. :-)
I see this type of message ("error at /dev/null") when my mod_perl scripts
give warnings -w style instead of $r-warn. For example, HTML::Embperl, or
Apache::Registry both do this.
The nature of the error message sez to me there is a
On Tue, 22 Aug 2000, Kairam, Raj wrote:
I am trying to build modperl ( mod_perl-1.24 ) as DSO in to Apache (
apache_1.3.12 ) on a host running HP-UX 11.0
ld: Unrecognized argument: -Wl -E
ld: Usage: ld flags ... files ...
The output of make is captured in the following attachment
On Tue, 26 Sep 2000, Geoffrey Young wrote:
groovy - the patch seems to work just fine (you've been busy, it seems :)
cool!
p.s.
i also just committed a change so PerlAddVar is now an ITERATE2 rather
than TAKE 2, so you can say:
PerlAddVar Key val-one val-two val-three
that
Doug MacEachern wrote:
modperl is the best kept secret on the net. Shame!
seems to generate plenty of list traffic for a "secret" ;)
Don't you all think, that mod_perl isn't promoted enough and
this will kill it someday, despite its technical goodness?
- There are no articles in the
On Tue, 26 Sep 2000, Doug MacEachern wrote:
the Apache::DB docs explain this:
The connection between Apache::DProf and calling something in Apache::DB
was not obvious to me until I thought about how DProf works.
it should probably be made more clear though, maybe a comment in the
config
On Thu, 24 Aug 2000, Jens-Uwe Mager wrote:
Well, I have only used the apxs DSO style build previously and did not
notice that for linking modperl statically into httpd (apaci style)
there are small problems due to the AIX specifix .exp file business. The
following patch fixes this, in
On 22 Aug 2000, Andrew Gideon wrote:
...
My .htaccess file contains:
PerlModule Apache::TAGXSessionAuth
PerlAuthenHandler Apache::TAGXSessionAuth-authen
PerlAuthzHandlerApache::TAGXSessionAuth-authz
After attaching to a child process and getting the
On Tue, 26 Sep 2000, Perrin Harkins wrote:
On Tue, 26 Sep 2000, Doug MacEachern wrote:
the Apache::DB docs explain this:
The connection between Apache::DProf and calling something in Apache::DB
was not obvious to me until I thought about how DProf works.
yeah, i was actually surprised to
See http://people.redhat.com/plindner/apache/ for a static mod_perl
that runs well on redhat.
I am putting src and i386 rpms there..
Note that this is incomplete. You'll need to roll your own conf files...
This also includes some oracle and php code too. Thus it is blessed
'apache-heavy'
I
On Wed, 30 Aug 2000, Jesse Erlbaum wrote:
Hey Doug mod_perl'ers!
I tried to build mod_perl and use "make tar_Apache" to build a distributable
tar for other same-architecture machines, without success.
...
If this is correct, and not an artifact of trying to build outside of the
normal
I regret I was not subscribed for a few days.
If anyone knows anything about this: "some 'remote' hooks in the Perl
debugger" and they posted to this list, please let me know at:
[EMAIL PROTECTED]
I am now re-subscribed.
Thanks,
Dick
Can anyone tell me if there is a way to run mod_perl's
Does anyone have an idea of how to set up a remote host request. I am attempting
to set up a web system where the user makes a request and it is process from one
server to another. The remote server will return a file that will be formatted
in a web page.
I already have the formatting done...it
I am trying to install perl-5.6.0 on hpux.
It is choosing cc as the c compiler. I don't know why. If I install an
earlier version
of perl, it chooses gcc.
I have an env-variable named CC which is set to gcc .
My $PATH first lists the dir which contains "gcc" executable, and then the
dir which
It sounds like you're looking for a proxy. If that's the case, there are a
huge variety of options starting with apache's own built-in mod_proxy.
Regards,
Christian
-Original Message-
From: Allen Wilson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 26, 2000 3:54 PM
To: Modperl
Take a look at Apache::ProxyStuff. It may do exactly what you want and if it
doesn't it'll give you some ideas on how to do what you want.
On 26-Sep-2000 Allen Wilson wrote:
Does anyone have an idea of how to set up a remote host request. I am
attempting
to set up a web system where the user
I'm running Apache 1.3.9 with mod_perl embedded, on Debian GNU/Linux.
I have the following lines towards the end of my httpd.conf:
PerlSetEnv PERL5LIB /usr/local/MyPerl/lib
PerlRequire startup.pl
Include perllocs.conf
However, upon system startup, my startup.pl fails because it can't find
a
* Keith G. Murphy ([EMAIL PROTECTED]) [000926 18:43]:
I'm running Apache 1.3.9 with mod_perl embedded, on Debian GNU/Linux.
I have the following lines towards the end of my httpd.conf:
PerlSetEnv PERL5LIB /usr/local/MyPerl/lib
PerlRequire startup.pl
Include perllocs.conf
However, upon
If you have a startup.pl, why not just
use lib qw(/usr/local/MyPerl/lib);
within the startup.pl script?
Regards,
Christian
-Original Message-
From: Keith G. Murphy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 26, 2000 5:32 PM
To: [EMAIL PROTECTED]
Subject: Why isn't
Title: Core file (debugging info turned on/stack trace)
Apache 1.3.12, mod_perl 1.24, Perl 5.6.0, Redhat 6.1
...
Program terminated with signal 11, Segmentation fault.
...
0 0x814abd4 in Perl_sv_setsv (dstr=0x8d34514, sstr=0x84afba4) at sv.c:2774
#1 0x813b6b3 in Perl_pp_sassign () at
Stas Bekman wrote:
Before I upload it to CPAN, are there any objections to calling it
"ApacheBench"? Other names I considered are "Bench", "ab", "ABuse"... but
ApacheBench I thought was the best because an m/Apache/ search on CPAN will find
it.
That's the proper name, since it's a
On Tue, 26 Sep 2000, Keith G. Murphy wrote:
I'm running Apache 1.3.9 with mod_perl embedded, on Debian GNU/Linux.
I have the following lines towards the end of my httpd.conf:
PerlSetEnv PERL5LIB /usr/local/MyPerl/lib
PerlRequire startup.pl
Include perllocs.conf
However, upon system
At 10:28 PM 9/26/2000 +0200, Alexander Farber (EED) wrote:
Doug MacEachern wrote:
modperl is the best kept secret on the net. Shame!
seems to generate plenty of list traffic for a "secret" ;)
Don't you all think, that mod_perl isn't promoted enough and
this will kill it someday, despite its
Gunther Birznieks wrote:
I unfortunately have to agree.
snip
And in the end, the salaries for mod_perl programmers
are pretty high right now because of it -- so will a system really cost
less to develop in mod_perl than in Java if Java programmers are becoming
less expensive than mod_perl
Title: RE: Core file (debugging info turned on/stack trace)
Well I did a little more investigation - it seems that we are dieing in Expat.pm line 451. The offending Function is:
sub parse {
my $self = shift;
my $arg = shift;
croak Parse already in progress (Expat) if $self-{_State_};
Thanks for looking at it.
I prefer "%ENV = ();" in PerlCleanupHandler handler. (as i don't have to
modify so many scripts).
I don't think it has any negative effect ...
-Niraj
-Original Message-
From: Doug MacEachern [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 26, 2000 3:32
dougm 00/09/26 09:55:43
Modified:.Changes ToDo Makefile.PL
t/conf httpd.conf-dist
Log:
'make test' config fixes for mod_ssl
Revision ChangesPath
1.518 +4 -0 modperl/Changes
Index: Changes
dougm 00/09/26 10:03:06
Modified:.Changes
eg makepl_args.mod_perl
Log:
eg/makepl_args.mod_perl updated
Revision ChangesPath
1.519 +3 -0 modperl/Changes
Index: Changes
dougm 00/09/26 11:42:02
Modified:.Changes
Log:
fix bug in Perl{Set,Add}Var so $r-dir_config-get('key') sees the
same values as $r-dir_config('key')
Revision ChangesPath
1.522 +3 -0 modperl/Changes
Index: Changes
mod_perl VERSION: 1.24
Apache version: 1.3.12
Apache MMN: 19990320
make[1]: Entering directory `/exp/h1/staff/randerson/src/mod_perl-1.24'
(cd ../apache_1.3.12/src make CC="cc";)
make[2]: Entering directory `/exp/h1/staff/randerson/src/apache_1.3.12/src'
=== regex
dougm 00/09/26 13:07:36
Modified:src/modules/perl perl_config.c
Log:
fix bug in Perl{Set,Add}Var so $r-dir_config-get('key') sees the
same values as $r-dir_config('key')
Revision ChangesPath
1.103 +10 -8 modperl/src/modules/perl/perl_config.c
Index:
dougm 00/09/26 13:20:00
Modified:.Changes
apacimod_perl.config.sh
lib/Apache src.pm
Log:
static+apaci fixes for aix
Revision ChangesPath
1.523 +2 -0 modperl/Changes
Index: Changes
dougm 00/09/26 14:02:44
Modified:.Changes
src/modules/perl perl_config.c
Log:
fix for Perl{Module,Require} in .htaccess
Revision ChangesPath
1.524 +3 -0 modperl/Changes
Index: Changes
richter 00/09/26 21:37:58
Modified:embperl CVS.pod.1.html Changes.pod.1.html
Log:
Embperl Webpages - Changes
Revision ChangesPath
1.13 +1 -1 modperl-site/embperl/CVS.pod.1.html
Index: CVS.pod.1.html
64 matches
Mail list logo