compiling mod_perl for solaris

2000-08-31 Thread Joseph Sirucka - Netics
Hi People I've been trying to compile mod_perl for solaris 8 recently and I recompiled perl 5.6.0 with _ubincompat5005 and -Uuselargefiles. But no matter what I do with with mod_perl to compile it at perl Makefile.PL blah i get this error ld.so.1: perl: fatal: relocation error: file /usr/local/

Re: [OT] DNS question (slightly mod_perl related...)

2000-08-31 Thread Barrie Slaymaker
Matt Sergeant wrote: > > Yes, I believe the entry is simply *.domain.com! > > Then use mod_rewrite to map the right folder. Yup. Beware though, there are certain issues you may need to think of if you're going to be sending/receiving mail from these domain names. One problem is the reverse na

Re: mod_perl for Apache to work with ActivePerl (APR#816)

2000-08-31 Thread Doug MacEachern
On Fri, 25 Aug 2000, Gurusamy Sarathy wrote: > mod_perl apparently doesn't know anything about ithreads. This > patch makes it build and "work" for me, but I haven't tested it > for more than 20 seconds. It is possible that similar treatment > is needed for other callbacks that my 20-seconds w

Re: Apache.xs patch for get_client_block

2000-08-31 Thread joe
Doug, Thanks for clearing this up for me - great explanation! I'll let you know how your patch works out. Btw: I've been playing with the keep-alive stuff you left lying around in Connection.xs. The naive implementation I made seems to work fine, once the headers are sent to the client. Are

Re: question on code snippet in mod_perl guide

2000-08-31 Thread Aaron Johnson
I don't work on Oracle so I will speak from my experience with MySQL. MySQL servers time out after the 8 hour standard disconnect for inactivity (this can be adjusted in your my.conf file). To compensate for this we now run our own connect checks for a valid dbh handle before it goes it all the

Re: Apache.xs patch for get_client_block

2000-08-31 Thread Doug MacEachern
On 31 Aug 2000 [EMAIL PROTECTED] wrote: > Doug, > > Sorry to belabor a dull issue, but I'm not sure I'm getting my point across. no problem, this is important stuff to understand. > Most of the troubles I've run across in the mod_perl and libapreq code > have to do with attempts to allocate m

suexec: disabled?

2000-08-31 Thread Bakki Kudva
I recently upgraded to perl5.6 and added php4 to my apache server. I don't know what I did wrong but I am getting the following errors. If I do a httpd -l I get... suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec Also I cannot browse anything in htdocs becuase I get a "You don't ha

where "WhatEverLoginScript" points?

2000-08-31 Thread Pires Claudio
Hi, I installed Apache::AuthCookie succesfully. I tried the example given and it worked fine. Now, I want to use AuthCookie , but I have a problem. I am using an alias directory like this ... Alias /demo/html/ "/home/claudio/demo/" Options Indexes Includes FollowSymLinks AllowOve

Re: question on code snippet in mod_perl guide

2000-08-31 Thread Perrin Harkins
On Thu, 31 Aug 2000 [EMAIL PROTECTED] wrote: > What I think is going on is that the script gets killed by Oracle for > being idle and tries to ping the connection, but the ping fails. It is supposed to reconnect when the ping fails. I've had problems getting reconnects to Oracle 8 working. The

PassEnv (passing everything)

2000-08-31 Thread erich oliphant
Hi, I am porting a shell script CGI to mod_perl. It uses a great many environment variables. I'm new to the project so figuring out which variables to pass is rather tedious. Does PassEnv support wildcards (PassEnv *) or some option to pass the entire parent environment?

Re: Web based message board system

2000-08-31 Thread Michael Todd Glazier
For a client I installed mwforum, which uses my two fave technologies, mysql and mod_perl. http://www.mawic.de/mwforum/ I like it. It's very customizable and clearly written enough to reverse engineer. However, if you need different boards with separate identities you'll need to install it mu

Re: Apache.xs patch for get_client_block

2000-08-31 Thread Billy Donahue
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31 Aug 2000 [EMAIL PROTECTED] wrote: > I'm not sure what SvGROW does, but if it involves a malloc > without freeing the old buffer, you've got the same problem as before. > Each time the perl version of get_client_block is called, > SvGROW will

Re: Apache.xs patch for get_client_block

2000-08-31 Thread joe
Doug, Sorry to belabor a dull issue, but I'm not sure I'm getting my point across. Most of the troubles I've run across in the mod_perl and libapreq code have to do with attempts to allocate memory resources for buffers at runtime. That's exactly what the BUFF API does, right? What I'm seeing

Installation problem...

2000-08-31 Thread Derrick
Dear all, This is my second time sending this email with the same content. If anybody know how to fix my problem, please let me know. Thanks. I am trying to install mod-perl on my freebsd 4.0 server with stronghold and lastest modperl from cvs. I keep having the same error as follow: =

Re: question on code snippet in mod_perl guide

2000-08-31 Thread conark
>Hmmm. How busy is the site or is still in testing phase? Testing phase. >Are you saying your connection is getting dropped and then you get an error,or that you get dropped and then it has to reconnect? Here's a sample of errors that I'm getting the error_log file: [Tue Aug 29 20:15:52 2000

Web based message board system

2000-08-31 Thread Benoit Caron
Hello. Do anyone know about a good solution (either Free or commercial) for web based discussion forum that integrate well with mod_perl? This need to be able to sustain a relatively high load.. Any comments on things like Bazar, Slash, Acity (ex Agora), WWWthreads? Thanks for any suggestion..

Re: Apache.xs patch for get_client_block

2000-08-31 Thread Doug MacEachern
On 31 Aug 2000 [EMAIL PROTECTED] wrote: > The mod_perl implementation of get_client_block has a memory leak. > The following patch should keep it from from pissing in r->pool. thanks joe. i don't see how allocating from r->pool is a "leak", but yeah, it is a waste of resources since Perl is goi

question on code snippet in mod_perl guide

2000-08-31 Thread conark
In the section on optimizing the db and prepare statements (in the http://perl.apache.org/guide/performance.html url), the document discusses creating a subroutine called "connect" in a package called package My::DB; My question is if you have the my $dbh = My::DB->connect; statement in another

Re: Problems loading POSIX module

2000-08-31 Thread Matt Sergeant
On Thu, 31 Aug 2000, erich oliphant wrote: > Hmmm, well shouldn't Perl and OS handle that? It's only referenced in the > script once. The POSIX module is not among the default preloaded modules > (CGI, etc) and it bombs as described when I try to preload from the > httpd.conf. > > It's very

Re: Is there any Solution ???? No Answer

2000-08-31 Thread Joshua Gerth
Sambit, I am sort of in the same situation as you. We have multiple NT domains ( >10) which I needed to authenticate against. My solution was basically to rewrite the Apache::AuthenSmb code so it would accept a NTDOM*\login login. Then, in a configuration file I had N

Is there any Solution ???? No Answer

2000-08-31 Thread Sambit Nanda
Hi Group I did not receive any answer from the perl world about my question. Looks Like no body put any attention to it . I like to remind the question again .. Here it goes I am using Apache 1.3.11 + Mod ssl + open SSL + Mode Perl + mod _php like that on my web server soal

Re: Problems loading POSIX module

2000-08-31 Thread erich oliphant
Hmmm, well shouldn't Perl and OS handle that? It's only referenced in the script once. The POSIX module is not among the default preloaded modules (CGI, etc) and it bombs as described when I try to preload from the httpd.conf. It's very bizarre. >From: Matt Sergeant <[EMAIL PROTECTED]> >To

Re: Dissappearing Lexicals

2000-08-31 Thread David E. Wheeler
Okay, my simplified module wouldn't loose the value of the package-level lexical, but here's some output from my DBI library, which still looses the value: DBH Before Prepare: undef DBH Before Connect: undef DBH Connecting... DBH After Connect: Apache::DBI::db=HASH(0x12d2214) DBH After Prepare Co

Re: Modperl in E-Business apps

2000-08-31 Thread Perrin Harkins
On Thu, 31 Aug 2000, Ken Kosierowski wrote: > The subject of this message might be better worded as "Is mod_perl > ready for E-Business apps, and is anyone using it for such?". Yes. Many businesses run their primary web applications on mod_perl. Take a look at the sites and success stories on

Apache.xs patch for get_client_block

2000-08-31 Thread joe
The mod_perl implementation of get_client_block has a memory leak. The following patch should keep it from from pissing in r->pool. diff -u /var/lib/cpan/build/mod_perl-1.24/src/modules/perl/Apache.xs /usr/src/mod_perl-1.24/src/modules/perl/Apache.xs --- /var/lib/cpan/build/mod_perl-1.24/src/m

Re: Dissappearing Lexicals

2000-08-31 Thread David E. Wheeler
Matt Sergeant wrote: > > On Wed, 30 Aug 2000, mgraham wrote: > [snip] > > Personally, I've given up on package-scoped lexicals entirely, and > > moved everything into "use vars". It's a pain, because you lose the > > encapsulation and you have to declare and assign the variables > > separately.

Intermittent Segfaults

2000-08-31 Thread Mark Hughes
As this is probably more related to mod_perl than mason specific i've moved the thread to this list. I'll try and narrow the problem code down further tomorrow, but maybe someone has some insight ? - BTW mod_perl is not built as a dso Cheers. > Hi, > > Our sites experience intermittent segfa

Re: Build problems on Solaris

2000-08-31 Thread Carlos Ramirez
I have Apache_1.3.12/mod_perl1.2.1 running on Solaris 5.5.1 with no probs.. You might want to try other things?? Check that your system is up-to-date with patches? -Carlos Doug MacEachern wrote: On Thu, 10 Aug 2000, Paul Breslaw wrote: > > I cannot get mod_perl to pass 'make test' on Solaris (5.5

Apache::Sandwich

2000-08-31 Thread Christian Holz
Hi there! I've recently installed mod_perl and the Apache::Sandwich module using Apache1.3.12 running under FreeBSD 3.4 mod_perl installation was just fine. the Apache::Sandwich installation looked pretty good as well, make test returned an ok, but after embedding the lines PerlModule Apache::

statically linked Perl

2000-08-31 Thread Todd Caine
Hi, folks. I'm having a problem building a statically linked perl (yes, I know, but I need it for XS debugging). MakeMaker is trying to link the static binary with libapreq.a, which is okay, but libapreq.a doesn't export a bootstrap symbol boot_libapreq(). The perlmain.c generated by by Makefil

Re: [OT] DNS question (slightly mod_perl related...)

2000-08-31 Thread martin langhoff
Jim Winstead wrote: > plan c: use a wildcard record and move on to real problems. :) Bummer! I had thought I actually had a real problem ... gotta move on to find one ! martin [who can't believe this list's so great]

Re: [OT] DNS question (slightly mod_perl related...)

2000-08-31 Thread David Hodgkinson
Jim Winstead <[EMAIL PROTECTED]> writes: > On Aug 31, David Hodgkinson wrote: > > martin langhoff <[EMAIL PROTECTED]> writes: > > > > > Is it possible to tell BIND to catch *.domain.com and answer the same > > > ip? > > > > Plan A: Generate the zone files from the database. > > > > Plan B:

Re: [OT] DNS question (slightly mod_perl related...)

2000-08-31 Thread Jim Winstead
On Aug 31, David Hodgkinson wrote: > martin langhoff <[EMAIL PROTECTED]> writes: > > > Is it possible to tell BIND to catch *.domain.com and answer the same > > ip? > > Plan A: Generate the zone files from the database. > > Plan B: Use the beta of Bind 9 which, I believe, has database bind

Re: [OT] DNS question (slightly mod_perl related...)

2000-08-31 Thread David Hodgkinson
martin langhoff <[EMAIL PROTECTED]> writes: > Is it possible to tell BIND to catch *.domain.com and answer the same > ip? Plan A: Generate the zone files from the database. Plan B: Use the beta of Bind 9 which, I believe, has database bindings promised. I've hacked around with somethin

Re: [OT] DNS question (slightly mod_perl related...)

2000-08-31 Thread Matt Sergeant
On Thu, 31 Aug 2000, martin langhoff wrote: > > the mod_perl related background: > > I was recently asked if one of the domains we were hosting could have > its users folders mapped in the domain name. Something like > folder.domain.com, instead of domain.com/folder . My silly mind tumble

Re: Apache::DBI Wisdom Sought

2000-08-31 Thread Chris Winters
* Mark D Wolinski ([EMAIL PROTECTED]) [000831 11:24]: > Hi all, > > You'll pardon me a little, I hope for this message does tend to lap over out > of ModPerl, but if it'll make you feel at ease, I shall only expect wisdom > on the modperl side. > > I run a service of free message boards where u

[OT] DNS question (slightly mod_perl related...)

2000-08-31 Thread martin langhoff
the mod_perl related background: I was recently asked if one of the domains we were hosting could have its users folders mapped in the domain name. Something like folder.domain.com, instead of domain.com/folder . My silly mind tumbled around, mumbling at which apache request I was going

Apache::DBI Wisdom Sought

2000-08-31 Thread Mark D Wolinski
Hi all, You'll pardon me a little, I hope for this message does tend to lap over out of ModPerl, but if it'll make you feel at ease, I shall only expect wisdom on the modperl side. I run a service of free message boards where users can create their own message boards. Currently and in the past

Modperl in E-Business apps

2000-08-31 Thread Ken Kosierowski
Hello All, The subject of this message might be better worded as "Is mod_perl ready for E-Business apps, and is anyone using it for such?". I am asking this question as a modperl developer to modperl developers and users. Here is my situation: I come from a strong billing and financial backgr

Re: SIGTERM/SIGKILL at the stop/restart events (fwd)

2000-08-31 Thread Stas Bekman
It was intended to be sent to the list I guess :) oh, well... -- Forwarded message -- Date: Thu, 31 Aug 2000 07:26:29 -0500 From: George Sanderson <[EMAIL PROTECTED]> To: Stas Bekman <[EMAIL PROTECTED]> Subject: Re: SIGTERM/SIGKILL at the stop/restart events At 11:18 AM 8/31/00

Re: SIGTERM/SIGKILL at the stop/restart events

2000-08-31 Thread David Hodgkinson
Stas Bekman <[EMAIL PROTECTED]> writes: *snip* > P.S. If you are not familiar with the great "Jesus Christ Super > Star" musical it's a time to watch it. The above lyrics were copied > from: http://user.chollian.net/~asalabia/musical/jcsly.htm. And of course, Ian Gillan is on the "original cas

SIGTERM/SIGKILL at the stop/restart events

2000-08-31 Thread Stas Bekman
I'm documenting the PERL_DESTRUCT_LEVEL options, which skips the perl_destruct() call. At the same place I also mention that whe you stop/restart Apache, the parent first sends the SIGTERM (nice) kill signal to the children, advising them to quit. But who wants to die: Why I should die

Re: OT -- BerkeleyDB/Perl/Solaris

2000-08-31 Thread Matt Sergeant
On Wed, 30 Aug 2000, Rob Tanner wrote: > I know this is off topic but I've gotten zero reponses off normal > channels nor have I heard back when I emailed the module author (and I > know there's at least one other person in the same predicament), so I'm > hoping I might get some help here. >