Hi,
First of all, thanks for your help.
Quoting Marius:
But anyway, as he doesn't give us any clues about specific
mason/test/environment/perl settings/etc, I'll stop doing more dumb
guessing. Lunch's over ;-)
Sorry about that. If I'm not giving much details, this is because I
didn't/don't know whoich ones to give you (and the point here is giving you
relevant details only).
So, according to what I see reading your replies, I can tell you that I'm
using libapreq2. In fact, using libapreq2 is the only way I found to run
Mod_Perl2 under WinXP.
Here are the lines I added to my httpd.conf:
# for mod_perl
LoadFile "c:/TempApache/Perl/bin/perl58.dll"
LoadModule perl_module ../modules/mod_perl.so
# for libapreq2
LoadFile "c:/TempApache/Apache2/bin/libapreq2.dll"
LoadModule apreq_module ../modules/mod_apreq2.so
Without libapreq2, Apache just tells me, when starting the server, something
like "This application can't start because libapreq2.dll can't be found".
So, I'm using libapreq2
As stated earlier, my problem has been fixed by accident, when trying with
Mason v1.32, because, by default, we've got "CGI" for "args_method", instead
of "mod_perl"). Of course, I can't tell you exactly while it is working with
CGI, but not with mod_perl.
What's really weird is that request like http://myserver/test.html?myarg=%E7
are not handled well, but a request like
http://myserver/test.html?myarg=%E7%E7 is handled well.
What will be the cosnecuences of setting args_method=> "CGI" instead of
args_method => "mod_perl"?
If you need any info about my server, don't hesitate to ask.
I really feel that I should better move to Linux in a near future, as really
few people seem to be using Win32 for Apache/mod_perl/mason.
Thanks,
Lionel.
----- Original Message -----
From: "Marius Feraru" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, March 14, 2006 12:20 PM
Subject: Re: [Mason] When and where, in the Mason source code, is the
$r->args hash generated (Purpose: fix a problem with request args
disappearing)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Patrick M. Jordan wrote:
.--- On Tue, 14 Mar 2006, Lionel MARTIN wrote:
| Where, in the Mason source code, is the $r->args hash generated?
`---
Mason uses Apache::Request, which interfaces with Apache's deep downs
to fetch the data. All the magic happens there.
Patrick, remember Lionel told us at least about this:
"First of all, I'm running Apache 2.053, mod_Perl 2.01, Mason 1.31,
under Windows XP."
So, there's no libapreq there, not even libapreq2 (if I am doing an
educated quess here). More, even if there were, it is AFAIR not enabled
by default on mod_perl2.
Quoting from the changes log:
1.30 August 11, 2005
- Under mod_perl2, MasonArgsMethod will default to "CGI", since
libapreq2 is still in development. If you have successfully
installed libapreq2, just set MasonArgsMethod to "mod_perl"
to use it.
So, I presume mp2/apreq2 is not the case here, but merely a double
encode/decode/escape/etc from CGI/URI related code (inside or outside
HTML::Mason). Checking the changes log again, maybe using the latest
version (1.32) already fixes Lionel's issues.
But anyway, as he doesn't give us any clues about specific
mason/test/environment/perl settings/etc, I'll stop doing more dumb
guessing. Lunch's over ;-)
- --
Marius Feraru
-----BEGIN PGP SIGNATURE-----
iD8DBQFEFqbgtZHp/AYZiNkRAp9OAJwPZ6H9k1JVXg6QDwHMluMr79MK7wCeKxEm
4iuf0jFmKFkIDFOKgEuy9ww=
=UEoh
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users