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
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:
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
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
>
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
-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
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
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
-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
[ 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
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
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
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
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
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
: 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
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
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
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
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
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
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
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
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
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:
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
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
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.
>
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
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
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
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
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();
> >
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
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
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
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
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
>
>
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 '
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
>
>
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
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();
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.
>
> 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..
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
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
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
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
>
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
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
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
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
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
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/:
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
>
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
>
>
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.
*
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.
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
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.
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
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.
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
>
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.
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
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.
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
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
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
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
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
[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
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
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
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
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?
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?
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
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
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
>
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
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
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
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
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
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
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
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
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
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
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
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
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\
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
&
* 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
* 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
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
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:
---
>> 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
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 - 100 of 191 matches
Mail list logo