Re: Apache Proxy & Virtual Servers...

1999-12-21 Thread Stephen Zander
> "Trevor" == Trevor Phillips <[EMAIL PROTECTED]> writes: Trevor> This works fine, except "the.other.machine" gets the Host Trevor> header as "the.other.machine" and NOT whatever is passed Trevor> to the proxy by the client. As a result, virtual servers Trevor> with the same IP

Re: Core dump on graceful restart.

1999-12-21 Thread Doug MacEachern
> (gdb) where > #0 0x80f4d4b in do_clean_objs () > #1 0x80f4ccf in visit () > #2 0x80f4df2 in Perl_sv_clean_objs () > #3 0x80c2418 in perl_destruct () > #4 0x8062920 in perl_shutdown () > #5 0x8063aee in perl_child_exit () do you create any global objects that don't go out of scope until th

Re: can't load Apache::DBI in starup.pl file

1999-12-21 Thread Farhad Farzaneh
The general sense on the group has been that the redhat rpm's are unstable for 6.1 as well as 6.0. It's really best to compile your own version. Nancy Lin wrote: > > Hi - > > I'm running apache 1.3.9/modperl 1.19/ApacheDBI-0.87/perl5.003 on redhat > 6.0 > > In my startup.pl file, I have the

Re: Error compiling Modperl to FreeBSD

1999-12-21 Thread Jason Simms
Hmmm... I cannot give you an exact answer, but I can tell you this. I am running FreeBSD 3.3, and I was noticing really weird compile problems until I went up to gcc 2.9.2. The initial version of Perl installed on my machine was the one that you can install from the FreeBSD ports collection,

Re: Problem running LWP under modperl (LONG)

1999-12-21 Thread Doug MacEachern
> Could it be a problem of shared .so perl? Is that what you're using, or the > libperl.a version? I doubt it (perl -V below). you might need to following some of the debugging advice in the guide to see what's going on, or even just set: $SIG{__DIE__} = \&Carp::confess; the stacktrace might sh

Re: Problem running LWP under modperl (LONG)

1999-12-21 Thread Barry Hoggard
> > > > The line where it dies is here (warnings added by me) in > > LWP::Protocol::http. I never get the second warning under Registry. > > > > warn "CREATING SELECT with $socket"; > > my $sel = IO::Select->new($socket) if $timeout; > > warn "SELECT CREATED"; > > hmm, any difference

Error compiling Modperl to FreeBSD

1999-12-21 Thread Charlie Root
I try to compile modper in FreeBSD but when I execute make, it's generate the next error: (cd ./apaci && make) cc -DPIC -fpic -I/usr/libdata/perl/5.00503/mach/CORE -DMOD_PERL_VERSION=\"1.21\" -DMOD_PERL_STRING_VERSION=\"mod_perl/1.21\" -I/usr/local/include/apache -DMOD_PERL -DHARD_SERVER_LIMIT=

Re: Problem running LWP under modperl (LONG)

1999-12-21 Thread Doug MacEachern
On Tue, 21 Dec 1999, Barry Hoggard wrote: > I can't get LWP::UserAgent to run correctly under modperl, but I can make it > work from the command line or as a regular CGI. strange, works fine here. > }, 'HTTP::Headers' ), > '_rc' => 500, >

Re: KeepAlive and mod_perl

1999-12-21 Thread Doug MacEachern
On Sat, 18 Dec 1999, Stas Bekman wrote: > > >From what I see, mod_perl overrides the whatever settings you have in your > config file and sets the KeepAlive to Off. mod_perl doesn't touch the keepalive settings.

Re: [Re: [Re: again - more then one PerlTransHandler]]

1999-12-21 Thread Doug MacEachern
> At least that's what I thought ! > > In fact now Apache lets me use more then one > PerlTransHandler, but it doesn't care > of what is the return codes are!!! > > Even I return OK, it still calls > next registered handlers. Really weird! mod_perl does care. but, mod_perl stacked handlers ar

can't load Apache::DBI in starup.pl file

1999-12-21 Thread Nancy Lin
Hi - I'm running apache 1.3.9/modperl 1.19/ApacheDBI-0.87/perl5.003 on redhat 6.0 In my startup.pl file, I have the following lines: use Apache::DBI; $Apache::DBI::DEBUG = 2; When I run it w/ the -c option, I get the following error message: Can't locate object method "

Re: Another install question: CGI.pm not found

1999-12-21 Thread Doug MacEachern
> 79) %grep cgi.pl t/logs/error_log > Can't locate CGI.pm in @INC at > /data/_g/lii/apache/src/heavy/mod_perl-1.21/t/net/perl/cgi.pl line 3. again, I don't think it's possible for 5.005+ to produce this error message without listing the contents of @INC. cgi.pl is generated from cgi.pl.PL and al

Re: PerlModule/Require didn't work ??

1999-12-21 Thread Doug MacEachern
On Thu, 16 Dec 1999 [EMAIL PROTECTED] wrote: > hi, > > I was wondering why the PerlModule and perlRequire didn't work for me. > I have a fresh installation of : > apache 1.3.9 + mod_perl 1.21 (that is bundled in RedHat6.1), > what was my surprise to see that when I try to use something like : >

Re: Another install question: CGI.pm not found

1999-12-21 Thread Doug MacEachern
On Thu, 16 Dec 1999, Bill Moseley wrote: > What obvious thing am I missing? > > During make test this gets written to the error log: > > Can't locate CGI.pm in @INC at /mod_perl-1.21/t/net/perl/cgi.pl line 7. that's a strange error, because 5.005+ reports the @INC paths, e.g.: % perl -MNotHere

