Losing post'ed data - fix

Dear all

Referance a few weeks ago people with thier own mixes of perl and rt etc
and had to change all post methods to gets, well this sorts the problem:

On arround line 17 of webmux change from - to:

-use HTML::Mason::ApacheHandler (args_method => ‘CGI’);
+use HTML::Mason::ApacheHandler (args_method => ‘mod_perl’);

Jesse - can this be patched in CVS ?

This is not my fix - but was found by a client of mine!

Thanks

Greg

using mod_perl args will break other things, such as file uploads. I’m
pretty sure that the loss of posted data is due to a botched install
of one or more of the related CPAN pakcages.

JesseOn Sat, Nov 10, 2001 at 01:18:13PM +0000, Greg Cope wrote:

Dear all

Referance a few weeks ago people with thier own mixes of perl and rt etc
and had to change all post methods to gets, well this sorts the problem:

On arround line 17 of webmux change from - to:

-use HTML::Mason::ApacheHandler (args_method => ‘CGI’);
+use HTML::Mason::ApacheHandler (args_method => ‘mod_perl’);

Jesse - can this be patched in CVS ?

This is not my fix - but was found by a client of mine!

Thanks

Greg


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.

Jesse Vincent wrote:

using mod_perl args will break other things, such as file uploads. I’m
pretty sure that the loss of posted data is due to a botched install
of one or more of the related CPAN pakcages.

    Jesse

Ah I did not realise that it would break the file upload stuff.

I am pretty sure (read almost certain - I reinstall it all again) that
all the perl test passed, and I’ve not had problems with other things.

It would appear to be common with people that have thier own perl
complied from scratch, and there appear to be problems with mason and
posted stuff.

Can those others whom have this problem add any more ?

Greg

Greg Cope wrote:

Jesse Vincent wrote:

using mod_perl args will break other things, such as file uploads. I’m
pretty sure that the loss of posted data is due to a botched install
of one or more of the related CPAN pakcages.

    Jesse

I’ve reinstalled perl, apache and all the module. This took ages.

It now appears to work.

The only difference is Mason v1.04, rt2.0.9 and perl complied without
thread support ( like a default install).

Has anyone:

a) Got a threaded perl to work (-Dusethreads -Duseithreads)

b) Are there any others that still have problems (if so send me you perl
-V output).

Greg