Re: Bug - Strange issue with mod_perl 2.0.10 / Apache 2.4 corrupting nfreeze data

2016-08-07 Thread Vincent Veyron
I forgot to add : if you were not using filters previously, this may not solve your problem. Do you have accented characters in your queries' parameters? if so those need to be decoded (anything that uses APR::Table) -- Bien à vous, Vincent Veyron htt

Re: Bug - Strange issue with mod_perl 2.0.10 / Apache 2.4 corrupting nfreeze data

2016-08-07 Thread Vincent Veyron
On Sun, 07 Aug 2016 14:37:28 +0100 Alex Masidlover wrote: > > Thanks for the suggestion - its taken a while but I've manage to free > up a machine to roll forwards and test on; unfortunately I've got no > experience with Apache and filters. I've come up with this: > > package Zymonic::Decryptor:

Re: Bug - Strange issue with mod_perl 2.0.10 / Apache 2.4 corrupting nfreeze data

2016-08-07 Thread William A Rowe Jr
On Sun, Aug 7, 2016 at 8:37 AM, Alex Masidlover wrote: > On Sun, 2016-04-03 at 17:03 +0200, Vincent Veyron wrote: > > On Sun, 03 Apr 2016 14:11:23 +0100 > > Alex Masidlover wrote: > > > > > This has all worked perfectly up until I upgraded to Apache 2.4 / > > > mod_perl 2.0.10 - > > After upgrad

Re: Bug - Strange issue with mod_perl 2.0.10 / Apache 2.4 corrupting nfreeze data

2016-08-07 Thread Alex Masidlover
On Sun, 2016-04-03 at 17:03 +0200, Vincent Veyron wrote: > On Sun, 03 Apr 2016 14:11:23 +0100 > Alex Masidlover wrote: > > > > > > > This has all worked perfectly up until I upgraded to Apache 2.4 / > > mod_perl 2.0.10 -  > After upgrading to Apache 2.4 and mod_perl 2.0.9, I had to make those >

Re: Bug - Strange issue with mod_perl 2.0.10 / Apache 2.4 corrupting nfreeze data

2016-04-03 Thread Vincent Veyron
On Sun, 03 Apr 2016 14:11:23 +0100 Alex Masidlover wrote: > > This has all worked perfectly up until I upgraded to Apache 2.4 / > mod_perl 2.0.10 - After upgrading to Apache 2.4 and mod_perl 2.0.9, I had to make those two changes to my application : In a PerlOutputFilterHandler, change '$con

Bug - Strange issue with mod_perl 2.0.10 / Apache 2.4 corrupting nfreeze data

2016-04-03 Thread Alex Masidlover
-8<-- Start Bug Report 8<-- 1. Problem Description: I'm running Perl 5.20.2 on a Gentoo virtual machine. We've had some code in place that uses a mod_perl handler to send complex hashref based structures between two servers using nfreeze / thaw; the code ne

Re: Strange process behavior

2010-09-21 Thread Perrin Harkins
On Tue, Sep 21, 2010 at 12:09 PM, Sharon Pattison wrote: > We added some logging to several of our scripts to log when $r->args and > $q->query_string do not match.  What we find for the bad process is that $r > always has the correct data for the new request, but the value of > $q->query_string n

Re: Strange process behavior

2010-09-21 Thread Sharon Pattison
iable (that is not meant to be > global) > is declared as "my" inside any sub where it is used. > > > http://modperlbook.org/html/22-2-1-Value-of-x-will-not-stay-shared-at-line-5.html > > -Tuomo > > On Mon, Sep 20, 2010 at 11:52:50AM -0400, Sharon Pattison wrot

Re: Strange process behavior

2010-09-21 Thread Tuomo Salo
-5.html -Tuomo On Mon, Sep 20, 2010 at 11:52:50AM -0400, Sharon Pattison wrote: > Hi, > > > We are experiencing a strange problem on our web servers for our site, and > are not sure if the problem is mod_perl related, but thought we would turn > here for help in c

Re: Strange process behavior

2010-09-20 Thread Perrin Harkins
[ please reply-all to keep it on the list ] On Mon, Sep 20, 2010 at 4:07 PM, Sharon Pattison wrote: > We would still like to track down the cause of the problem, if we can.  The > process does indeed seem to become broken at a particular point and the CGI > object has an incorrect query_string fo

Re: Strange process behavior

2010-09-20 Thread Perrin Harkins
Hi, > After adding a lot of logging to our logs, we discovered that the Apache > request object will have the correct information, but the CGI object never > seems to get the global values reset, so is always has the query_string of > the request where things started to go wrong.  The process will

Strange process behavior

2010-09-20 Thread Sharon Pattison
Hi, We are experiencing a strange problem on our web servers for our site, and are not sure if the problem is mod_perl related, but thought we would turn here for help in case someone else has experienced this issue. Unfortunately, we are not sure exactly when the problem started, so we can’t

