Re: Children dying

2001-08-15 Thread Alan Burlison
Stas Bekman wrote: > > > No need for an apology :-) The trick is to build perl using the > > > Solaris malloc (-Dusemymalloc as a flag to Configure), then apache, > > > mod_perl and perl all agree on who manages memory. > > > > Might I suggest that this golden piece of information find it's way i

Re: Apache::Request

2001-08-15 Thread Andrew Ho
Hello, RH>I get the following error on RH>my $i = Apache::Request->instance($r); RH> RH>Can't locate object method "instance" via package "Apache::Request" Just to avoid the "whoops" factor: make sure you have "use Apache::Request" in your script, too. This can also cause the error you are repor

Re: Problems installing libapreq

2001-08-15 Thread Nick Tonkin
On 15 Aug 2001, Joe Schaefer wrote: > Nick Tonkin <[EMAIL PROTECTED]> writes: > > > I'm trying to install libapreq on a new box on which I've rolled an > > apache-mod_ssl-openssl combo. > ^^ > If you have, the > include directories (-I) that apreq uses to find the heade

::Register bug?

2001-08-15 Thread Konstantin Naumov
I get the following: ... nothing special and no errors.. ...14:36:42 2001] file .\main\buff.c, line 213, assertion "!rv" failed ...14:37:15 2001] [error] Undefined subroutine &Apache::Registry::handler called. ] [error] Undefined subroutine &Apache::Registry::handler calle

Re: httpd PerlRequire error

2001-08-15 Thread Stas Bekman
On Wed, 15 Aug 2001, winnecon wrote: > > -- > To anyone that can help! > > I have installed mod_perl 1.26 according to the instructions in the > INSTALL file. You've messed up something. You shouldn't mungle with apache_xxx/src/Configuration see http://perl.apache.org/guide/install.html > I ch

Re: Do virtual hosts need their own servers?

2001-08-15 Thread Stas Bekman
On Wed, 15 Aug 2001, Philip Mak wrote: > When I have multiple virtual hosts running Apache::ASP (mod_perl), do they > need to run their own instance of Apache? > > I've read through http://perl.apache.org/guide/multiuser.html and this is > what I've gathered: > > 1. A hacker with access to a virt

RE: Children dying

2001-08-15 Thread Stas Bekman
On Wed, 15 Aug 2001, Rob Bloodgood wrote: > > > AB> Untrue. We ship mod_perl in Solaris 8 as a DSO, and it works > fine. > > > > I apologize. Let me qualify my original statement. In general, you > > > want to compile mod_perl statically on Solaris 2.6 or 2.7 because > > > in many instances,

Re: [ADMIN] can we have a reply-to header?

2001-08-15 Thread Dave Baker
On Wed, Aug 15, 2001 at 04:30:05PM -0500, Dave Rolsky wrote: > On Wed, 15 Aug 2001, John D Groenveld wrote: > > > http://www.unicom.com/pw/reply-to-harmful.html > > NOOO!!! Make it stop. I swear to god that if this > argument starts on this list (and I think its already been

httpd PerlRequire error

2001-08-15 Thread winnecon
-- To anyone that can help! I have installed mod_perl 1.26 according to the instructions in the INSTALL file. I checked apache_xxx/src/Configuration, to see if the make had added the following as it should have: AddModule modules/perl/libperl.a It was not present, so I added it mys

Re: [ADMIN] can we have a reply-to header?

2001-08-15 Thread Dave Rolsky
On Wed, 15 Aug 2001, John D Groenveld wrote: > http://www.unicom.com/pw/reply-to-harmful.html NOOO!!! Make it stop. I swear to god that if this argument starts on this list (and I think its already been had) I will go to your homes and stuff chili peppers up your nose. -da

Re: [ADMIN] can we have a reply-to header?

2001-08-15 Thread John D Groenveld
http://www.unicom.com/pw/reply-to-harmful.html John [EMAIL PROTECTED]

[ADMIN] can we have a reply-to header?

2001-08-15 Thread Thomas Eibner
Am I the only one that always have to go *doh* after I replied to a message here? -- Thomas Eibner DnsZone mod_pointer

RE: Apache::Request

