Hi,
the best thing would be:
1. Read docs at perl.apache.org
2. Get one of the various good books which are out there:
e.g.
http://www.amazon.de/exec/obidos/ASIN/0596002270/qid=1091174088/ref=sr_8_xs_ap_i1_xgl/028-6908240-1456549
ModPerl List wrote:
How do I actually use mod_perl once I install i
This is a bug-fix version. The bug can affect Apache::Dynagzip when
'light compression' is configured 'on'.
The problem of the very last incoming character that is not a
'new-string' was brought to my attention by Chris Clandingboel. Fixed
now. Thanks Chris!
Upgrade is recommended for all users o
Hi Tom,
I think I see what your saying. What if you ignored the first and
worked on the 2nd? Same problem I guess if you hit the first child. I
haven't tried to determine if there are two processes as a result of
hitting the form but I know from the logs that the module starts
cycling through the
Thanks Fred, that did the trick...
-Chris
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Chris Faust" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 27, 2004 12:02 PM
Subject: Re: HTTP headers - what is wrong
> > Which works great, the problem is right before I pri
What would you suggest for a situation where a user is entering in their
credit card information, using their back button and submitting again and
then complaining about a double charge? I've dealt with the submit button
and that took care of a lot of users that double click the thing or simply
cli
Chris Faust wrote:
What would you suggest for a situation where a user is entering in their
credit card information, using their back button and submitting again and
then complaining about a double charge?
I would suggest that you need to create some kind of transaction ticket.
For example, (times
Chris,
Randall even has a column about this issue[1] from a couple years ago.
HTH,
William
[1] http://www.stonehenge.com/merlyn/WebTechniques/col64.html
--
Knowmad Services Inc.
http://www.knowmad.com
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/ma
I figured it out. I removed the last .tar off of
mod_perl-2.0-current.tar.gz.tar
And Winzip could handle it.
Charlene
Randy Kobes wrote:
On Wed, 28 Jul 2004, Charlene Wroblewski wrote:
I don't think the right file is there. Winzip has an error processing
this downloaded file
Configuration:
Red Hat Enterprise Linux AS release 3 (Taroon Update 2)
Kernel 2.4.21-15.0.2.ELsmp
mod_perl 1.99_14 (compiled from source; "make test" reports all tests
successful)
OpenSSL 0.9.7a Feb 19 2003
Apache 2.0.50 (compiled from source)
./configure --prefix=/usr --localstatedir=/etc/httpd
Hi modperls,
Apache/1.3.26 (Unix) mod_perl/1.27
I have started getting odd results from requests that come from forms
with multiple options. If I pass the following uri all is well:
http://server.com/junk?one=1&two=2&three=3
But this doesn't
http://server.com/junk?no=1&no=2&no=3
Well to be fa
Dermot Paikkos wrote:
Hi modperls,
Apache/1.3.26 (Unix) mod_perl/1.27
I have started getting odd results from requests that come from forms
with multiple options. If I pass the following uri all is well:
http://server.com/junk?one=1&two=2&three=3
But this doesn't
http://server.com/junk?no=1&no=2
"Dermot Paikkos" <[EMAIL PROTECTED]> writes:
[...]
> foreach my $param ($r->param) {
> print STDERR "\$r->$param = ".scalar($r->param($param))."\n";
> # $hash_ref->{$r->param($param)} = 0;
Have you tried using a slice there?
@{$hash_ref}{$r->param($param)} = (); # valu
Hi all,
I'm working on a mason/modperl project that needs separate development
and production environments. I only have one machine to work with, and
I've realized that using a single httpd process for both of these sites
(with my current VirtualHost config) will probably result in some
unhealt
Does that explain, if I use the version of junk.pm below, with this
uri:
http://dev.sciencephoto.co.uk/junk?no=1&no=2&no=3
I get:
$r->no = 1
user = 1
user = 2
user = 3
and
http://dev.sciencephoto.co.uk/junk?one=1&two=2&three=3
gives:
$r->one = 1
$r->two = 2
$r->three = 3
user = 1
user = 2
use
[...]
As already stated by Joe you have two possibilities:
1. Use Hashslice-Sytanx (very short hand)
my %hash = ();
foreach( $r->param() ) {
@hash{$r->param($_)} = ( 1 );
}
2. For a more verbose version you should use a inner foreach:
my %hash = ();
foreach( $r->param() ) {
foreach( $r-
I'm a modperl newbie but a pretty good Perl programmer. My first
thought is that you can't have multiple hash keys with the same name.
That's why you can only see one key called 'on'. Maybe the 'on' value
that you are seeing is an array or array reference?
I hope I'm not way off base here but thi
Hi,
It's late and I shouldn't even be in the office but thanx for the
replies. The point that you can't have hash keys of the same name
makes a huge amount of sense and is something is mentioned about it
in the cookbook.
I'll try the slice on Monday, as two replies are stating that as the
sol
Hi,
I have a handler, that serve dynamic pages or static ones. If the handler gets
a HEAD request, it answers with
...
$apr->headers_out->{'Content-Length'} = 12345;
$apr->content_type($media_type) unless $apr->main;
if ( $apr->header_only ) {
return DONE;
}
...
This works, but
Hello all,
I'm running mod_perl 1.99_13 with apache 2.0.49. I'm also running
HTML::Mason. Not sure if this is a Mason error or just a mod_perl
thing, but I keep getting these errors in my error log:
[Fri Jul 30 16:37:12 2004] [error] [client x.x.x.x] 103:Software caused
connection abort at
/
Boris Zentner wrote:
> Hi,
>
> I have a handler, that serve dynamic pages or static ones. If the handler gets
> a HEAD request, it answers with
>
> ...
> $apr->headers_out->{'Content-Length'} = 12345;
> $apr->content_type($media_type) unless $apr->main;
> if ( $apr->header_only ) {
>
20 matches
Mail list logo