Hello, I am running this code
print "Content-type: text/html\n\n";
use Switch;
$t =1;
switch ($t) {
case 1 { print "number 1\n"; }
}
I have not problem running in shell command
[EMAIL PROTECTED]:/var/www/modperl$ perl test.pl
Content-type: text/html
number 1
But when
On 5/29/08, Fred Moyer <[EMAIL PROTECTED]> wrote:
> william wrote:
>
> > On 5/29/08, Perrin Harkins <[EMAIL PROTECTED]> wrote:
> >
> > > On Wed, May 28, 2008 at 3:33 AM, william <[EMAIL PROTECTED]> wrote:
> > >
> > I put the following lines at the top of my startup.pl script
> > use APR::Pool (); #
william wrote:
On 5/29/08, Perrin Harkins <[EMAIL PROTECTED]> wrote:
On Wed, May 28, 2008 at 3:33 AM, william <[EMAIL PROTECTED]> wrote:
I put the following lines at the top of my startup.pl script
use APR::Pool (); #specific for mod_perl 2
use Apache::DB ();
Apache::DB->init();
Can you show
On 5/29/08, Perrin Harkins <[EMAIL PROTECTED]> wrote:
> On Wed, May 28, 2008 at 3:33 AM, william <[EMAIL PROTECTED]> wrote:
> > [EMAIL PROTECTED]:~$ sudo apache2 -X -DPERLDB -k restart
> > [notice] Apache::DB initialized in child 10312
> >
> > Do I have to use DDD to see the prompt ?
>
>
> No,
On Wed, May 28, 2008 at 1:50 PM, <[EMAIL PROTECTED]> wrote:
>
> I found this when I ran into a simuilar situation although I have not yet
> had a chance to try it :
>
> http://bwmod.sourceforge.net/files/mod_bw-0.7.txt
>
> Looks like you can set max connections but not by ip.
Just to finalize, I
On Wed, May 28, 2008 at 12:51 PM, Perrin Harkins <[EMAIL PROTECTED]> wrote:
> On Wed, May 28, 2008 at 12:54 PM, Sean Davis <[EMAIL PROTECTED]> wrote:
>> I am looking for a
>> meaningful way of limiting the number of connections (not really
>> bandwidth, since we host VERY large static files) from a
On Wed, May 28, 2008 at 12:54 PM, Sean Davis <[EMAIL PROTECTED]> wrote:
> I am looking for a
> meaningful way of limiting the number of connections (not really
> bandwidth, since we host VERY large static files) from a single IP.
> Any suggestions?
If you search for "bandwidth" on this page, it wi
On Wed, May 28, 2008 at 1:19 PM, Fred Moyer <[EMAIL PROTECTED]> wrote:
> Sean Davis wrote:
>>
>> This is decidedly off-topic
>>
>> We run a pretty small website (multi-use) on Apache (2.2) and mod_perl
>> (along with some php, cgi, and static content). Unfortunately, our
>> organization has re
On Wed, May 28, 2008 at 3:33 AM, william <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED]:~$ sudo apache2 -X -DPERLDB -k restart
> [notice] Apache::DB initialized in child 10312
>
> Do I have to use DDD to see the prompt ?
No, it should just be right there in your terminal. It seems to be
forking.
Sean Davis wrote:
This is decidedly off-topic
We run a pretty small website (multi-use) on Apache (2.2) and mod_perl
(along with some php, cgi, and static content). Unfortunately, our
organization has recently decided to institute the policy of scanning
the site on a regular basis for secur
This is decidedly off-topic
We run a pretty small website (multi-use) on Apache (2.2) and mod_perl
(along with some php, cgi, and static content). Unfortunately, our
organization has recently decided to institute the policy of scanning
the site on a regular basis for security reasons. The sc
Hi Andre,
That was is. Once I created the cookie value like
my $cookie_value = qq|$val1&$val2&$val3.|;
It worked! Now I just got to update everything so I don't need to do that
anymore :)
Thanks!
-Chris
From: André Warnier [mailto:[EMAIL PROTECTED]
S
Hello List,
It appears as though there's some sort of bug in, or relating to,
Apache2::UploadProgress. I am running apache 2.2.8 on OS X with the
libapreq2-2.10 dev snapshot and HTML::Mason 1.39. When I enable the
Apache2::UploadProgress module, the first file that is uploaded causes
the mason c
I don't guarantee that this is the real issue you're having, but be
careful of the following : either of the Apache2::Request::Cookie or
CGI::Cookie (don't remember which one) URL-encodes the cookie value by
default, and the other one does not. Maybe you're getting caught by that.
One of the mo
On Wed, May 28, 2008 at 5:50 AM, Perrin Harkins <[EMAIL PROTECTED]> wrote:
> On Tue, May 27, 2008 at 1:38 PM, william <[EMAIL PROTECTED]> wrote:
>> Hello, I am trying to debug my perl code under mod_perl and I had
>> followed all the instruction at this section
>> http://perl.apache.org/docs/1.0/gu
15 matches
Mail list logo