2001-08-15 Thread Geoffrey Young
>-Original Message- >From: Robin Berjon >To: [EMAIL PROTECTED] >Sent: 8/15/01 4:39 PM >Subject: Re: Apache::Request > >On Wednesday 15 August 2001 22:11, Rasoul Hajikhani wrote: >> I get the following error on >> my $i = Apache::Request->instance($r); >> >> Can't locate object method "ins

Re: Apache::Request

2001-08-15 Thread Rasoul Hajikhani
I am reading the online docs... -r Robin Berjon wrote: > > On Wednesday 15 August 2001 22:11, Rasoul Hajikhani wrote: > > I get the following error on > > my $i = Apache::Request->instance($r); > > > > Can't locate object method "instance" via package "Apache::Request" > > > > Why is that? Is th

Re: Apache::Request

2001-08-15 Thread Robin Berjon
On Wednesday 15 August 2001 22:11, Rasoul Hajikhani wrote: > I get the following error on > my $i = Apache::Request->instance($r); > > Can't locate object method "instance" via package "Apache::Request" > > Why is that? Is the method not available? Are the docs outdated? > Any comments welcomed...

Re: Apache::Request

2001-08-15 Thread Robert Landrum
At 1:11 PM -0700 8/15/01, Rasoul Hajikhani wrote: >I get the following error on >my $i = Apache::Request->instance($r); I think you want my $i = Apache::Request->new($r); I've never used or seen instance before, but I've only been doing mod_perl for about 20 months. Rob -- "A good magician n

Apache::Request

2001-08-15 Thread Rasoul Hajikhani
I get the following error on my $i = Apache::Request->instance($r); Can't locate object method "instance" via package "Apache::Request" Why is that? Is the method not available? Are the docs outdated? Any comments welcomed... :) I am running mod_perl/1.22... -r

Re: Problems installing libapreq

2001-08-15 Thread Joe Schaefer
Nick Tonkin <[EMAIL PROTECTED]> writes: > I'm trying to install libapreq on a new box on which I've rolled an > apache-mod_ssl-openssl combo. ^^ Have you already built modperl into your apache server? You should do that first, if you haven't done so already. If you have

RE: Children dying

2001-08-15 Thread Rob Bloodgood
> > AB> Untrue. We ship mod_perl in Solaris 8 as a DSO, and it works fine. > > I apologize. Let me qualify my original statement. In general, you > > want to compile mod_perl statically on Solaris 2.6 or 2.7 because > > in many instances, it core dumps when built as a DSO. FWIW, my > > partic

Re: [ANNOUNCE] Perl Templating Guide, v 0.9

2001-08-15 Thread will trillich
On Wed, Aug 01, 2001 at 12:15:53AM -0700, Perrin Harkins wrote: > http://perl.apache.org/features/tmpl-cmp.html > > The article "Choosing a Templating System" is now available at the above > URL. This is the same material I presented at the O'Reilly conference, > but a bit less rushed. It gives

Re: Children dying

2001-08-15 Thread Alan Burlison
Andrew Ho wrote: > AB>Untrue. We ship mod_perl in Solaris 8 as a DSO, and it works fine. > > I apologize. Let me qualify my original statement. In general, you want to > compile mod_perl statically on Solaris 2.6 or 2.7 because in many > instances, it core dumps when built as a DSO. FWIW, my par

Problems installing libapreq

2001-08-15 Thread Nick Tonkin
I'm trying to install libapreq on a new box on which I've rolled an apache-mod_ssl-openssl combo. As you may know this puts httpd in /usr/local/apachessl. Using the standard perl Makefile.PL && make fails at make: In file included from apache_request.c:58: apache_request.h:5: httpd.h: No such f

Re: Children dying

2001-08-15 Thread Andrew Ho
Hello, AV>I am running a perl 5.6.0, mod_perl 1.26, apache 1.3.19 on Solaris 2.6. AH>In general, you want to compile mod_perl statically on Solaris because AH>it will core otherwise. AB>Untrue. We ship mod_perl in Solaris 8 as a DSO, and it works fine. I apologize. Let me qualify my original s

Re: [off] giving call-back-func parameters...

