[MP2+Embperl(cvs)] Strange mod_perl 'make test' glitch

2004-04-05 Thread Beau E. Cox
-8<-- Start Bug Report 8<-- 1. Problem Description: When I do a modperl 'make test' and have Embperl enabled, the test does not start: console log: ... waiting 120 seconds for server to start: .Syntax error on line 48 of /home/test/httpd/2.1/src/modperl2/m

[ANNOUNCE] Apache::Dynagzip 0.13

2004-04-05 Thread Slava Bizyayev
This is a bug-fix version. Richard Chen has found this bug that affected some web clients incapable to speak gzip. Thanks Richard! The bug is fixed since this version. Upgrade is recommended for all earlier versions. The uploaded file Apache-Dynagzip-0.13.tar.gz has entered CPAN as file: $CP

Re: PerlRun and Apacje::DB - quick question

2004-04-05 Thread Mike P. Mikhailov
Hello Tom Gazzini, Tuesday, April 6, 2004, 7:05:45 AM, you wrote: TG> I #8217;ve managed to modify a CGI shopping cart application TG> so that it successfully works under Apache::PerlRun. TG> Now I want to further improve the performance by using TG> Apache::DB. The CGI script already uses DBI to

Re: A bug in Apache::Dynazip?

2004-04-05 Thread Slava Bizyayev
Hi Richard, On Mon, 2004-04-05 at 16:43, Richard Chen wrote: > [Mon Apr 5 17:23:52 2004] [info] [client 123.123.123.123] Apache::Dynagzip > default_content_handler is serving the main request for GET > /path/to/file.tmpl?scheme=http HTTP/1.1 targeting /dev.myhost.com/path/to/file.tmpl > via /p

PerlRun and Apacje::DB - quick question

2004-04-05 Thread Tom Gazzini
I’ve managed to modify a CGI shopping cart application so that it successfully works under Apache::PerlRun. Now I want to further improve the performance by using Apache::DB. The CGI script already uses DBI to access MySQL. Do I need to do anything special to get the CGI script to use Apach

Re: Old question: 'my_perl undeclared'