Re: Problems with dynamically-loaded perl modules under Solaris2.5.1

1999-12-21 Thread Doug MacEachern
On Thu, 16 Dec 1999, Dan Rench wrote: > On Mon, 13 Dec 1999, Doug MacEachern wrote: > > > are you still stuck on this? > > Yes. To reiterate: > > Solaris 2.5.1 sparc, gcc 2.95, perl 5.005_03 (configured with Solaris hints), > mod_perl 1.21, apache 1.3.9, mod_fastcgi 2.2.2. > > Everything wor

Re: broken USE_APXS (was Re: Apache::Scoreboard - problem compiling)

1999-12-21 Thread Doug MacEachern
> Anyone using USE_APXS has any ideas of why USE_APXS makes the installation > incomplete? fixed now in cvs.

Re: Read query string on POST request?

1999-12-21 Thread Doug MacEachern
On Thu, 16 Dec 1999, Tobias Hoellrich wrote: > I pass a session id in the query string between invocations for my > current project (only if the client does not support Cookies). My main > handler is also responsible for creating an Apache::Request object right > at the beginnig of the handler in

Re: Hanging processes SOLVED!

1999-12-21 Thread Doug MacEachern
On Thu, 16 Dec 1999, Tony Demark wrote: > > That got it. I cannot thank you enough. The sites are smokin' now. great news! > Cause (Please correct me if this is not correct): > > * AUTOLOADing of Apache::Constants::OPT_EXECCGI() can cause this > to occur seems to be the case.

Re: [PATCH] Compiling mod_perl with ActivePerl

1999-12-21 Thread Doug MacEachern
On Tue, 7 Sep 1999, Jochen Wiedmann wrote: > > Hi, > > attached you find a somewhat larger patch as a first step in order to > get mod_perl running with ActivePerl. This is mainly to get the public > source tree in sync with my work: I am still far away from getting it > running. What I did so

Re: embperl and html in sql problems (fixed msg)

1999-12-21 Thread Reid Sutherland
Thanks to everyone who replied. I went with the $escmode = 0; and now it works great. I'm very excited to get started on some serious stuff with Embperl! Thanks again, Reid Sutherland ISYS Technology Inc. http://www.isys.ca

Re: embperl and html in sql problems (fixed msg)

1999-12-21 Thread Cliff Rayman
check out the following two links: http://perl.apache.org/embperl/Embperl.pod.2.html#EMBPERL_OPTIONS http://perl.apache.org/embperl/Embperl.pod.5.html#_escmode i think the options you need to set are in there. I have not tried them myself yet. cliff rayman genwax.com Reid Sutherland wrote: >

RE: embperl and html in sql problems (fixed msg)

1999-12-21 Thread Gerald Richter
> > I'm trying to display a scalar [+ $var +], now the row in the database has > HTML code in it but the HTML doesn't get rendered by the browser. > What am I > doing wrong? I read about < > and \< but it's not helping. > Either write [+ local $escmode = 0; $var +] then you have make sure your $

Re: DB choice ?

1999-12-21 Thread Matt Sergeant
On Tue, 21 Dec 1999, [EMAIL PROTECTED] wrote: > pls send answers directly to me (so not clutering the list). Thanx Well the list might be interested in these choices too. > I have the following situation Apache Web server under Linux and we must decide > which DB server to use. > The choice can

embperl and html in sql problems (fixed msg)

1999-12-21 Thread Reid Sutherland
I'm trying to display a scalar [+ $var +], now the row in the database has HTML code in it but the HTML doesn't get rendered by the browser. What am I doing wrong? I read about < > and \< but it's not helping. Thanks Reid

embperl and html in sql problems

1999-12-21 Thread Reid Sutherland

Re: Function crypt, doesn't work fine with mod_perl for win32 :(

1999-12-21 Thread Matt Sergeant
No, it's just not shipped with the standard source code for win32. You need to download a small patch. See README.win32 in the perl source code archive. On Tue, 21 Dec 1999, epi wrote: > When I use the Apache::AuthenDBI the apache server generate the next > error: > > = > [Tue Dec 21

Problem running LWP under modperl (LONG)

1999-12-21 Thread Barry Hoggard
I can't get LWP::UserAgent to run correctly under modperl, but I can make it work from the command line or as a regular CGI. The test script: (don't laugh at my funny coding, I usually use HTML::Mason these days) #!/usr/bin/perl -w use HTTP::Request::Common qw(POST); use LWP::UserAgent; use Dat

RE: mod_perl and proxying

1999-12-21 Thread Gerald Richter
> I'm still trying to learn more about how Apache and mod_perl work > internally, so I would really appreciate if someone could explain why the > old setup didn't work. It seemed like it ought to. > If you don't have it already, you should take a look at "eagel book" (www.modperl.com) and read it

Function crypt, doesn't work fine with mod_perl for win32 :(

1999-12-21 Thread epi
When I use the Apache::AuthenDBI the apache server generate the next error: = [Tue Dec 21 11:54:12 1999] [error] [Tue Dec 21 11:54:12 1999] nul: The crypt() function is unimplemented due to excessive paranoia. at c:\perl\site\5.00503\lib/Apache/AuthenDBI.pm line 186. = Bu

DB choice ?

1999-12-21 Thread raptor
pls send answers directly to me (so not clutering the list). Thanx I have the following situation Apache Web server under Linux and we must decide which DB server to use. The choice can be Microsoft SQL/NT or Oracle/Linux. I'm a teleworker at the moment, so get this in mind too. Please give me P