2001-08-15 Thread will trillich
On Tue, Jul 31, 2001 at 07:52:13PM +0300, raptor wrote: > script.pl > === > use Helper; > my $callbackFunc = \&Helper::func; > my $obj = new BigOne ( vals => $callbackFunc); > > BigOne.pm > == > my $vals = shift; > > if (ref $vals eq 'CODE') { >... > my $kv =

Re: Apache::DBI

2001-08-15 Thread will trillich
On Sat, Aug 04, 2001 at 09:32:43PM +0530, Mithun Bhattacharya wrote: > Shakes his head and hopes you will someday get enlightened as to the > purpose of CPAN. > > > > CPAN is great for red hat users (for example) who don't mind breaking things let's not condescend too quickly -- when yo

Do virtual hosts need their own servers?

2001-08-15 Thread Philip Mak
When I have multiple virtual hosts running Apache::ASP (mod_perl), do they need to run their own instance of Apache? I've read through http://perl.apache.org/guide/multiuser.html and this is what I've gathered: 1. A hacker with access to a virtual host on a mod_perl Apache can steal the Apache::

Re: mod_auth_digest

2001-08-15 Thread Cody Sherr
Right, assuming you're using basic auth. Otherwise, check CPAN for Crypt::PasswdMD5 or Digest::MD5. cheers, -- Cody Sherr Engineer Covalent Technologies phone: (415)536-5292 email: [EMAIL PROTECTED] On Wed, 15 Aug 2001, Thomas Bach wrote: > At 09:25 15/08/01 -0700, you wrote: > >You ha

Re: mod_auth_digest

2001-08-15 Thread Cody Sherr
Thomas, You have a couple of options. First is to use calls to htpasswd() system("$apacheroot/bin/htpasswd", "-b", "/path/to/passwordfile", "username", "password") The second, which is more efficient than starting a htpasswd process, is to use perl's crypt(), create a password, and then appen

mod_auth_digest

2001-08-15 Thread Thomas Bach
Hello list it's now the fifth time i went looking to find sth on the web, but i didn't find anything. So perhaps it could be a little bit ot, sorry for that. I'm running a project using apache (mod_perl/mod_ssl/mySQL) on Linux for which i would change the authetication mechanism to mod_auth_di

Re: Socket Nightmare On NT.

2001-08-15 Thread Perrin Harkins
> I am running mod_perl 1.2 on NT. I have been working with it for over 4 > months, and am beginning to understand it. But for the past 4 months, I have > complained about a socket problem using IO socket. The only answer I got was > to turn the max child from 50 to 1. When I do that the IO::Socke

Socket Nightmare On NT.

2001-08-15 Thread Purcell, Scott
Hello, I am running mod_perl 1.2 on NT. I have been working with it for over 4 months, and am beginning to understand it. But for the past 4 months, I have complained about a socket problem using IO socket. The only answer I got was to turn the max child from 50 to 1. When I do that the IO::Socket

Re: Children dying

2001-08-15 Thread Alan Burlison
"Vasily S. Petrushin" wrote: > > Untrue. We ship mod_perl in Solaris 8 as a DSO, and it works fine. > > Fine, point us please to documentation how to do it. http://cpan.valueclick.com/authors/Doug_MacEachern/mod_perl-1.26.tar.gz Alan Burlison

Re: Bug??

2001-08-15 Thread Tatsuhiko Miyagawa
On Wed, 1 Aug 2001 13:12:44 +0200 "Issac Goldstand" <[EMAIL PROTECTED]> wrote: > > based on the earlier discussion about detecting https :) > > That will take care of standard http/https, but what if we have a custom > client connecting on weird ports _without_ putting the port in the URL? > Wou

Re: Children dying

2001-08-15 Thread Vasily S. Petrushin
On Wed, 15 Aug 2001, Alan Burlison wrote: > Date: Wed, 15 Aug 2001 09:06:48 +0100 > From: Alan Burlison <[EMAIL PROTECTED]> > To: Andrew Ho <[EMAIL PROTECTED]> > Cc: Aleksandr Vladimirskiy <[EMAIL PROTECTED]>, > mod_perl List <[EMAIL PROTECTED]> > Subject: Re: Children dying > > Andrew Ho

Re: Children dying

2001-08-15 Thread Alan Burlison
Andrew Ho wrote: > A few other folks have given useful references on how to get stack traces, > as well as some other common causes of core dumps (compiling Apache with > its bundled expat is a big one). Here's another one--did you build > mod_perl on Solaris as a DSO? In general, you want to com