2004-04-05 Thread Geoffrey Young
Joseph E. Sacco, Ph. D. wrote: > Geoff, > > Good News... > > Following the philosophy of "let sleeping dogs lie" I have replaced YDL's > httpd-2.0.40 using SRPM's from the Fedora project [RedHat has developed a PPC > branch. The new YDL maybe???]. > > With an installed version of httpd [2.0

Re: ANNOUNCE: Mason 1.26

2004-04-05 Thread Dave Rolsky
On Mon, 5 Apr 2004, Dave Rolsky wrote: > - Explicitly handle redirect statuses when an abort exception is > thrown from the Interp object's exec() method. This fixes some > problems when this module was used with David Wheeler's > MasonX::Interp::WithCallbacks module. Doh, this should mention th

ANNOUNCE: Mason 1.26

2004-04-05 Thread Dave Rolsky
1.26 April 5, 2004 [ BUG FIXES ] - The fix to make CGIHandler support flush_buffer and autoflush caused it to not rethrow any exceptions created during the request. If error_mode was set to 'fatal', then an error would simply cause no output to be generated. Task id #531. - A comment in the l

RE: PerlRun, nothing but page header

2004-04-05 Thread Bram Whillock
Yes, my apache.conf reads: PerlSendHeader On. > -Original Message- > From: Drew Taylor [mailto:[EMAIL PROTECTED] > Sent: Monday, April 05, 2004 5:56 PM > To: Bram Whillock > Cc: 'Modperl List' > Subject: Re: PerlRun, nothing but page header > > Have you tried setting PerlSendHeader? That

RE: PerlRun, nothing but page header

2004-04-05 Thread Perrin Harkins
On Mon, 2004-04-05 at 17:45, Bram Whillock wrote: > I tried changing the PerlHandler to Apache::Registry and modified the > script so that it does: > my $r = shift; > $r->send_http_header("text/plain"); > $r->print("foo"); > return OK; > > Which works fine. But this isn't a good option considerin

Re: Old question: 'my_perl undeclared'

2004-04-05 Thread Joseph E. Sacco, Ph. D.
Geoff, Good News... Following the philosophy of "let sleeping dogs lie" I have replaced YDL's httpd-2.0.40 using SRPM's from the Fedora project [RedHat has developed a PPC branch. The new YDL maybe???]. With an installed version of httpd [2.0.49] that is acceptable to mod_perl-1.99_13, mod_

Re: PerlRun, nothing but page header

2004-04-05 Thread Drew Taylor
Have you tried setting PerlSendHeader? That will automatically send the headers for you. It's very useful for running under Registry. From Writing Apache Modules, pg 144 PerlSendHeader On tells mod_perl to intercept anything that looks like a header line and to automatically turn it into a correc

RE: PerlRun, nothing but page header

2004-04-05 Thread Bram Whillock
I tried changing the PerlHandler to Apache::Registry and modified the script so that it does: my $r = shift; $r->send_http_header("text/plain"); $r->print("foo"); return OK; Which works fine. But this isn't a good option considering I've got a lot of code that I want to run under PerlRun. Also,

Re: A bug in Apache::Dynazip?

2004-04-05 Thread Richard Chen
On Mon, Apr 05, 2004 at 01:21:18PM -0500, Slava Bizyayev wrote: > Hi Richard, > > On Mon, 2004-04-05 at 11:29, Richard Chen wrote: > > ...The problem is that my content generation module does not contain a > > header section. > > Do you mean that your CGI content generator fails to produce even a

Re: PerlRun, nothing but page header

2004-04-05 Thread Stas Bekman
Bram Whillock wrote: Apache error log says: mod_perl/1.25 That means nothing, besides having mod_perl present. You need to configure the server to run your script under mod_perl. Assuming that your script is under:/var/www/beta/modperl.cgi, your configuration: PerlWarn On PerlTaintCheck On PerlM

RE: PerlRun, nothing but page header

2004-04-05 Thread Bram Whillock
Apache error log says: mod_perl/1.25 > -Original Message- > From: Perrin Harkins [mailto:[EMAIL PROTECTED] > Sent: Monday, April 05, 2004 5:29 PM > To: Bram Whillock > Cc: Modperl List > Subject: RE: PerlRun, nothing but page header > > On Mon, 2004-04-05 at 17:21, Bram Whillock wrote: >

RE: PerlRun, nothing but page header

2004-04-05 Thread Perrin Harkins
On Mon, 2004-04-05 at 17:21, Bram Whillock wrote: > Getting rid of the fatalsToBrowser does nothing. > > The second script gives me an error: > [Mon Apr 5 14:17:15 2004] [error] PerlRun: `Can't call method > "send_http_header" on an undefined value at /var/www/beta/modperl.cgi > line 3. Sounds l

Re: PerlRun, nothing but page header

2004-04-05 Thread Stas Bekman
Bram Whillock wrote: Getting rid of the fatalsToBrowser does nothing. The second script gives me an error: [Mon Apr 5 14:17:15 2004] [error] PerlRun: `Can't call method "send_http_header" on an undefined value at /var/www/beta/modperl.cgi line 3. Meaning that you aren't running that script under

RE: PerlRun, nothing but page header

2004-04-05 Thread Bram Whillock
Getting rid of the fatalsToBrowser does nothing. The second script gives me an error: [Mon Apr 5 14:17:15 2004] [error] PerlRun: `Can't call method "send_http_header" on an undefined value at /var/www/beta/modperl.cgi line 3. > -Original Message- > From: Stas Bekman [mailto:[EMAIL PROTEC

Re: PerlRun, nothing but page header

2004-04-05 Thread Stas Bekman
Bram Whillock wrote: I recently built and got up and running apache 1.3.19 with mod_perl and mod_ssl. I'm not receiving any error messages, but I cannot get any output from a test page. Any difference if you remove this line? use CGI::Carp qw(fatalsToBrowser); If not, any luck with this script

PerlRun, nothing but page header

2004-04-05 Thread Bram Whillock
I recently built and got up and running apache 1.3.19 with mod_perl and mod_ssl. I'm not receiving any error messages, but I cannot get any output from a test page. Apache.conf for the directory is as: PerlWarn On PerlTaintCheck On PerlModule Apache::PerlRun SetHandler perl-script

Re: Performance Issues with mod_perl's PerlAccessHandler

2004-04-05 Thread Stas Bekman
John Brahy wrote: Just a follow-up on the performance issue that we were experiencing. Someone had enabled IdentityChecks in Apache's httpd.conf file and some of our clients were behind firewalls and would cause up to a 30 delay per request... It's documented in the apache docs. Thanks for the fol

RE: Performance Issues with mod_perl's PerlAccessHandler

2004-04-05 Thread John Brahy
Title: Message Just a follow-up on the performance issue that we were experiencing. Someone had enabled IdentityChecks in Apache's httpd.conf file and some of our clients were behind firewalls and would cause up to a 30 delay per request... It's documented in the apache docs.     :  Joh

Re: A bug in Apache::Dynazip?

2004-04-05 Thread Slava Bizyayev
Hi Richard, On Mon, 2004-04-05 at 11:29, Richard Chen wrote: > ...The problem is that my content generation module does not contain a > header section. Do you mean that your CGI content generator fails to produce even an empty line in the beginning of the content? > In fact, I believe that in mo

Re: Apache 1.3.29/mod_perl 1.29 help

2004-04-05 Thread Stas Bekman
FF.ST Administration wrote: Hello, I'm running Apache 1.3.29 and installed mod_perl 1.29 too but when I try to run a configtest : [Mon Apr 5 17:55:01 2004] [error] Can't locate loadable object for module Apache::Constants in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /us

sections: "*:80 has no VirtualHosts" error

2004-04-05 Thread Will Trillich
okay. we're trying to use to configure virtual hosts -- here's Data::Dumper showing the %VirtualHost hash: %VirtualHost = { '*:80' => [ { 'PerlSetVar' => [ 'SiteName', 'one' ], 'Directory' => { '/var/www/one' => { 'Options' => [

Re: Simple gallery module

2004-04-05 Thread Drew Taylor
Garth Webb wrote: Hi, does anyone have any suggestions for a simple gallery module I can drop into apache? I'd like it to examine a given directory and provide a thumbnail view along with full image view. Any extra configuration features are nice but not strictly necessary. I've tried Apache::Gal

Re: Simple gallery module

2004-04-05 Thread Valerio_Valdez Paolini
Ciao, On Mon, 5 Apr 2004, Garth Webb wrote: > Hi, does anyone have any suggestions for a simple gallery module I can > drop into apache? I'd like it to examine a given directory and provide > a thumbnail view along with full image view. Any extra configuration > features are nice but not stric

Re: MP2: trouble in PerlSection: how to do multiple "PerlSetVar"?

2004-04-05 Thread Will Trillich
On Mon, Apr 05, 2004 at 11:39:16AM -0400, [EMAIL PROTECTED] wrote: > Try "use Data::Dumper; " to debug it. we do. :( it shows that our structures look the way we expect them to look -- the problem is that they're obviously not the way APACHE expects them to look... see new thread Subject: sectio

Simple gallery module

2004-04-05 Thread Garth Webb
Hi, does anyone have any suggestions for a simple gallery module I can drop into apache? I'd like it to examine a given directory and provide a thumbnail view along with full image view. Any extra configuration features are nice but not strictly necessary. I've tried Apache::Gallery, but it depe

A bug in Apache::Dynazip?

2004-04-05 Thread Richard Chen
Hi, I am trying out Apache::Dynazip. All is well using the IE browser. However, when I use curl (a nice commandline web client), there are no contents coming back. I have traced the cause of the problem to the fact that I did not specify Accept-Encoding header in curl which invok

Apache 1.3.29/mod_perl 1.29 help

2004-04-05 Thread FF.ST Administration
Hello, I'm running Apache 1.3.29 and installed mod_perl 1.29 too but when I try to run a configtest : [Mon Apr 5 17:55:01 2004] [error] Can't locate loadable object for module Apache::Constants in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/

Re: Old question: 'my_perl undeclared'

2004-04-05 Thread Geoffrey Young
Joseph E. Sacco, Ph. D. wrote: > Geoff, > > Thanks for taking the time to respond. sure :) > > mod_perl_08 is about as new a version of mod_perl I can use given the > version of httpd, 2.0.40-21.3b, that I am running. I will update httpd in the > near future, but I suspect that I will enc

Re: MP2: trouble in PerlSection: how to do multiple "PerlSetVar"?

2004-04-05 Thread HLiu
Try "use Data::Dumper; " to debug it. Willy |-+> | | Will Trillich| | | <[EMAIL PROTECTED]| | | om> | | | Sent by: Will| | | Trillich | |

Re: Old question: 'my_perl undeclared'

2004-04-05 Thread Joseph E. Sacco, Ph. D.
Geoff, Thanks for taking the time to respond. mod_perl_08 is about as new a version of mod_perl I can use given the version of httpd, 2.0.40-21.3b, that I am running. I will update httpd in the near future, but I suspect that I will encounter the same problem. I have looked at the source cod

Re: MP2: trouble in PerlSection: how to do multiple "PerlSetVar"?

2004-04-05 Thread Will Trillich
On Mon, Apr 05, 2004 at 08:15:40AM -0400, Geoffrey Young wrote: > >>did you try this: > >> > >> push @PerlSetVar, "MasonCompRoot /var/www/$site"; > >> > >>? > > it was the full string that you ought to try: > > push @{$VirtualHost{'*'}}, { > PerlSetVar => "MasonCompRoot /var/

Re: Old question: 'my_perl undeclared'

2004-04-05 Thread Geoffrey Young
> I am having problems building mod_perl-1.99_xx. Specifically there is an > unsatisfied reference to 'my_perl'. > > For example [using the source that came with YDL-3.0.1]: > > gcc -I/usr/src/rpm/BUILD/mod_perl-1.99_05/src/modules/perl > -I/usr/src/rpm/BUILD/mod_perl-1.99_05/xs -I/usr/inclu

Old question: 'my_perl undeclared'

2004-04-05 Thread Joseph E. Sacco, Ph. D.
System: * PowerMac silver with dual G4 533MHz CPUs' * YDL-3.0.1 * perl-5.8.3 * httpd-2.0.40-21.3b * mod_perl-1.99_xx === I am having problems building mod_perl-1.99_xx. Specifically there is an unsatisfied reference to 'my_perl'. For example [using t

Re: MP2: trouble in PerlSection: how to do multiple "PerlSetVar"?

2004-04-05 Thread Geoffrey Young
>>did you try this: >> >> push @PerlSetVar, "MasonCompRoot /var/www/$site"; >> >>? >> >>IIRC most of the configurations could accept a simple string in >>mp1, so I would expect things to be pretty much the same in >>mp2. > > > but this is for a virtualhost, so it hasta be a sub-item within > a