RE: Make Test problems...

2001-06-17 Thread Ian \(the webguy\)
Ok; After a week to reinstall redhat, delete the perl, apache, and mod_perl RPM's, and downloading the source files on my dinky little 28.8 connection, I come again to building this package. I used the makepl_args.mod_perl file that was given to me earlier, and I am still getting the following

RE: Make Test problems...

2001-06-17 Thread Stas Bekman
[parts of the message were snipped] On Sun, 17 Jun 2001, Ian (the webguy) wrote: I used the makepl_args.mod_perl file that was given to me earlier, and I am still getting the following error messages... snippet number=1 make[1]: Leaving directory `/home/ian/mod_perl-1.25/Util' cp

RE: Make Test problems...

2001-06-17 Thread Ian \(the webguy\)
Nope. I did a killall httpd as root then tried it again, but to no evail. snip [root@ian mod_perl-1.25]# killall httpd httpd: no process killed [root@ian mod_perl-1.25]# ps auxc | grep httpd [root@ian mod_perl-1.25]# make test (cd ../apache_1.3.9 PERL5LIB=/home/ian/mod_perl-1.25/lib make)

RE: Make Test problems...

2001-06-17 Thread Stas Bekman
I did a killall httpd as root then tried it again, but to no evail. snip [root@ian mod_perl-1.25]# killall httpd httpd: no process killed [root@ian mod_perl-1.25]# ps auxc | grep httpd [root@ian mod_perl-1.25]# make test [..] ../apache_1.3.9/src/httpd -f `pwd`/t/conf/httpd.conf -X -d

RE: Make Test problems...

2001-06-17 Thread Ian \(the webguy\)
Server is not starting !? Subroutine main::pid redefined at /home/ian/mod_perl-1.25/t//docs/startup.pl line 103. Subroutine main::access redefined at /home/ian/mod_perl-1.25/t//docs/startup.pl line 104. Subroutine Outside::code redefined at /home/ian/mod_perl-1.25/t//docs/startup.pl line 108.

RE: Make Test problems...

2001-06-17 Thread Philip Mak
On Sun, 17 Jun 2001, Ian (the webguy) wrote: I did a killall httpd as root then tried it again, but to no evail. I don't think that httpd already being running was the problem. The test script is supposed to pick a port that's NOT in use for the purposes of the test, isn't it? still waiting

RE: Make Test problems...

2001-06-17 Thread Stas Bekman
in this case delete the old error_log file before you start the test, you have all the mess from the previous run posted. /home/ian/mod_perl-1.25/t/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? It looks like it starts here: [notice] Destruction-DESTROY called for

Capturing CGI output

2001-06-17 Thread Steve Wells
I have a mod_perl library that utilizes the Tempate Toolkit so that html files are parsed through the toolkit before being sent back to the browser. It works great but now they require that the library be upgraded to include support for CGI's. In other words I need to capture the output of the

Re: Capturing CGI output

2001-06-17 Thread Perrin Harkins
From: Steve Wells [EMAIL PROTECTED] I can use $r-lookup_uri('/cgifile.cgi') to gather up the subrequest and run it using the run() command. However, the information from the CGI is passed back to the browser instead of handed off to me for processing. Is there some way to capture that

Re: mod_perl DSO leaking on restart?

2001-06-17 Thread Paul G. Weiss
Doug, I'm confused as to how you managed to *not* leak when I'm still leaking. I've tried these tests on both a Solaris 2.7 system and a Linux 7.1. Here is a summary of what I do: I build Perl ./Configure -des -Uusemymalloc -Dprefix=$(echo ~/test/prefix) -Dcc=gcc make make test make

CGI::Cookie vs Apache::Cookie -- help?

2001-06-17 Thread will trillich
On Sat, Jun 16, 2001 at 12:58:14AM +0200, Nenad wrote: package Apache::PermanentTicketRenewer my Counter; sub handler { my $r = shift; $Counter += 1; my $cookie = CGI::Cookie-new(-name = 'Ticket', -path = '/',

Re: CGI::Cookie vs Apache::Cookie -- help?

2001-06-17 Thread Chris Winters
* will trillich ([EMAIL PROTECTED]) [010617 23:04]: mine is similar: $r-log_error( qq(...id=$ID, sending cookie) ); my $cookie = Apache::Cookie-new( $r, -name = $cookie_name, -value = $ID ,

Re: CGI::Cookie vs Apache::Cookie -- help?

2001-06-17 Thread Cees Hek
On Sun, 17 Jun 2001, will trillich wrote: $r-log_error( qq(...id=$ID, sending cookie) ); my $cookie = Apache::Cookie-new( $r, -name = $cookie_name, -value = $ID , -domain = $r-hostname,

Re: [OT] Is this feasible in Perl??

2001-06-17 Thread will trillich
On Wed, Jun 13, 2001 at 06:57:45AM +0800, Gunther Birznieks wrote: My experience is that architecturally Perl cannot handle this. You should switch to Java and use an Enterprise Java Bean to do all this for you. you must have an interesting sense of humor. -- I figure: if a man's gonna

Re: CGI::Cookie vs Apache::Cookie -- help?

2001-06-17 Thread will trillich
On Sun, Jun 17, 2001 at 11:14:23PM -0400, Chris Winters wrote: * will trillich ([EMAIL PROTECTED]) [010617 23:04]: $r-log_error( qq(...id=$ID, sending cookie) ); --this outputs the string i'm hoping for, into the log file. my $cookie = Apache::Cookie-new( $r,

Re: CGI::Cookie vs Apache::Cookie -- help?

2001-06-17 Thread Per Einar
- Original Message - From: will trillich [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 18, 2001 7:09 AM Subject: Re: CGI::Cookie vs Apache::Cookie -- help? On Sun, Jun 17, 2001 at 11:14:23PM -0400, Chris Winters wrote: * will trillich ([EMAIL PROTECTED]) [010617 23:04]:

Advanced daemon allocation

2001-06-17 Thread Trevor Phillips
Is there any way to control which daemon handles a certain request with apache 1.x? eg; Out of a pool of 50 daemons, restricting accesses to a certain mod_perl application to 10 specific daemons would improve the efficiency of data cached in those processes. If this is impossible in Apache 1.x,

Re: Advanced daemon allocation

2001-06-17 Thread Gunther Birznieks
Yeah, just use the mod_proxy model and then proxy to different mod_perl backend servers based on the URL itself. At 01:17 PM 6/18/2001 +0800, Trevor Phillips wrote: Is there any way to control which daemon handles a certain request with apache 1.x? eg; Out of a pool of 50 daemons, restricting

Re: Advanced daemon allocation

2001-06-17 Thread Stas Bekman
On Mon, 18 Jun 2001, Trevor Phillips wrote: Is there any way to control which daemon handles a certain request with apache 1.x? http://perl.apache.org/guide/strategy.html#Running_More_than_One_mod_perl_S eg; Out of a pool of 50 daemons, restricting accesses to a certain mod_perl

Re: mod_perl DSO leaking on restart?

2001-06-17 Thread Paul G. Weiss
Now I'm really confused. I built the whole thing statically and it still leaks: the static build (using the same Perl): ~/test/prefix/bin/perl Makefile.PL EVERYTHING=1 \ APACHE_PREFIX=$(echo ~/test/prefix/apache) \ APACHE_SRC=../apache_1.3.19 DO_HTTPD=1 Now it still leaks 520K per