Re: [RELEASE CANDIDATE] Apache-Test-1.29 RC2, [was typo 1.27 RC2]

2006-11-08 Thread Philip M. Gollucci
Hi All, Deepest apologies. The correct version is 1.29-RC2 not 1.27-RC2 which I mistyped in the subject and part of the E-Mail text. The URL and tarball were/are correct as they stand. Again, apologies especially for the SPAM. Philip M. Gollucci wrote: A release candidate for Apache-Test

[RELEASE CANDIDATE] libapreq2 2.09-RC2

2006-11-08 Thread Philip M. Gollucci
Please download, test, and report back on the following candidate tarball: http://people.apache.org/~pgollucci/apreq2/libapreq2-2.09.tar.gz http://people.apache.org/~pgollucci/apreq2/libapreq2-2.09.tar.gz.asc http://people.apache.org/~pgollucci/apreq2/libapreq2-2.09.tar.gz.md5 *

[RELEASE CANDIDATE]: mod_perl-2.0.3 RC2

2006-11-08 Thread Philip M. Gollucci
A release candidate for mod_perl 2.0.3 is now available for testing. Please grab the candidate from http://people.apache.org/~pgollucci/mp2/mod_perl-2.0.3-rc2.tar.gz and report back successes or failures. When reporting failures, please see the bug reporting guidelines at http://perl.apache.or

[RELEASE CANDIDATE] Apache-Test-1.27 RC2

2006-11-08 Thread Philip M. Gollucci
A release candidate for Apache-Test 1.27 is now available. http://people.apache.org/~pgollucci/at/Apache-Test-1.29-rc2.tar.gz Please take the time to exercise the candidate through all your existing applications that use Apache-Test and report back successes or failures. Changes since 1.29-r

Re: Mod_perl and HTTP IO issue

2006-11-08 Thread Perrin Harkins
Sumit Shah wrote: Does the socket NOT return a string? If you mean, could the socket return some kind of object that perl will not be able to interpret as a string, the answer is no. Something is going wrong with your socket code. You might want to get out tcpdump or ethereal to take a loo

Re: SV: Mod_perl + cronolog

