Hi,
I'd really appreciate some help with a really weird mod_perl problem we
keep running into.
This is mod_perl version 1.29 using Apache::PerlRun
The application servers of our mod_perl site occasionally (once every
2-3 weeks) start spitting out these error messages:
[Sun Jul 3 14:58:0
--- Fred Moyer <[EMAIL PROTECTED]> wrote:
> If you post a code snippet that might give us some
insight into what the problem is.
>
CGI Code snippet is below.
While my goal was to include the header(),
$q->start_html( -title=>'Scroll Test',
-script=>{-code=>$ja
--- "Philip M. Gollucci" <[EMAIL PROTECTED]> wrote:
> Did you update the CGI.pm version on your system?
>
> You need CGI.pm 3.10 to work with mp2.0.0.
>
> If you are using CGI.pm 3.10 what version were you
> using before? Doing a
> diff might be helpful... Things have changed but
> enough that
Thomas Hilbig wrote:
Since updating to mp2.0.0 and httpd 2.0.54, my CGI
scripts no longer include the heading at the top:
This is causing grief to some browsers (IE6 and
Firefox) in that some of the CSS layout properties
aren't working (document.body.scrollTop is always 0).
I'm not sure i
--- Fred Moyer <[EMAIL PROTECTED]> wrote:
> Are you setting $r->content_type('text/xml')? If
> you post a code
> snippet that might give us some insight into what
> the problem is.
>
The actual CGI script uses the standard Lincoln Stein
library under MP2, and not yet taking advantage of MP2
cod
Philip M. Gollucci wrote:
Jim Albert wrote:
For example, one piece of my code has
use Apache::Const
but I had to change that to use Apache2::Const on the server running
the lastest mod_perl.
Can you give me the logic to handle that properly in a single code
file. Thanks again.
Here's the l
Jim Albert wrote:
For example, one piece of my code has
use Apache::Const
but I had to change that to use Apache2::Const on the server running the
lastest mod_perl.
Can you give me the logic to handle that properly in a single code file.
Thanks again.
>>I think your key here is the MOD_PERL
On Jul 3, 2005, at 2:10 PM, Jim Albert wrote:
Can you give me the logic to handle that properly in a single code
file. Thanks again.
I think your key here is the MOD_PERL_API_VERSION environment variable.
BEGIN {
if ( $ENV{MOD_PERL_API_VERSION} == 2 ) {
# do mp2 stuff
}
}
-
Philip M. Gollucci wrote:
Jim Albert wrote:
Can someone point me to a URL that describes the purpose of the
Apache2 namespace?
I don't believe one exists (yet) ... possibly a good idea for the
perl.apache.org site?
The general idea as I've got it is:
1. Apache::*
Module works under
On Wednesday 29 June 2005 08:40 am, Nielsen, Steve wrote:
> The mod_perl is use is built from the current fedora core 4 rpm.
>
> When I run apxs I get /usr/include/httpd (which is correct).
>
> I don't see the call to apxs anywhere (I looked int ModPerl:MM related code
> and in Scoreboard). Where
On Wed, 29 Jun 2005 16:36:46 +0200
Dominique Quatravaux <[EMAIL PROTECTED]> wrote:
> $mod_perl2::VERSION skips these drawbacks (it can only be altered from
> Perl and is not inherited) but it is currently not trustworthy either:
>
> $ perl -Mmod_perl2 -e 'print $mod_perl2::VERSION'
> 2.01
Davind,
IMHO the problem is hidden in the headers...:
> [EMAIL PROTECTED]:~$ head -n 12 picture.2
> HTTP/1.1 200 OK
> Date: Fri, 01 Jul 2005 23:36:53 GMT
> Server: Apache/1.3.33 (Debian GNU/Linux) mod_perl/1.29
> Last-Modified: Wed, 04 Jun 2003 06:53:10 GMT
> ETag: "1064b-515f-3edd9756;42c4b3fd"
12 matches
Mail list logo