] **
*** _/ *
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]
Sent: 18 September 2003 11:37
To: Pringle, Chris (HP-PSG)
Cc: [EMAIL PROTECTED]
Subject: Re: [mp2][QUESTION]: Filter to modify request headers on a
proxy
Pringle, Chris (HP-PSG) wrote:
Hi,
I've just tried that script again (see link below) using a POST request.
In the error log file, there is the content of the POST Request e.g.
user=cpringlepassword=x but nothing else. There is no HTTP headers.
My Apache directive to enable the filter is
Thanks for this. I had put 'PerlInputFilterHandler
iPAQApache::ResetBrowser' inside the proxy block, and it should have
been outside like you said.
_/***
* _/ **Chris Pringle**
Pringle, Chris (HP-PSG) wrote:
Thanks for this. I had put 'PerlInputFilterHandler
iPAQApache::ResetBrowser' inside the proxy block, and it should have
been outside like you said.
So it did work this time, right? Perhaps we should issue a warning if a
connection filter is found insider Location or
Hi,
I am trying to write a filter that will sit on a proxy server and alter
HTTP requests. Basically, what I want it to do is modify the User-Agent
header field so that when the request is proxied, the remote web server
gets a different User-Agent header field to the one that was originally
sent
Pringle, Chris (HP-PSG) wrote:
Hi,
I am trying to write a filter that will sit on a proxy server and alter
HTTP requests. Basically, what I want it to do is modify the User-Agent
header field so that when the request is proxied, the remote web server
gets a different User-Agent header field to
Hello Group,
Hope this isn't too apache related and considered
off topic.
I have a bunch of sites, each have their own
IP.
Some of those sites have subsites within them with
different domain names, these subsites are virtual's based on domainname with
all the same parent IP.
If I have MP2
Subject: MP2 Apache Settings
Hello Group,
Hope this isn't too apache related and considered
off topic.
I have a bunch of sites, each have their own
IP.
Some of those sites have subsites within them
with different domain names, these subsites are virtual's based
Randy Kobes wrote:
On Fri, 12 Sep 2003, Steve Hay wrote:
Hi,
Has anybody else got mp2 (CVS) working with recent perl-5.8.1's on Windows?
I've got it building, but I can't start the Apache server at all. (It's
fine without the mod_perl bits in the httpd.conf file.)
See this thread on p5p
On Mon, 15 Sep 2003, Steve Hay wrote:
PS. Randy: How do you that stacktrace output that you've
posted? Is that using MSVC++, or something else?
Hi Steve,
I'm using MSVC++ ... When a problem like this occurs,
an offer is made to call up the VC++ debugger, where
the trace is then done.
In
Randy Kobes wrote:
On Mon, 15 Sep 2003, Steve Hay wrote:
PS. Randy: How do you that stacktrace output that you've
posted? Is that using MSVC++, or something else?
Hi Steve,
I'm using MSVC++ ... When a problem like this occurs,
an offer is made to call up the VC++ debugger, where
the
On Mon, 15 Sep 2003, Steve Hay wrote:
I've actually rebuilt Perl and Apache as full debug builds
so I have all these .pdb files already. mod_perl gets
them too because it inherits Perl's debug build mode.
My question was where in the DevStudio GUI do you get at
the stacktrace that you
On Fri, 12 Sep 2003, Steve Hay wrote:
Hi,
Has anybody else got mp2 (CVS) working with recent perl-5.8.1's on Windows?
I've got it building, but I can't start the Apache server at all. (It's
fine without the mod_perl bits in the httpd.conf file.)
See this thread on p5p for what I'm
Hi,
Has anybody else got mp2 (CVS) working with recent perl-5.8.1's on Windows?
I've got it building, but I can't start the Apache server at all. (It's
fine without the mod_perl bits in the httpd.conf file.)
See this thread on p5p for what I'm getting:
http://www.xray.mpe.mpg.de/mailing
Specifically,
I'd like to log certain image file requests (all files
with .jpg, .gif, and .png extensions) to a custom log,
image_log, logging IP, file, time, status, bytes,
referer, cookies, etc.
I care about speed here.
Would you suggest a native logging
Tofu Optimist wrote:
Specifically,
I'd like to log certain image file requests (all files
with .jpg, .gif, and .png extensions) to a custom log,
image_log, logging IP, file, time, status, bytes,
referer, cookies, etc.
I care about speed here.
Would you suggest a native logging
I run a site with a few million MySQL requests a day, but I've run
into a strange problem which I'm trying to slove.
The server is running Apache 2.0.47, mod_perl2-1.99r09, DBI 1.38 and
DBD-mysql 2.1026 on a FreeBSD 4.8 machine.
About once or twice a day, I get a bunch of slow queries that
Hi,
This looks more like a MySQL problem than a specific MP2 issue. However here are a
couple of pointers.
All the queries below are updates on the same table this would indicate to me you may
be having a locking issue. What you need to do is locate the locking transaction it
may be as simple
Thank you Beau for a complete bug report.
a. ModPerl-Registry/t/bad_scritps.t returns 403 not 500.
bad_scripts1..1
# Running under perl version 5.008 for linux
# Current time local: Thu Sep 4 16:19:34 2003
# Current time GMT: Fri Sep 5 02:19:34 2003
# Using Test.pm version 1.24
# testing
- Original Message -
From: Stas Bekman [EMAIL PROTECTED]
To: Beau E. Cox [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 9:09 PM
Subject: Re: [mp2] ModPerl-Registry/t/bad_scritps.t returns 403 not 500
Thank you Beau for a complete bug report.
a. ModPerl
Beau E. Cox wrote:
May be you have an old checkout of this file, try to do:
rm ModPerl-Registry/t/cgi-bin/r_inherited.pl
cvs up ModPerl-Registry/t/cgi-bin/r_inherited.pl
and try again.
Thanks Stas -
Sorry I missed the error. I did the 'rm' and re-cvs'ed -
flags correct and test OK. Next I
Stas -
Yep - ALL SET! Thanks a $1,000,000.
Aloha = Beau;
PS: I wonder whose anti-spam filter is going to
junk this email? :)
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
Beau E. Cox wrote:
SPAM: Start SpamAssassin results --
SPAM: This mail is probably spam. The original message has been altered
SPAM: so you can recognise or block similar unwanted mail in future.
SPAM: See http://spamassassin.org/tag/ for more details.
Hello again..
On Thu, 2003-09-04 at 14:21, Geoffrey Young wrote:
see Apache::SSI for mp1 - it does exactly what you are trying to do
and
is
subclassable, so you can add your own tags/functionality if you want.
That is exactly what I am already doing.
When using #exec directive I
Craig Shelley wrote:
Hello again..
On Thu, 2003-09-04 at 14:21, Geoffrey Young wrote:
see Apache::SSI for mp1 - it does exactly what you are trying to do
and
is
subclassable, so you can add your own tags/functionality if you want.
That is exactly what I am already doing.
When using #exec
On Yesterday at 2:06pm, SB=Stas Bekman [EMAIL PROTECTED] wrote:
SB
SB Also you may want to use Apache::SubProcess to stress it out and see
SB if there is something that we need to fix, if it's not used we might
SB not be aware of existings bugs that the tests don't catch. You can
SB always
Hi -
1) Downloaded (via CVS) latest mod_perl source (9/4/2003)
2) Cannot configure:
perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2/ MP_INST_APACHE2=1
Reading Makefile.PL args from @ARGV
MP_AP_PREFIX = /usr/local/apache2
MP_INST_APACHE2 = 1
Configuring Apache/2.0.47
Beau E. Cox wrote:
Hi -
1) Downloaded (via CVS) latest mod_perl source (9/4/2003)
2) Cannot configure:
perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2/ MP_INST_APACHE2=1
Reading Makefile.PL args from @ARGV
MP_AP_PREFIX = /usr/local/apache2
MP_INST_APACHE2 = 1
Configuring
simple html files that contain SSI directives to include the
various objects.
It was all going extremely well, until I tried to set a cookie from
within a subrequest.
After that, i ran into a whole load of trouble trying to capture the
output from a subrequest, and ended up turning to mp2
- Original Message -
From: Stas Bekman [EMAIL PROTECTED]
To: Beau E. Cox [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 6:45 AM
Subject: Re: [mp2] Failed to obtain the MPM name
Beau E. Cox wrote:
Hi -
1) Downloaded (via CVS) latest mod_perl source (9/4
Beau E. Cox wrote:
$BASE_DIR/$SOURCE_DIR/configure \
--enable-layout=SuSE \
that's probably the problem. You can use MP_AP_PREFIX= only if you install
all
apache files under the same tree, which is the default layout. Otherwise
you
should use the MP_APXS option pointing to apxs, which will
-8-- Start Bug Report 8--
1. Problem Description:
a. ModPerl-Registry/t/bad_scritps.t returns 403 not 500.
b. Console log (verbose):
*** setting ulimit to allow core files
ulimit -c unlimited; ./TEST -verbose 'bad_scripts.t'
*** root mode: changing the
Hi listers,
Just needed a quick opinion:
http://perl.apache.org/docs/2.0/api/Apache/SubProcess.html
suggests that Apache::SubProcess be used for executing subprocesses.
Howerver, in an earlier list message,
http://marc.theaimsgroup.com/?l=apache-modperlm=102541721726752w=2
Stas had suggested
Haroon Rafique wrote:
Hi listers,
Just needed a quick opinion:
http://perl.apache.org/docs/2.0/api/Apache/SubProcess.html
suggests that Apache::SubProcess be used for executing subprocesses.
Howerver, in an earlier list message,
http://marc.theaimsgroup.com/?l=apache-modperlm=102541721726752w=2
Hello --
I'm moving a module from MP1 to MP2.
What is the MP2 equivalent of this code?
Thanks!
code
my $q = Apache::Request-new($r,
POST_MAX = 10 * 1024,
DISABLE_UPLOADS = 1);
$q-no_cache(1);
/code
__
Do you Yahoo
Hello --
I'm moving a module from MP1 to MP2.
What is the MP2 equivalent of this code?
Thanks!
code
my $q = Apache::Request-new($r,
POST_MAX = 10 * 1024,
DISABLE_UPLOADS = 1);
$q-no_cache(1);
/code
__
Do you Yahoo
Right now Apache::Request is in the final proting stages... Until it's done,
jjust request Apache::Request with CGI
Issac
- Original Message -
From: Tofu Optimist [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 02, 2003 6:43 PM
Subject: post max and MP2
Hello
Hi folks --
I'm using MP2, and I am trying to avoid loading CGI
for 2 reasons:
(1) To save memory.
(2) When I do load CGI, it fails at the require
Apache (line 161), and I'd prefer not to edit CGI on
my server. Uck.
Given I'm not loading CGI, how can I determine
self_url() in MP2?
I tried
Tofu Optimist wrote:
Hi folks --
I'm using MP2, and I am trying to avoid loading CGI
for 2 reasons:
(1) To save memory.
(2) When I do load CGI, it fails at the require
Apache (line 161), and I'd prefer not to edit CGI on
my server. Uck.
Given I'm not loading CGI, how can I determine
self_url
Tofu Optimist wrote:
Thanks. How do I call construct_uri?
You just call $r-construct_url. In your example that would be:
$r-headers_out-set(Location = $r-construct_url . r2=1);
__
Stas BekmanJAm_pH -- Just
[please keep the thread on the list!]
Tofu Optimist wrote:
:(
[Tue Sep 02 15:22:53 2003] [error] [client
192.168.1.2] Can't locate object method
construct_url via package Apache::RequestRec at
/home//mod-perl/Redirect.pm line 59.
Do I need to load it or something?
in mp2 you need to load
file. I've never written to a file
from mod_perl, and don't know the correct idiom
(flock? etc?) to do so.
I'd appreciate any pointers to recipes, modules, etc.
to show me the correct (fast, reliable) way to append
to a file under MP2.
Thanks!
:)
__
Do you Yahoo
would
be a dedicated file. I've never written to a file
from mod_perl, and don't know the correct idiom
(flock? etc?) to do so.
I'd appreciate any pointers to recipes, modules, etc.
to show me the correct (fast, reliable) way to append
to a file under MP2.
You may want to spend some time
Tofu Optimist wrote:
I would like to append a small line of log information
to a file on certain apache2 requests. For this
application, I am very concerned about speed, so i'm
looking for fast simple solutions.
if speed is the concern, just stick to apache's native logging mechanism.
see
Hi!
My guess is that you've been hit by this Apache problem:
http://httpd.apache.org/docs-2.0/faq/error.html#error.sendfile
As the URL above suggests, try to add 'EnableSendfile On' somewhere in
t/conf/httpd.conf and rerun:
t/TEST -v filter/in_bbs_msg.t hooks/trans.t
don't run 'make
Hi All,
On Wed, 2003-08-27 at 02:33, Geoffrey Young wrote:
hi craig.
before we continue, please try the latest cvs (without the patch I sent)
and see if your stuff segfaults there. if not, at least we know we've
isolated the segfault and just have bad logic to fix :)
Well:
It seg
Alan Rafagudinov wrote:
Hi!
My guess is that you've been hit by this Apache problem:
http://httpd.apache.org/docs-2.0/faq/error.html#error.sendfile
[...]
Thank you, but your advice helped with hooks/trans.t only,
ok, I have added this to the troubleshooting section.
filter/in_bbs_msg.t is still
Hello!
1. Problem Description:
Errors while 'make test' was in filter/in_bbs_msg.t and hooks/trans.t
so output of
make test TEST_VERBOSE=1 TEST_FILES=filter/in_bbs_msg.t hooks/trans.t
is:
filter/in_bbs_msg# connecting to www.myhost.ru:8535
server side has failed (response code: 404),
see
Alan Rafagudinov wrote:
Hello!
1. Problem Description:
Thanks for the detailed report, Alan.
Errors while 'make test' was in filter/in_bbs_msg.t and hooks/trans.t
[Thu Aug 28 20:34:19 2003] [info] (22)Invalid argument: core_output_filter: writing
data to the network
[Thu Aug 28 20:34:19 2003]
My guess is that you've been hit by this Apache problem:
http://httpd.apache.org/docs-2.0/faq/error.html#error.sendfile
As the URL above suggests, try to add 'EnableSendfile On' somewhere in
t/conf/httpd.conf and rerun:
t/TEST -v filter/in_bbs_msg.t hooks/trans.t
don't run 'make test' as it'll
Craig Shelley wrote:
MP_AP_PREFIX = /home/craig/temp/mod_perl-1.99_09/
hi craig.
before we continue, please try the latest cvs (without the patch I sent)
and see if your stuff segfaults there. if not, at least we know we've
isolated the segfault and just have bad logic to fix :)
if
Geoffrey Young wrote:
Stas Bekman wrote:
Craig Shelley wrote:
I'll take a look at it. But you didn't supply a complete bug report
as explained http://perl.apache.org/bugs/. Please do so.
I think I've got this figured out.
the problem is with the r-main logic in mpxs_ap_run_sub_req.
with
however, removing that logic causes api/lookup_uri2.t to fail, but I
suspect this is an issue with puts() rather than the subrequest
mechanism - changing puts() to print() makes everything work just
fine. does puts() write directly to the wire, bypassing filters?
Sorry, but that's cheating
Geoffrey Young wrote:
the problem is with the r-main logic in mpxs_ap_run_sub_req.
with that logic, what ends up happening is that the data currently
being operated on is explicity flushed. this is bad within a
(streaming) filter where you are expected to call $f-print yourself,
as the data
Geoffrey Young wrote:
[...]
as I said, nowhere in any of the module shipped with core do I find
logic like this - mod_include and mod_cgi both seem to call
ap_run_sub_req without flushing the main data stream (though
mod_include does split the stream and send the data _prior to the tag_
off).
I'll take a look at it. But you didn't supply a complete bug report as
explained http://perl.apache.org/bugs/. Please do so.
Hi,
Here is that bug report related to the earlier postings.
-8-- Start Bug Report 8--
1. Problem Description:
Craig Shelley wrote:
I'll take a look at it. But you didn't supply a complete bug report as
explained http://perl.apache.org/bugs/. Please do so.
Here is that bug report related to the earlier postings.
-8-- Start Bug Report 8--
1. Problem Description:
On Tue, 2003-08-26 at 19:03, Stas Bekman wrote:
Thanks, but you have missed the core dump's backtrace.
I am sorry but I have never used core files before, so forgive me if I
have done this all wrong.
I configured apache to only have one server process.
Then using gdb, I connected to the
Craig Shelley wrote:
On Tue, 2003-08-26 at 19:03, Stas Bekman wrote:
Thanks, but you have missed the core dump's backtrace.
I am sorry but I have never used core files before, so forgive me if I
have done this all wrong.
No worries, this task is not trivial. Your trace is almost perfect. The
Stas Bekman wrote:
Craig Shelley wrote:
I'll take a look at it. But you didn't supply a complete bug report
as explained http://perl.apache.org/bugs/. Please do so.
I think I've got this figured out.
the problem is with the r-main logic in mpxs_ap_run_sub_req.
with that logic, what ends up
Hello,
I am a newbie to this list, so please forgive me if this is not the
place where I should asking this question.
I am writing a filter module for MP2 that will parse its input for
certain embedded commands.
One of these commands should cause the filter to issue a SubRequest to
get
my $rr = $f-r-lookup_uri(subrequest.txt);
#$rr-run;
For some reason, the server segfaults when the above code is run (with
the $rr-run line present)
does anything change if you use
$rr = $f-$r-lookup_uri(subrequest.txt, $f-next);
?
--Geoff
--
Reporting bugs:
does anything change if you use
$rr = $f-$r-lookup_uri(subrequest.txt, $f-next);
No it doesn't seem any different, the server still seg faults.
When it does this, it produces no output at all.
telnet 127.0.0.1 80
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
GET /
Craig Shelley wrote:
does anything change if you use
$rr = $f-$r-lookup_uri(subrequest.txt, $f-next);
No it doesn't seem any different, the server still seg faults.
When it does this, it produces no output at all.
telnet 127.0.0.1 80
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape
I just stumbled into this thread, trying to figure out how to fix
the same error, generated by a C module.
Convert 3221225725 to hex, and you get C0FD and THAT's
the code for a stack overflow. Maybe a recursive function in your
PERL code?
--
Chuck Tribolet
[EMAIL PROTECTED]
I've been quite successful with mp1 (Apache/1.3.28, mod_perl/1.28, perl
5.8.0, OSX jaguar 10.2.6.), but I'd really like to get mp2 going on OSX.
Has anyone had any luck or experienced this same problem?
Apache2, by itself, appears to compile and run just fine. I've found no
problems so far
Douglas, when reporting problems/bugs please follow the guidelines at
http://perl.apache.org/bugs/
It's a known issue with certain builds of perl, please look in the list
archives for similar reports.
Several people reported success with max os x using perl built with usethreads
enabled. Here
On Saturday, August 16, 2003, at 07:03 am, Douglas Theobald wrote:
I've been quite successful with mp1 (Apache/1.3.28, mod_perl/1.28, perl
5.8.0, OSX jaguar 10.2.6.), but I'd really like to get mp2 going on
OSX.
Has anyone had any luck or experienced this same problem?
Rebuild your perl
Michael Chamberlain wrote:
On Saturday, August 16, 2003, at 07:03 am, Douglas Theobald wrote:
I've been quite successful with mp1 (Apache/1.3.28, mod_perl/1.28, perl
5.8.0, OSX jaguar 10.2.6.), but I'd really like to get mp2 going on OSX.
Has anyone had any luck or experienced this same problem
parameters. And without having those
we can't tell what your problem is, whether it's a bug in mp or your
configuration problem.
Anyway, I have thoroughly scoured this
list, google, and the mod_perl site for any and all information on this
subject (OSX, jaguar, mp2, mod_perl) and have turned up nothing
On Saturday, August 16, 2003, at 05:16 pm, Stas Bekman wrote:
Michael Chamberlain wrote:
On Saturday, August 16, 2003, at 07:03 am, Douglas Theobald wrote:
I've been quite successful with mp1 (Apache/1.3.28, mod_perl/1.28,
perl
5.8.0, OSX jaguar 10.2.6.), but I'd really like to get mp2 going
Bill Marrs wrote:
Please report to the list the bug id so we can document this issue for
those who have the same problem with older httpds. Thanks.
OK, I've posted it.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22259
Thanks for the fix!
For the archives: This bug has been fixed in the
I said, in my last message:
I'll try removing modules from my startup.pl as Randy Kobes suggested,
see if that changes anything.
It doesn't. I removed Apache::Reload from my httpd.conf, and put an
empty startup.pl instead of my real one (this one just returns 1;
nothing else) and it still
Steve,
I found that almost whatever I removed from the
template -- not just the nobr tag -- fixed it, and I began to
wonder
about the *size* of the template.
That's what I was wondering too when I reported that just adding 3 line
breaks somewhere in the file broke it, and removing them fixed
Jean-Sebastien Guay wrote:
Stas,
I just checked, and when the Apache crash occurs, nothing gets written
to access_log. It would seem that the crash happens before the request
is logged.
That's possible, but at least you can see that it's not IE that generates some
followup request that causes
Jean-Sebastien Guay wrote:
Steve,
and the good news for you is that I've reproduced your problem.
GREAT! Thank you so much for persevering through this! So do you have a
traceback or some info that the developers might be able to use to track
this down?
Not sure how to get a stack
Jean-Sebastien Guay wrote:
Hello,
I think I've made good steps towards getting my scripts to work
(Apache/2.0.47 (Win32) mod_perl/1.99_10-dev Perl/v5.8.0). However, now,
when I try to reload one of the pages to test, IE tells me that
The exception unknown software exception (0xc0fd)
Stas,
Thanks for trying out my code.
Jean-Sebastien, are you *sure* that what crashes is apache and not
your
client? it seems that you have the client crashing if removing nobr
changes
everything. What's your error_log says?
My client is IE, and it stays open and responsive after the crash
(only a hunch), so I'll start there.
Keep you posted... Thanks
J-S
- Original Message -
From: Stas Bekman [EMAIL PROTECTED]
To: Jean-Sebastien Guay [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 12:03 PM
Subject: Re: [mp2] Child process exited
Jean-Sebastien
Jean-Sebastien Guay wrote:
Stas,
Thanks for trying out my code.
Jean-Sebastien, are you *sure* that what crashes is apache and not
your
client? it seems that you have the client crashing if removing nobr
changes
everything. What's your error_log says?
My client is IE, and it stays open and
Jean-Sebastien Guay wrote:
Steve,
How did you build Apache 2?
I downloaded the binaries... Sorry, can't help there.
Please keep me posted as to your progress.
OK, I've now got Apache 2 building (with a little off-list help from
Randy Kobes - the secret is to use the .zip sources
Jean-Sebastien Guay wrote:
Stas,
One of the following will work.
PerlSwitches -Id:/htdocs
or
PerlSwitches -Mlib=d:/htdocs
Thanks, I'll try those.
But I still don't know
a) why Apache crashes (I know you can't repro, maybe someone else on
Win32 will, so this is stalled for now).
b) why my
On Wed, 13 Aug 2003, Stas Bekman wrote:
Jean-Sebastien Guay wrote:
Stas,
I just checked, and when the Apache crash occurs, nothing gets written
to access_log. It would seem that the crash happens before the request
is logged.
That's possible, but at least you can see that it's not IE
Apache::porting tries to help you to do the porting to mod_perl 2.0. For more
information please refer to:
http://perl.apache.org/docs/2.0/api/Apache/porting.html
It's a new module and didn't go through much testing. However make sure to
check the known issues, before reporting problems:
Try this patch:
[...]
Feel free to submit this bug report and the fix to httpd-dev. Please let
me know if you do that, so I won't duplicate it. But I'd prefer that you
do it so you can make sure that it gets fixed in the next release, since
you need it working.
I've just verified that your
Jean-Sebastien Guay wrote:
I'll try to make a small test case so you can try to repro. I think it's
related to DBI (only a hunch), so I'll start there.
Ok, I've got it as simple as I can (I think - 25.1k zip). It isn't related
to DBI, but to template toolkit. So to try my test case, you'll need
Jean-Sebastien Guay wrote:
So, did anyone have time to check this out? This is pretty major for me,
I can't implement mod_perl at my site until I find out what is causing
this crash and fix it. And I really have no idea what could be causing
it.
I'm using CGI.pm 2.98, Template-Toolkit 2.10,
Stas,
Thanks for the quick response.
You did load things in startup.pl, remember? some module could
override
$SIG{__WARN__}. Don't load those modules if you don't need them.
I very much doubt anything in my startup.pl would modify the signal
handlers. Here's my startup.pl, for reference:
use
I've actually pinpointed the problem to one HTML tag in the output that
Template-Toolkit sends to Apache as a result of the cgi script's run.
Actually, I've just found out another thing, which is really weird. If I
just change the amount of whitespace in the template file (see the zip file
Steve,
and the good news for you is that I've reproduced your problem.
GREAT! Thank you so much for persevering through this! So do you have a
traceback or some info that the developers might be able to use to track
this down?
The variable will not stay shared error is a common problem with
Stas,
e.g. I'd check the access_log to see whether it issues only one
request or
more.
Also make sure to debug in the single process (thread?) mode
(httpd -X)
I'll check those out this afternoon.
It's possible that some of your code or the modules that you use
either misuse
$^W or trap
Stas,
I just checked, and when the Apache crash occurs, nothing gets written
to access_log. It would seem that the crash happens before the request
is logged.
Also,
b) why my warnings don't show up in the error_log.
I just moved my mod_perl config from httpd.conf to another file,
It's possible that some of your code or the modules that you use
either misuse
$^W or trap $SIG{__WARN__} which prevents from warnings to be printed.
grep
for these two things.
Remember - there's only the code I showed you. No other modules (other
than Template, strict and warnings which are
I can't help you with those things without being able to reproduce the problem :(
but see below regarding the reload confusion.
[...]
# Add the top-level directory for the modules into the module search
path.
use lib qw($ENV{SCRIPT_ROOT});
Apache::Reload didn't seem to want to reload my
]; [EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 3:40 AM
Subject: Re: [mp2] Child process exited
Jean-Sebastien Guay wrote:
So, did anyone have time to check this out? This is pretty major for
me,
I can't implement mod_perl at my site until I find out what is
causing
this crash and fix it. And I
Jean-Sebastien Guay wrote:
So, did anyone have time to check this out? This is pretty major for me,
I can't implement mod_perl at my site until I find out what is causing
this crash and fix it. And I really have no idea what could be causing
it.
I'm using CGI.pm 2.98, Template-Toolkit 2.10,
Apache/2.0.44 (Unix) mod_perl/1.99_09 Perl/v5.8.0
Using a copy of the read_post routine, I'm able to retrieve my POST
parameters reliably from my PerlResponseHandler. However, it seems when I do
invoke that routine, the client no longer receives the parameters. If I just
comment out my invocation
List
Subject: Re: [mp2] ModPerl::Test::read_post destructive?
Hi there,
On Sun, 10 Aug 2003, Michael Maciag wrote:
Is the read_post in ModPerl::Test destructive in some way? If so, could
someone point me in the right direction I might take to modify it to be
non-destructive?
I think you'll
another link, on my ISP's server:
http://pages.infinit.net/jeans13/ApacheCrash.zip
Is it only mp2 that it fails under?
I've tried it under mp1.28/perl5.8.0/apache1.3.27 on WinXP and it runs fine.
What version of Template-Toolkit do you have? It's worth ensuring that
you're running the latest
Please report to the list the bug id so we can document this issue for
those who have the same problem with older httpds. Thanks.
OK, I've posted it.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22259
Thanks for the fix!
-bill
1 - 100 of 641 matches
Mail list logo