RE: Strange behaviour with Pseudo-Proxy script

2010-09-10 Thread Winfried Neessen
No, not exactly... No autoflush -> buffered output -> weird performance issues. Winni -Original Message- From: Michael Ludwig [mailto:mil...@gmx.de] Sent: Thursday, September 09, 2010 8:41 PM To: modperl@perl.apache.org Subject: Re: Strange behaviour with Pseudo-Proxy

Re: Strange behaviour with Pseudo-Proxy script

2010-09-09 Thread Michael Ludwig
Winfried Neessen schrieb am 09.09.2010 um 12:39 (+0200): > After re-reading the mod_perl2 documentation of Apache2::RequestIO I > figured that I forgot to enable autoflush on STDOUT, which causes the > $r->print() call to be buffered. So to sum it up, no autoflush, hence no buffering, hence the p

RE: Strange behaviour with Pseudo-Proxy script

2010-09-09 Thread Winfried Neessen
sen [mailto:nees...@cleverbridge.com] Sent: Thursday, September 09, 2010 11:22 AM To: modperl@perl.apache.org Subject: RE: Strange behaviour with Pseudo-Proxy script Hi again, sorry forgot Proxy/Sender.pm in my last mail. http://dokuleser.privatepaste.com/05e9b4f124/QHvZO0RMoi Winni -Origi

RE: Strange behaviour with Pseudo-Proxy script

2010-09-09 Thread Winfried Neessen
: Strange behaviour with Pseudo-Proxy script Hi Fred, here is the code: Proxy.pm: http://dokuleser.privatepaste.com/dd9f56cb09/vu0bxLIICY Proxy/AppServer.pm: http://dokuleser.privatepaste.com/36b60ba9e2/byzjGiLki0 Proxy/Header.pm: http://dokuleser.privatepaste.com/e306920a14/rhxc8kRUFB Thanks Winni

RE: Strange behaviour with Pseudo-Proxy script

2010-09-09 Thread Winfried Neessen
Moyer [mailto:f...@redhotpenguin.com] Sent: Wednesday, September 01, 2010 8:21 PM To: Winfried Neessen Cc: modperl@perl.apache.org Subject: Re: Strange behaviour with Pseudo-Proxy script Aside from posting the source code so that we can peruse and say "That might be it", you might try put

Re: Strange behaviour with Pseudo-Proxy script

2010-09-01 Thread Fred Moyer
ection handling and mod_perl isn't stuck spoon feeding slow clients. On Wed, Sep 1, 2010 at 4:50 AM, Winfried Neessen wrote: > Hi, > > > > I am having a strange issue with a mod_perl handler which I’ve written > lately. > > > > A little background… we are using

Strange behaviour with Pseudo-Proxy script

2010-09-01 Thread Winfried Neessen
Hi, I am having a strange issue with a mod_perl handler which I've written lately. A little background. we are using a mod_perl script for our self-developed MS .NET application. The application connects to the frontend server, where the mod_perl "proxy" is running. The sc

Re: What a strange error...

2010-06-29 Thread Steven Siebert
nice. On a related note...some of our developers use the EPIC plugin in eclipse to create/modify remote .pl and .pm files. Same issue (CR/LF) - we usually run a clean.pl script recursively on directories on the dev server during development/prior to generating a build. Needless to say, this gets

Re: What a strange error...

2010-06-29 Thread Tosh Cooey
vi? I just send mine to India and pay some guy $1 to remove them with his teeth. Tosh Devin Teske wrote: On Tue, 2010-06-29 at 09:33 -0500, Chris Bennett wrote: Tosh Cooey wrote: Maybe I should have followed up instead of sending this so quickly, oh well. Yes the Windows CR/LF was the pr

Re: What a strange error...

2010-06-29 Thread Devin Teske
On Tue, 2010-06-29 at 09:33 -0500, Chris Bennett wrote: > Tosh Cooey wrote: > > Maybe I should have followed up instead of sending this so quickly, oh > > well. > > > > Yes the Windows CR/LF was the problem. So the situation is resolved, > > but I have no clue why the same file with different n

Re: What a strange error...

2010-06-29 Thread Chris Bennett
Tosh Cooey wrote: Maybe I should have followed up instead of sending this so quickly, oh well. Yes the Windows CR/LF was the problem. So the situation is resolved, but I have no clue why the same file with different names was inconsistent in execution. Oh well, don't look a gift horse in t

Re: What a strange error...

2010-06-29 Thread Tosh Cooey
Maybe I should have followed up instead of sending this so quickly, oh well. Yes the Windows CR/LF was the problem. So the situation is resolved, but I have no clue why the same file with different names was inconsistent in execution. Oh well, don't look a gift horse in the mouth I guess, th

Re: What a strange error...