2006-11-08 Thread Perrin Harkins
Tue Topholm wrote: Any idea what it could be? I believe Charlie Garrison already told you the answer: you have to escape the % symbols in your double-quoted string. They will be interpreted by perl as hashes. CustomLog => qq{"|/usr/sbin/cronolog /home/log/$domain-access_log.%Y-%m-%d" Tr

RE: Mod_perl and HTTP IO issue

2006-11-08 Thread Sumit Shah
Thanks for pointing that out. Really silly of me. After correcting it, it seems that $result does not equate to 'INVALID' even though the server returned INVALID. I can see that if I output the value as: $r->send_http_header('text/plain'); print "This is the value for result--:$result\n";

SV: Mod_perl + cronolog

2006-11-08 Thread Tue Topholm
Hi Dondi I just tried it. When I restart apache it doesn't come up with any failures, but it doesn't create any files in /home/log or /var/log/httpd Any idea what it could be? I will also try on cronolog.org, but their mailing list is dead. Med venlig hilsen / Best Regards Tue Topholm Device

Re: Mod_perl and HTTP IO issue

2006-11-08 Thread Dondi M. Stroma
if ($result ="INVALID"){ Is that a single equal sign? Should be double equal sign. Actually it should be eq because it's a string. if ($result eq 'INVALID') { - Original Message - From: "Sumit Shah" <[EMAIL PROTECTED]> To: "Sumit Shah" <[EMAIL PROTECTED]>; Sent: Wednesday, November

RE: Mod_perl and HTTP IO issue

2006-11-08 Thread Sumit Shah
All, I was able to figure out the issue below. However, I am now facing an issue where if the response is 'VALID' it is not fetching the requested page as could be implied by the return statement. Also, sometimes I observed that even if the response is VALID, it still redirects to GOOGLE.

Re: Mod_perl + cronolog

2006-11-08 Thread Dondi M. Stroma
It seems like this is a Conolog question, not a mod_perl one. Did you not read http://cronolog.org/usage.html? It says the usage is: CustomLog "|/path/to/cronolog [OPTIONS] logfile-spec" [format] That would mean the line in question should look more like this: CustomLog => qq{"|/usr/sbin/cronol

Mod_perl and HTTP IO issue

2006-11-08 Thread Sumit Shah
All, I have a perl handler that invokes a servlet (HTTP IO) running on a remote server. The servlet returns a single word response (INVALID or VALID). The handler is supposed to redirect the URL to some other website. For testing I redirect it to Google. The handler uses plain Socket implementa

Re: SV: Mod_perl + cronolog

2006-11-08 Thread Lupe Christoph
On Wednesday, 2006-11-08 at 19:32:05 +0100, Tue Topholm wrote: > I don't have problem with this, it works just fine... Let me be explicit: that is shitty Perl code. I have no idea what is causing your real problem, but you should not write code like that. What you did is write a shell script in P

Re: Apache::AuthDBI package

2006-11-08 Thread Philip M. Gollucci
Kevin Appel wrote: sub debug { print STDERR "$_[1]\n" if $_[0] >= $Apache::AuthDBI::DEBUG; } to sub debug { print STDERR "$_[1]\n" if $_[0] <= $Apache::AuthDBI::DEBUG; } I'll have a look tonight and see. I don't however feel the need to release 1.06 for this fix right away since its

Re: perl script doesn't work under apache2

2006-11-08 Thread Jonathan Vanasco
On Nov 8, 2006, at 8:13 AM, Sean Davis wrote: We have a Debian 3.1 Sarge with 2.6 kernel and apache2. The perl modul is loaded. (we checked it with phpinfo()) We want to execute a html which contains a perl script in th home/public_html directory, but we received an error message 'an error o

Re: SV: Mod_perl + cronolog

2006-11-08 Thread Charlie Garrison
Good morning, On 8/11/06 at 7:32 PM +0100, Tue Topholm <[EMAIL PROTECTED]> wrote: >It is this line: > >CustomLog => "|/usr/sbin/cronolog /home/log/$domain-access_log.%Y-%m-%d >combined", Try using single quotes or escaping the percent characters. Charlie -- Charlie Garrison <[EMAIL PROTE

Re: Debian testing libapache2-mod-perl2 (2.0.2-2.2) and libembperl-perl(2.2.0-1)

2006-11-08 Thread Mike Whitaker
On 8 Nov 2006, at 17:34, Perrin Harkins wrote: On Wed, 2006-11-08 at 18:27 +0100, kolikov wrote: My installed packages related with apache2 are : apache2 2.2.3-2 apache2-mpm-prefork 2.2.3-2 apache2-utils2.2.3-2 libapache2-mod-perl2 2.0.2-2.2 This probably means embperl

SV: Mod_perl + cronolog

2006-11-08 Thread Tue Topholm
Hi Lupe I don't have problem with this, it works just fine... It is this line: CustomLog => "|/usr/sbin/cronolog /home/log/$domain-access_log.%Y-%m-%d combined", It gives me this failure: apachectl: Configuration syntax error, will not run "graceful": Syntax error on line 2 of /vhosts/vhosts.

Re: [mp2] PAR in production?

2006-11-08 Thread Perrin Harkins
On Mon, 2006-11-06 at 12:28 -0600, Frank Wiles wrote: >What I have always done is package my applications as if they >are CPAN modules using ExtUtils::MakeMaker or in more recent >days Module::Build. Never had a problem with it, but it probably >isn't suited to distributing apps to

Re: Jobs at Opera in Oslo

2006-11-08 Thread Perrin Harkins
On Wed, 2006-11-08 at 13:03 +0100, Kjetil Kjernsmo wrote: > Having seen that people haven't been flamed for posting job openings > here No one should ever be flamed for posting job openings here, as long as they involve mod_perl. Job postings are officially welcome on this list and always have b

Apache::AuthDBI package

2006-11-08 Thread Kevin Appel
Is anyone using the Apache::AuthDBI package? I am currently using version 1.04 and Im confused about the DEBUG entry in the code, specifically the debug function. By default, the DEBUG is set to 0 which means there is no debugging, 1 will show cache hits, and 2 is full blown debugging. However,

Re: Weak references, problem with apache2/mod_perl2

2006-11-08 Thread Perrin Harkins
On Wed, 2006-11-08 at 14:29 +0100, Michael Frankl wrote: > [Mon Nov 06 00:21:45 2006] [error] Weak references are not implemented > in the version of perl at /usr/lib/perl5/site_perl/5.8.8/Catalyst.pm > line 22\nBEGIN failed--compilation aborted > at /usr/lib/perl5/site_perl/5.8.8/Catalyst.pm line

Re: Debian testing libapache2-mod-perl2 (2.0.2-2.2) and libembperl-perl(2.2.0-1)

2006-11-08 Thread Perrin Harkins
On Wed, 2006-11-08 at 18:27 +0100, kolikov wrote: > My installed packages related with apache2 are : > apache2 2.2.3-2 > apache2-mpm-prefork 2.2.3-2 > apache2-utils2.2.3-2 > libapache2-mod-perl2 2.0.2-2.2 This probably means embperl doesn't like apache 2.2, or the Debian pack

Debian testing libapache2-mod-perl2 (2.0.2-2.2) and libembperl-perl(2.2.0-1)

2006-11-08 Thread kolikov
Hi, This question is not directly linked with modperl but embperl is said to be supporting mod-perl with version >= to 1.99.14-4 But ... On a fresh install of libembperl-perl(2.2.0-1) with libapache2-mod-perl2 (2.0.2-2.2) on Debian testing I get this message : -- Syntax err

Re: Loading at startup to use shared memory

2006-11-08 Thread Kjetil Kjernsmo
On Tuesday 07 November 2006 17:17, Torsten Foertsch wrote: > You can directly look at /proc//smaps or use Linux::Smaps. I > don't know what GTop does but I know how /proc//smaps work. > Also, don't do it too often. Reading from /proc//smaps is really > expensive particularly for large process sizes

Re: Mod_perl + cronolog

2006-11-08 Thread Lupe Christoph
On Wednesday, 2006-11-08 at 13:10:54 +0100, Tue Topholm wrote: > I have this script: Not related to your question, but to Perl style... > system("/bin/mkdir /home/$domain"); > system("/bin/mkdir /home/$domain/www"); > system("/bin/mkdir /home/$domain/ErrorLog"); I think you should review perldoc

Weak references, problem with apache2/mod_perl2

2006-11-08 Thread Michael Frankl
Hi, I have a problem running an application (catalyst-based) under apache2/mod_perl2. The app runs fine with catalyst standalone server (which is included in catalyst). But when I try to run it under mod_perl on the same machine, i am getting the error below in apache-errorlog. --- [M

Re: perl script doesn't work under apache2

2006-11-08 Thread Sean Davis
On Wednesday 08 November 2006 07:59, Kari wrote: > Hi, > > We have a Debian 3.1 Sarge with 2.6 kernel and apache2. The perl > modul is loaded. (we checked it with phpinfo()) We want to execute a > html which contains a perl script in th home/public_html directory, but > we received an error message

perl script doesn't work under apache2

2006-11-08 Thread Kari
Hi, We have a Debian 3.1 Sarge with 2.6 kernel and apache2. The perl modul is loaded. (we checked it with phpinfo()) We want to execute a html which contains a perl script in th home/public_html directory, but we received an error message 'an error occured while processing directive'. Thanks f

Mod_perl + cronolog

2006-11-08 Thread Tue Topholm
I have this script: use DBI; my ($sth, $dbh, $domain, $domainID, $created, $sql); $dbh = DBI->connect("DBI:mysql:ccc:","ccc","ccc"); $sth = $dbh->prepare("SELECT domainID, domain, created FROM domain ORDER BY domainID ASC"); $sth->execute(); while (($domainID, $domain, $created) = $st

Jobs at Opera in Oslo

2006-11-08 Thread Kjetil Kjernsmo
Hi again! Having seen that people haven't been flamed for posting job openings here, I'd like to point out that we have a few job openings here too. They all involve mod_perl to a lesser or greater extent (most relevant first). They're all physically located in Oslo, Norway, and are full-time