I wrote tne initial question about the perl-CGI module and post method. Thank you for your answers.
The problem is a little more comlicated, but I found a solution.
I belive it is a problem o incompatibility betwen perl-CGI and something else on my system - possible Apache ASP(I can't say exactly and I don't have any more time to investigate).
The solution:
In CGI.pm I replaced the line
"return $MOD_PERL ? $self->r->read($$buff, $len, $offset) : read(\*STDIN, $$buff, $len, $offset);"
with
"read(\*STDIN, $$buff, $len, $offset);"
And it worked.
I have perl-CGI 3.05, apache2, Apache-asp 2.57, apache2-mod_perl, apache2-mod_ssl
And the apache configuration for the working dorectory: <VirtualHost xxx.xxx.xxx.xxx:443> ErrorLog logs/ssl-error_log TransferLog logs/ssl-access_log SSLEngine on SSLCertificateFile /etc/ssl/apache2/server.crt SSLCertificateKeyFile /etc/ssl/apache2/server.key SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown RewriteEngine On RewriteOptions inherit DocumentRoot /var/www/html/freeside ServerName xxxxxx <Perl> $MLDBM::RemoveTaint = 1; </Perl> PerlRequire Require.pm <Directory /var/www/html/freeside> <Files ~ (\.cgi)> AddHandler perl-script .cgi PerlHandler Apache::ASP </Files> PerlSetVar Global /usr/local/etc/freeside/asp-global/ PerlSetVar Debug 2 PerlSetVar Global /usr/local/etc/freeside/asp-global/ AuthName Freeside AuthType Basic AuthUserFile /usr/local/etc/freeside/htpasswd require valid-user </Directory> </VirtualHost>
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>