2010-06-29 Thread Tosh Cooey
Ha ha... Yes I wondered about that too, except then why would it run as mailfile2.pl after only: cp mailfile.pl mailfile2.pl ? However the programmer working on that file uses Windows and so who knows, maybe this is the solution, but not the answer... Thanks! Tosh Cosimo Streppone wrote:

Re: What a strange error...

2010-06-29 Thread Cosimo Streppone
On Tue, 29 Jun 2010 14:37:38 +0200, Tosh Cooey wrote: I have an application with a program called [mailfile.pl] which runs under MP::Registry and is accessed via some mod_rewrites. Today I pushed a new version from my DEV server to the WWW server using rsync. Obviously it was working perf

What a strange error...

2010-06-29 Thread Tosh Cooey
error on WWW: [error] (2)No such file or directory: exec of '/srv/www/htdocs/b2b/mailfile.pl' failed [error] Premature end of script headers: mailfile.pl, referer: http://www... I have no idea why that is happening, and here is where things get strange: I copied [mailfile.pl] to [ma

Re: Strange Apache error (appears to be related to bad pidfile)

2009-06-01 Thread Chris Brooks
Hi Perrin, Cool, that's a good suggestion. I'll work with httpd directly if it happens again. Thanks, Chris On Mon, Jun 1, 2009 at 10:25 AM, Perrin Harkins wrote: > On Mon, Jun 1, 2009 at 6:50 AM, Chris Brooks wrote: > > My first try was to execute apachectl stop and then apachectl start. >

Re: Strange Apache error (appears to be related to bad pidfile)

2009-06-01 Thread Perrin Harkins
On Mon, Jun 1, 2009 at 6:50 AM, Chris Brooks wrote: > My first try was to execute apachectl stop and then apachectl start. You won't see the errors if you use apachectl. Just talk to httpd directly instead. - Perrin

Strange Apache error (appears to be related to bad pidfile)

2009-06-01 Thread Chris Brooks
Good morning, I've had a strange problem with Apache twice in the past week, and I'm out of ideas as to what might be going on. Here's the background: I run a website that uses a plain-vanilla Apache server to serve images, and uses mod_proxy to forward requests for everything el

Re: Strange Apache behavior

2009-03-26 Thread Perrin Harkins
On Thu, Mar 26, 2009 at 2:29 PM, B. Prince wrote: > Recently I noticed that every so often the Apache parent process tries to > handle the request after a server restart. Really? I've only seen that when explicitly using the -X option. You might want to see if anyone on the httpd list knows wha

Strange Apache behavior

2009-03-26 Thread B. Prince
I've run into a strange Apache/mod_perl issue recently. I have a mod_perl application that has been running just fine for over 6 years. Recently however I noticed that about 1 out of every 5 Apache restarts (we restart nightly for various reasons) results in 500 responses. One (sometimes

Re: strange mod_deflate behaviour on binary output

2009-03-23 Thread Louis-David Mitterrand
On Sun, Mar 22, 2009 at 09:23:49PM -0400, Philippe M. Chiasson wrote: > On 22/3/09 15:25, Louis-David Mitterrand wrote: > > Hi, > > > > I noticed something interesting with mod_deflate when serving binary > > content from a mason component: > > > > <%init> > > $m->clear_buffer(); > >

Re: strange mod_deflate behaviour on binary output

2009-03-23 Thread André Warnier
Philippe M. Chiasson wrote: On 22/3/09 15:25, Louis-David Mitterrand wrote: [...] Hi. There was a thread here some time in the past (late 2008 ?) between Torsten Foetsch and myself, talking about overriding this Content-Type header. As I recall, this particular header is somewhat special, beca

Re: strange mod_deflate behaviour on binary output

