You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Dan Manley <dm...@spotnikmobile.com> on 2004/04/20 16:53:39 UTC

Re: $fdat not working when using POST

Hi Gerald,
 
I am writing in reference to the problem stated above in some emails
from early in 2003.  The last message I found on the list was this:
http://www.ecos.de/~mailarc/embperl/2003-02/msg00022.html
 
What was the resolution to this problem?  I seem to be encountering the
same thing with Apache 1.3.29, mod_perl 1.28 and Embperl 2.0b11  ---
forms submitted via post don't get put into %fdat.  Can you help me?
 
Thanks,
Dan
 

Re: $fdat not working when using POST

Posted by Gerald Richter <ri...@ecos.de>.
MessageHi,

> 
> I am writing in reference to the problem stated above in some emails
> from early in 2003.  The last message I found on the list was this:
> http://www.ecos.de/~mailarc/embperl/2003-02/msg00022.html  
> 
> What was the resolution to this problem?  I seem to be encountering
> the same thing with Apache 1.3.29, mod_perl 1.28 and Embperl 2.0b11 
> ---  forms submitted via post don't get put into %fdat.  Can you help
> me?   
> 

Do you run under mod_perl or as CGI?

Do you use CGI.pm in any way or any other code that might have eaten up the post data already?

Could you add a 

[+ $ENV{CONTENT_LENGTH} +]

to your page and see if you get a value other then blank or zero?

Gerald


---------------------------------------------------------------------------
Gerald Richter            ecos electronic communication services gmbh
IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
---------------------------------------------------------------------------
Besuchen Sie uns auf der KOMCOM 2004 in Mannheim
25. bis 27. Mai 2004  Stand K11a   www.komcom.de

ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
---------------------------------------------------------------------------

Re: $fdat not working when using POST

Posted by Hoenie Luk <ai...@theearth.com>.
Hello Dan,

I was the original author of that message.

It turned out that there was a hidden .htaccess file in my /www directory. 
In that file, there is a line that forbid submitting by POST. Once a delete 
the .htaccess file, POSTing worked again.

I did not put the .htaccess file there -- that's why I was surprised to 
find it there. Looking through the .htaccess file, it appeared to be 
related to Frontpage server extension. I think it was one of the tons of 
files that were put there by my web host when I asked to have Frontpage 
server extension set up.

I hope this is the same situation for you, although it may be a long shot.

Keep us posted as to your resolution to this problem.

......Hoenie


At 10:53 AM 4/20/2004 -0400, Dan Manley wrote:
>Hi Gerald,
>
>I am writing in reference to the problem stated above in some emails from 
>early in 2003.  The last message I found on the list was this: 
><http://www.ecos.de/~mailarc/embperl/2003-02/msg00022.html>http://www.ecos.de/~mailarc/embperl/2003-02/msg00022.html
>
>What was the resolution to this problem?  I seem to be encountering the 
>same thing with Apache 1.3.29, mod_perl 1.28 and Embperl 
>2.0b11  ---  forms submitted via post don't get put into %fdat.  Can you 
>help me?
>
>Thanks,
>Dan
>


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org