Re: Apache::Resource/RLIMIT_AS problem

2004-01-13 Thread Perrin Harkins
Trevor Phillips wrote: Apache::Resource uses BSD::Resource. However, the Apache::Resource docs are unclear on the units for PERL_RLIMIT_AS, but imply it is in megabytes. The BSD::Resource docs state that it is in bytes, so it seems Apache::Resource is at least converting the units as presented i

Re: Apache::Resource/RLIMIT_AS problem

2004-01-13 Thread Trevor Phillips
On Tuesday 13 January 2004 14:22, Perrin Harkins wrote: > > You could also look at BSD::Resource, or one of the other ways of > setting RLIMIT on your system. Apache::Resource uses BSD::Resource. However, the Apache::Resource docs are unclear on the units for PERL_RLIMIT_AS, but imply it is in m

Re: Help Needed

2004-01-13 Thread Randy Kobes
On Tue, 13 Jan 2004, Douglas Andrik Russel Antonio Chet Morales wrote: > well, thank you Randy, so, i guess i have to get perl 5.8 > this is how the line i told you looks like when the apxs package is > downloaded > unless $vers =~ m!Apache/2.0!; > and this is how i fixed it > unle

Re: Help Needed

2004-01-13 Thread Douglas Andrik Russel Antonio Chet Morales
well, thank you Randy, so, i guess i have to get perl 5.8 this is how the line i told you looks like when the apxs package is downloaded unless $vers =~ m!Apache/2.0!; and this is how i fixed it unless $vers = ~ m!Apache/2.0!; hope it helps - Original Message - From: "Randy

Re: Premature end of script headers

2004-01-13 Thread Stas Bekman
Steve Markham wrote: Whenever I try to run a perl script on my server, I keep getting "Internal Server Error." The error logs say "premature end of script headers." My httpd.conf file looks fine, the permissions on the cgi-bin directory and the cgi file itself are fine... everything looks good...

Premature end of script headers

2004-01-13 Thread Steve Markham
Whenever I try to run a perl script on my server, I keep getting "Internal Server Error." The error logs say "premature end of script headers." My httpd.conf file looks fine, the permissions on the cgi-bin directory and the cgi file itself are fine... everything looks good... so why do I keep get

Re: [mp2] Okay. Where's my error here... (Authen module)

2004-01-13 Thread Jason Galea
Should you maybe swap: > if ($sent_user == "") { for > if ($sent_user eq "") { cheers, J Curtis Jewell wrote: This is an Authen module that's letting everything through at the moment (it was ported from a 1.0 routine that worked) I even tried an incorrect password and it didn't catch

Re: [mp2] Okay. Where's my error here... (Authen module)

2004-01-13 Thread Stas Bekman
Curtis Jewell wrote: This is an Authen module that's letting everything through at the moment (it was ported from a 1.0 routine that worked) please file a proper bug report, thanks: http://perl.apache.org/bugs/ __ Stas Bekman

[mp2] Okay. Where's my error here... (Authen module)

2004-01-13 Thread Curtis Jewell
This is an Authen module that's letting everything through at the moment (it was ported from a 1.0 routine that worked) I even tried an incorrect password and it didn't catch it! I'm going "Okay. What happened? What's wrong here?" at the moment. Here's the .htaccess for what is supposed to be g

Re: error

2004-01-13 Thread Stas Bekman
Steve wrote: I installed apache2 from rpm do I have to reinstall it from source and add mod_perl etc Or can I just reinstall perl and mod_perl I think all you need to install from scratch is mod_perl. Assuming that you have apache2 and perl installed (including all the apache2-devel and perl-

RE: error

2004-01-13 Thread Steve
I installed apache2 from rpm do I have to reinstall it from source and add mod_perl etc Or can I just reinstall perl and mod_perl Again sorry for these low level questions am a beginner -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 20

Re: error

2004-01-13 Thread Stas Bekman
You must keep the followups on the list, Steve. > [EMAIL PROTECTED] root]# ldd /etc/httpd/2.0/extramodules/mod_perl.so > libperl.so => not found > libnsl.so.1 => /lib/libnsl.so.1 (0x4003e000) > libdl.so.2 => /lib/libdl.so.2 (0x40052000) > libm.so.6 => /lib/i686/libm

Re: error

2004-01-13 Thread Stas Bekman
Steve wrote: Starting httpd2: Syntax error on line 3 of /etc/httpd/conf.d/75_mod_perl.conf: Cannot load /etc/httpd/2.0/extramodules/mod_perl.so into server: libperl.so: cannot open shared object file: No such file or director Please see: http://perl.apache.org/bugs/ Does this mean that libperl is

error

2004-01-13 Thread Steve
Starting httpd2: Syntax error on line 3 of /etc/httpd/conf.d/75_mod_perl.conf: Cannot load /etc/httpd/2.0/extramodules/mod_perl.so into server: libperl.so: cannot open shared object file: No such file or director Does this mean that libperl is not installed or something else -- Reporting bug

Re: [mp2] free to wrong pool (win32)

2004-01-13 Thread Kurt George Gjerde
I'm continuing this thread in the dev list. -Kurt. Kurt George Gjerde wrote: I'll try and put together a mininal setup reproducing the problem tomorrow. And to Steve, not I'm not using sections. -Kurt. Stas Bekman wrote: Kurt George Gjerde wrote: Hi, I'm suddenly getting "Free to wrong pool

modperl GD problem

2004-01-13 Thread Daniel Lang
Hi, I´m using a GD-based Module (Bio::Graphics) to generate png-graphics on the fly with a Modperl Content Handler. Now I encounter the following problem: The first request(after httpd restart), is served well, and the generated graphic is in color - every other request after that produces black

Re: running 2 versions of apache and mod perl on the same machine

2004-01-13 Thread Stas Bekman
Malka Cymbalista wrote: I am trying to run 2 versions of Apache and mod_perl - Apache 1.3 with modperl 1 and Apache 2 with modperl 2 - on the same machine on 2 different ports. I first installed apache 2 with mod perl 2. Then I went to compile and install Apache 1.3 and mod perl 1. Doing this a

Re: running 2 versions of apache and mod perl on the same machine

2004-01-13 Thread Malka Cymbalista
I am trying to run 2 versions of Apache and mod_perl - Apache 1.3 with modperl 1 and Apache 2 with modperl 2 - on the same machine on 2 different ports. I first installed apache 2 with mod perl 2. Then I went to compile and install Apache 1.3 and mod perl 1. Doing this apparently overwrote some