2009-03-22 Thread Philippe M. Chiasson
On 22/3/09 15:25, Louis-David Mitterrand wrote: > Hi, > > I noticed something interesting with mod_deflate when serving binary > content from a mason component: > > <%init> > $m->clear_buffer(); > $r->content_type("video/mp4"); > $r->headers_out->add('Content-length' => -s

strange mod_deflate behaviour on binary output

2009-03-22 Thread Louis-David Mitterrand
Hi, I noticed something interesting with mod_deflate when serving binary content from a mason component: <%init> $m->clear_buffer(); $r->content_type("video/mp4"); $r->headers_out->add('Content-length' => -s $file); $r->sendfile($file); $m->abort(20

Re: [MP2]: strange behavior with Apache2::SubRequest::run

2008-09-25 Thread titetluc titetluc
Does anyone has additional documentation on Apache2::SubRequest::run and Apache2::SubRequest::status returned values ? Gaetan 2008/9/22 titetluc titetluc <[EMAIL PROTECTED]> > 2008/9/19 Torsten Foertsch <[EMAIL PROTECTED]> > >> On Fri 19 Sep 2008, titetluc titetluc wrote: >> > > Does your mod_pe

Re: [MP2]: strange behavior with Apache2::SubRequest::run

2008-09-22 Thread titetluc titetluc
2008/9/19 Torsten Foertsch <[EMAIL PROTECTED]> > On Fri 19 Sep 2008, titetluc titetluc wrote: > > > Does your mod_perl one return Apache2::Const::REDIRECT at the end? > > > > No, the module returns Apache2::Const::MOVED_TEMPORARILY, setting the > > Location header by using $r->err_headers_out > >

Re: [MP2]: strange behavior with Apache2::SubRequest::run

2008-09-19 Thread Torsten Foertsch
On Fri 19 Sep 2008, titetluc titetluc wrote: > > Does your mod_perl one return Apache2::Const::REDIRECT at the end? > > No, the module returns Apache2::Const::MOVED_TEMPORARILY, setting the > Location header by using $r->err_headers_out $ perl -MApache2::Const=REDIRECT,HTTP_MOVED_TEMPORARILY -le '

Re: [MP2]: strange behavior with Apache2::SubRequest::run

2008-09-19 Thread titetluc titetluc
2008/9/18 Perrin Harkins <[EMAIL PROTECTED]> > On Thu, Sep 18, 2008 at 10:31 AM, titetluc titetluc <[EMAIL PROTECTED]> > wrote: > > I have 2 URIs returning HTTP_MOVED_TEMPORARILY > > The first one, /test_mod_perl is written using mod_perl > > The second one, /test_mod_cgi is written using CGI > >

Re: [MP2]: strange behavior with Apache2::SubRequest::run

2008-09-18 Thread Perrin Harkins
On Thu, Sep 18, 2008 at 10:31 AM, titetluc titetluc <[EMAIL PROTECTED]> wrote: > I have 2 URIs returning HTTP_MOVED_TEMPORARILY > The first one, /test_mod_perl is written using mod_perl > The second one, /test_mod_cgi is written using CGI Does your mod_perl one return Apache2::Const::REDIRECT at t

[MP2]: strange behavior with Apache2::SubRequest::run

2008-09-18 Thread titetluc titetluc
Hello all, I have 2 URIs returning HTTP_MOVED_TEMPORARILY The first one, /test_mod_perl is written using mod_perl The second one, /test_mod_cgi is written using CGI I call each of these URIs using a Apache2::SubRequest object my $subr1 = $r->lookup_uri('/test_mod_perl'); my $rc1 = $subr1->run();

Re: Strange message in web page

2008-07-13 Thread Raymond Wan
Hi Ronald, Ronald J Kimball wrote: Those are the HTTP response headers. They are showing in the browser because your script is returning a malformed response, i.e. printing "null device 1" before the headers. The browser is unable to parse the headers and treats them as part of the body.

Re: Strange message in web page

2008-07-11 Thread Ronald J Kimball
> > So, the part after "HTTP/1.1 ...", why is that shown? Is that a web > server setting? What is odd is that it doesn't print at every page. > Just one page...and that one page doesn't always show it...only > sometimes. This is why it is strange to me..

Re: Strange message in web page

2008-07-11 Thread Raymond Wan
tting? What is odd is that it doesn't print at every page. Just one page...and that one page doesn't always show it...only sometimes. This is why it is strange to me...but I'll keep looking, then. So, this is unrelated to modperl...other than debugging code somewhere? Thank y

Re: Strange message in web page

2008-07-11 Thread John Gateley
On Fri, 11 Jul 2008 18:57:10 +0900 Raymond Wan <[EMAIL PROTECTED]> wrote: > ... but it also displays this at the top of > the page: > > null device 1 HTTP/1.1 200 OK Date: Fri, 11 Jul 2008 09:40:57 GMT > ... You are printing "null device 1" to stdout somewhere in your code before you print the

Strange message in web page

2008-07-11 Thread Raymond Wan
Hi all, I'm receiving a strange message which I think is caused by something I'm doing with modperl and/or Mason, but I'm not sure what to look for. Basically, I have a page which refreshes every 3 seconds waiting for some spawned child process to complete. When it comp

Re: modperl and syslog, strange behavior

2008-04-15 Thread Perrin Harkins
On Tue, Apr 15, 2008 at 5:03 PM, John Gateley <[EMAIL PROTECTED]> wrote: > if($UseLog) { > Sys::Syslog::setlogsock('unix'); > openlog("$WebScriptName", 'pid', 'daemon'); > syslog('info', "$WebScriptName starting"); > } > ... > syslog('info', "Message"); # Actually buried in a subroutine >

modperl and syslog, strange behavior

2008-04-15 Thread John Gateley
Hi Y'all, I'm new to mod_perl, please forgive me if this is already well known info. I have several different web scripts like: if($UseLog) { Sys::Syslog::setlogsock('unix'); openlog("$WebScriptName", 'pid', 'daemon'); syslog('info', "$WebScriptName starting"); } ... syslog('info', "Messag

Re: strange permission errors

2008-03-17 Thread Mag Gam
Phillip: The permissions are fine. I have default permissions for the Unix Socket. It matched other postgresql installs, and other systems that work. Plus its the default setting (srwxrwxrwx)..I still can't figure out why I am having this problem... Any help would be helpful On Tue, Mar 11, 200

Re: strange permission errors

2008-03-11 Thread Philippe M. Chiasson
Mag Gam wrote: I get," The account is not currently available." That account has a disabled shell $> su apache -s `which sh` -c '/bin/ls /tmp/.s.PGSQL.5432' Look at the permissions on both /tmp and /tmp/.s.PGSQL.5432 $> ls -ld /tmp $> ls -l /tmp/.s.PGSQL.5432 -- Philippe M. Chiasson G

Re: strange permission errors

2008-03-11 Thread Mag Gam
I get," The account is not currently available." But this happens on good and bad configuration. The system it works on gives me this error too.. Any other suggestion? The only difference I see is, in production I am using mod_perl 1.99 On Tue, Mar 11, 2008 at 1:55 AM, Philippe M. Chiasson <[EMA

Re: strange permission errors

2008-03-10 Thread Philippe M. Chiasson
Mag Gam wrote: Hi Gurus: Moving my application from development to production server. For some reason, I can't seem to execute my application when using mod_perl in production. I keep getting this permission error: [Mon Mar 10 13:47:33 2008] [error] Can't call method "prepare" on an undefined

strange permission errors

2008-03-10 Thread Mag Gam
Hi Gurus: Moving my application from development to production server. For some reason, I can't seem to execute my application when using mod_perl in production. I keep getting this permission error: [Mon Mar 10 13:47:33 2008] [error] Can't call method "prepare" on an undefined value at /var/www/:

Re: mod_perl and CGI::Application.. Strange Behaviour

2007-10-29 Thread Dileep Eduri
wrote: >>> No change. still getting headers in browser. >>> this one is pretty annoying. >> >> Make that change to your config, take out the send_http_headers and the >> CGI->print(). >> >> -- >> Michael Peters >> Developer >

Re: mod_perl and CGI::Application.. Strange Behaviour

2007-10-28 Thread David Kaufman
Hi Dileep, "Dileep Eduri" <[EMAIL PROTECTED]> wrote... > > ...its printing the http headers as well. if I turn of > http headers, then nothing is getting printed..weird !!! Not weird at all. Read the CGI::Application docs -- you should never print from a run-mode: > Perl Module => First.pm > >

Re: mod_perl and CGI::Application.. Strange Behaviour

2007-10-27 Thread Anthony Gardner
ng headers in browser. >> this one is pretty annoying. > > Make that change to your config, take out the send_http_headers and the > CGI->print(). > > -- > Michael Peters > Developer > Plus Three, LP > > > ----- With Best regards, Dileep. *

Re: mod_perl and CGI::Application.. Strange Behaviour

2007-10-26 Thread Dileep Eduri
iew this message in context: http://www.nabble.com/mod_perl-and-CGI%3A%3AApplication..-Strange-Behaviour-tf4697759.html#a13435321 Sent from the mod_perl - General mailing list archive at Nabble.com.

Re: mod_perl and CGI::Application.. Strange Behaviour

2007-10-26 Thread Dileep Eduri
my $req = $self->query(); >> >>$req->content_type( 'text/html' ); >>$req->send_http_header; >> >>return "using CGI::Application and mod_perl"; >> } >> >> 1; >> >> Here is my CGI Script tes

Re: mod_perl and CGI::Application.. Strange Behaviour

2007-10-26 Thread Anthony Gardner
ror message in my error log and I am just could not > understand, where I am doing wrong. > > [Fri Oct 26 11:05:39 2007] [error] Can't locate object method "new" via > package "Test" at /docroot/cgi-perl/test/test.cgi line 5.\n > > Please guide me in this regard and it will be great help for my > application. > > Thanks. > -- View this message in context: http://www.nabble.com/mod_perl-and-CGI%3A%3AApplication..-Strange-Behaviour-tf4697759.html#a13434311 Sent from the mod_perl - General mailing list archive at Nabble.com. Disclaimer: Technically, I'm always wrong!! - For email that puts you in control, choose Yahoo! Mail.

Re: mod_perl and CGI::Application.. Strange Behaviour

2007-10-26 Thread Michael Peters
Dileep Eduri wrote: > No change. still getting headers in browser. > this one is pretty annoying. Make that change to your config, take out the send_http_headers and the CGI->print(). -- Michael Peters Developer Plus Three, LP

Re: mod_perl and CGI::Application.. Strange Behaviour

2007-10-26 Thread Dileep Eduri
gt; > - With Best regards, Dileep. *** -- View this message in context: http://www.nabble.com/mod_perl-and-CGI%3A%3AApplication..-Strange-Behaviour-tf4697759.html#a13434993 Sent from the mod_perl - General mailing list archive at Nabble.com.

Re: mod_perl and CGI::Application.. Strange Behaviour

2007-10-26 Thread Michael Peters
Dileep Eduri wrote: > modified my httpd conf file as follows: > > Config File Entry > > Alias /perl /docroot/cgi-perl > PerlModule Apache::Registry > Try adding this line: PerlSendHeader Off >SetHandler perl-script >PerlHandlerApache::Registry >OptionsExecCGI >

Re: mod_perl and CGI::Application.. Strange Behaviour

2007-10-26 Thread Dileep Eduri
Both the CGI script and the module are in same directory. I am getting > following error message in my error log and I am just could not > understand, where I am doing wrong. > > [Fri Oct 26 11:05:39 2007] [error] Can't locate object method "new" via > package "Test" at /docroot/cgi-perl/test/test.cgi line 5.\n > > Please guide me in this regard and it will be great help for my > application. > > Thanks. > -- View this message in context: http://www.nabble.com/mod_perl-and-CGI%3A%3AApplication..-Strange-Behaviour-tf4697759.html#a13434311 Sent from the mod_perl - General mailing list archive at Nabble.com.

Re: mod_perl and CGI::Application.. Strange Behaviour

2007-10-26 Thread Michael Peters
Perl Modulator wrote: > I am trying to create mod_perl based appln using CGI::Application and I am > just printing a message. Here is the Perl Module Test.pm, which will be > loaded. Don't use Test.pm as a module name. There's already something in core Perl with that name. It's quite likely that

mod_perl and CGI::Application.. Strange Behaviour

2007-10-26 Thread Perl Modulator
ct method "new" via package "Test" at /docroot/cgi-perl/test/test.cgi line 5.\n Please guide me in this regard and it will be great help for my application. Thanks. -- View this message in context: http://www.nabble.com/mod_perl-and-CGI%3A%3AApplication..-Strange-Behaviour-tf4697759.html#a13428708 Sent from the mod_perl - General mailing list archive at Nabble.com.

Re: Strange things with Apache::Request

2007-10-25 Thread Perrin Harkins
On 10/25/07, Yuri Pats <[EMAIL PROTECTED]> wrote: > From some > time (maybe some upgrade was done) all handlers that uses > Apache2::Request, was broken. Sounds like you should try recompiling libapreq2 then. - Perrin

Strange things with Apache::Request

2007-10-25 Thread Yuri Pats
Good day. Some strange thigs happens on my computer now. I use mod_perl a lot. Sometimes I debug apps on my desktop. From some time (maybe some upgrade was done) all handlers that uses Apache2::Request, was broken. Some simple example: sub handler : method { my ($self, $r

Re: strange errors on ModPerl::Registry

2007-09-30 Thread Philippe M. Chiasson
lists user wrote: > I have two sections in httpd.conf,one for modperl handler,one for > registry scripts. > > > SetHandler modperl > PerlResponseHandler IP::Lookup > > > Alias /perl/ "/home/httpd/test/" > > SetHandler perl-script > PerlResponseHandler ModPerl::Registry > Option

strange errors on ModPerl::Registry

2007-09-28 Thread lists user
I have two sections in httpd.conf,one for modperl handler,one for registry scripts. SetHandler modperl PerlResponseHandler IP::Lookup Alias /perl/ "/home/httpd/test/" SetHandler perl-script PerlResponseHandler ModPerl::Registry Options +ExecCGI PerlOptions ParseHeaders T

Re: Strange characters in output when filtered through mod_perl

2007-02-14 Thread Jonathan Vanasco
On Feb 13, 2007, at 6:36 PM, Aaron Hawryluk wrote: So, it can't be header... this is getting truly bizarre... The system default charset for the linux box is ISO-8859-1. MySQL is using ISO-8859-1 as its default charset. Dunno what else to check. Here's another weird thing - the characters a

RE: Strange characters in output when filtered through mod_perl

2007-02-13 Thread Aaron Hawryluk
[EMAIL PROTECTED] Sent: February-08-07 1:42 PM To: mod_perl List Subject: Re: Strange characters in output when filtered through mod_perl Just to clarify: On Feb 8, 2007, at 3:03 PM, Aaron Hawryluk wrote: > Our publishing system doesn't use any strange character sets - Your syst

Re: Strange characters in output when filtered through mod_perl

2007-02-13 Thread Jonathan Vanasco
Just to clarify: On Feb 8, 2007, at 3:03 PM, Aaron Hawryluk wrote: Our publishing system doesn't use any strange character sets - Your system is working with data in one character set, and publishing it to the web in another character set. The fix is *likely* just setting the

Re: Strange characters in output when filtered through mod_perl

2007-02-08 Thread Randy Kobes
r mod_perl: http://www.calgarysun.com/perl-bin/publish.cgi?p=171082&x=articles&s=showbiz The upshot - for some reason, using exactly the same libraries to publish content, when run under mod_perl apostrophes become "’". Anyone have any idea why? Our publishing system doesn't

Strange characters in output when filtered through mod_perl

2007-02-08 Thread Aaron Hawryluk
ish.cgi?p=171082&x=articles&s=showbiz The upshot - for some reason, using exactly the same libraries to publish content, when run under mod_perl apostrophes become "’". Anyone have any idea why? Our publishing system doesn't use any strange character sets - it's a str

Re: strange problem,please help

2006-08-19 Thread Randy Kobes
On Sat, 19 Aug 2006, LUKE wrote: Then mod_perl still run the old program after i modify the code. Even restart apache or OS . I still got the old result! Why? I must run fsck ?? The problem is filesystem Error? I often modify the code,but have no this problem before. How to trace the problem?

strange problem,please help

2006-08-18 Thread LUKE
Then mod_perl still run the old program after i modify the code. Even restart apache or OS . I still got the old result! Why?  I must run fsck ?? The problem is filesystem Error? I often modify the code,but have no this problem before. How to trace the problem?  

Re: Tesing Protocol Handlers got strange result!

2006-02-18 Thread LUKE
Protocol Handlers got strange result! Then code is from http://perl.apache.org/docs/2.0/user/handlers/protocols.html Command Server. When i start to test. It will not response Welcome Message until i type enter. Why?   The FTP Server or SMTP Server will response Welcome Message

Tesing Protocol Handlers got strange result!

2006-02-17 Thread LUKE
Then code is from http://perl.apache.org/docs/2.0/user/handlers/protocols.html Command Server. When i start to test. It will not response Welcome Message until i type enter. Why?   The FTP Server or SMTP Server will response Welcome Message first. If i want to implement those protocol using A

Re: Strange test results

2006-01-20 Thread Beau E. Cox
On Thursday 19 January 2006 09:51 am, Philippe M. Chiasson wrote: > Beau E. Cox wrote: > > Hi - > > > > This is not in your bug report format, but look > > how strange it is: > > > > 1) Standard test gives these failures: > > > > $ make test >

Re: Strange test results

2006-01-19 Thread Philippe M. Chiasson
Beau E. Cox wrote: > Hi - > > This is not in your bug report format, but look > how strange it is: > > 1) Standard test gives these failures: > > $ make test > ... > Failed TestStat Wstat Tota

Re: Strange test results

2006-01-02 Thread Perrin Harkins
On Fri, 2005-12-30 at 16:57 -1000, Beau E. Cox wrote: > 3) Configuration: > > Apache 2.3 (svn trunk): I think that's the issue. Apache 2.3 is not working yet, AFAIK, although you could try the latest mod_perl from svn. - Perrin

Strange test results

2005-12-30 Thread Beau E. Cox
Hi - This is not in your bug report format, but look how strange it is: 1) Standard test gives these failures: $ make test ... Failed TestStat Wstat Total Fail Failed List of Failed --- t/modperl/setupenv2

Re: Strange APR::UUID Issue on OpenBSD in Makeifle.PL

2005-12-08 Thread Christopher H. Laco
Randy Kobes wrote: > On Tue, 6 Dec 2005, Christopher H. Laco wrote: > >> Christopher H. Laco wrote: >>> I'm headed out for the day, so I apologize for the email-and -un. I >>> posted this last night to PerlMonks, and I'll post it to the EU::MM list >>> when I get home: >>> >>> http://perlmonks.org

Re: Strange APR::UUID Issue on OpenBSD in Makeifle.PL

2005-12-08 Thread Randy Kobes
On Tue, 6 Dec 2005, Christopher H. Laco wrote: Christopher H. Laco wrote: I'm headed out for the day, so I apologize for the email-and -un. I posted this last night to PerlMonks, and I'll post it to the EU::MM list when I get home: http://perlmonks.org/?node_id=513773 Long story short, I got

Re: Strange APR::UUID Issue on OpenBSD in Makeifle.PL

2005-12-06 Thread Christopher H. Laco
Christopher H. Laco wrote: > I'm headed out for the day, so I apologize for the email-and -un. I > posted this last night to PerlMonks, and I'll post it to the EU::MM list > when I get home: > > http://perlmonks.org/?node_id=513773 > > Long story short, I got reports that perl Makefile.PL for my

Strange APR::UUID Issue on OpenBSD in Makeifle.PL

2005-12-03 Thread Christopher H. Laco
I'm headed out for the day, so I apologize for the email-and -un. I posted this last night to PerlMonks, and I'll post it to the EU::MM list when I get home: http://perlmonks.org/?node_id=513773 Long story short, I got reports that perl Makefile.PL for my dist was producing a 0 byte Makefile. Aft

Re: require() function : strange result

2005-11-30 Thread Jay Scherrer
Simon, Your required file may not already be loaded the first time. Meaning that the file: test.pl will not be loaded until actually required. But once you use the file, it will be part of the ongoing process. Jay Scherrer On Thu, 2005-12-01 at 12:16 +0800, Simon Wong wrote: > Dear All, > > I ha

Re: require() function : strange result

2005-11-30 Thread Philip M. Gollucci
Simon Wong wrote: > - Actually I need to type the absolute path in the require() function, i.e. require("/var/www/html/test01.pl""). What should I do if I need relative path ? All paths are going to relative from the 'cwd' ehich is not the directory your script was initially run in. See ModP

require() function : strange result

2005-11-30 Thread Simon Wong
Dear All, I have problems of require() function, here is my simple program : test.pl --- #!/usr/bin/perl require "test01.pl"; test01.pl --- #!/usr/bin/perl print "content-type:text/html\n\n"; print ""; print "this is line one "; print ""; 1; At console mode

Re: Strange $r-print($buffer)/Content-Disposition problem

2005-09-20 Thread Christopher Stanton
In the second example I have already appended "\r\n" to the write buffer. So it really is: $write_buffer .= "\r\n"; $r->print($write_buffer); $r->print($jpeg); $r->print("\r\n\r\n"); I try to write the same data to the client. In one case I write it as one big buffer, in the other case I write

Re: Strange $r-print($buffer)/Content-Disposition problem

2005-09-20 Thread Larry Leszczynski
Hi Christopher - I don't know if it's a typo but this: $write_buffer .= "\r\n" . $jpeg . "\r\n\r\n"; $r->print($write_buffer); is not the same as this: $r->print($write_buffer); $r->print($jpeg); $r->print("\r\n\r\n"); since the latter does not insert "\r\n" between $write_buffer and $jpe

Strange $r-print($buffer)/Content-Disposition problem

2005-09-20 Thread Christopher Stanton
Fedora Core 4 httpd-2.0.54-10 mod_perl-2.0.0-0.rc5.3 I have an nph mod_perl script which will send a JPEG to a client either inline or as an attachment (if a param is passed). If it is an attachment, I set the Content-Disposition to: "Content-Disposition: attachment; filename=\"$snapshot_filename\

Re: [mp2] strange behavior of script under heavy load

2005-08-15 Thread Tom Schindl
in32 this would delay unlinking the temp files until File::Temp is > unloaded. For some reason, File::Temp stops creating new temp files > after about 180 files. Using it with stand-alone Perl it should allow > for > 2000 temp files. I'm not sure why File::Temp does not croak here &

Re: [mp2] strange behavior of script under heavy load

2005-08-14 Thread Bjoern Hoehrmann
* Bjoern Hoehrmann wrote: >>The test input I'm using should yield in 102 reported errors. >>Under normal load, only 94 errors are reported (the last 8 errors >>are missing), under heavy load, sometimes, 102 erors are reported. > >I could track this down to input like > > > ... > >This should res

Re: [mp2] strange behavior of script under heavy load

2005-08-14 Thread Bjoern Hoehrmann
* Bjoern Hoehrmann wrote: >This is what HTML::Template would generate for the request if no >parameters are set. Parameters should be set though and this is >the output even if the corresponding print() is commented out, so >this output is a bit strange and unexpected. Again, this h

[mp2] strange behavior of script under heavy load

2005-08-13 Thread Bjoern Hoehrmann
output even if the corresponding print() is commented out, so this output is a bit strange and unexpected. Again, this happens only under heavy load, it does not happen for e.g. `ab -c 1 -n 600` or at least rarely. In the Apache logs it goes like this (with the print commented out) [13/Aug/2005:20

Re: Strange error in log when trying to implement PerlTypeHandler

2005-07-20 Thread Michele Gherlone
On Wed, 20 Jul 2005 12:05:34 +0200 Stas Bekman <[EMAIL PROTECTED]> wrote: *This message was transferred with a trial version of CommuniGate(tm) Pro* Michele Gherlone wrote: Hi all! I was trying to bypass mod_mime for certain mime type, and I wrote this small handler: ---

Re: Strange error in log when trying to implement PerlTypeHandler

2005-07-20 Thread Geoffrey Young
>> I really wish I could know where this error comes from. Perhaps from >> mod_mime itself, or...? > > > grep the apache sources for 'Invalid type' string? I did last night - that error is coming from File::MMagic. --Geoff

Re: Strange error in log when trying to implement PerlTypeHandler

2005-07-20 Thread Stas Bekman
Michele Gherlone wrote: Hi all! I was trying to bypass mod_mime for certain mime type, and I wrote this small handler: package Apache::MIMEMagic; $Apache::MIMEMagic::VERSION='0.10'; use Apache2::Const -compile => qw(OK DECLINED); use File::MMagic; use strict;

  1   2   >