Hello all,

        If anyone could shed some light on this I would be in there debt. I know
what the BIG problem is...these scripts where written in perl5.004 and we
have moved or are moving to 5.6.0, but I don't know where to start looking
to fix the code so that is works with 5.6.0.

        This is a "multipart/form-data" form, using method "POST" I'm unable to
retrieve the params passed to the cgi via "$cgi->param('PARAM')", HOWEVER,
if the method is "GET" the "$cgi->param('PARAM')" works, but "GET" is not
supposed to work with "multipart/form-data" and doesn't in actually getting
the file sent by the user via an upload script.

        I've even gone over the httpd.conf in hopes that it could be in there.
Everything is install RPM, but I've also tried source with the same results.
I will try to include everything that will be of help, but if I forget
something just e-mail me and I'll get it for you.



Thanks in advance,
Chris



######### From rpm -qa
########################################################
apache-1.3.19-5
mod_perl-1.24_01-2
perl-5.6.0-12

######### From the error_log after apache startup
#################################
Apache/1.3.19 (Unix)  (Red-Hat/Linux) mod_ssl/2.8.1 OpenSSL/0.9.6
mod_perl/1.24_01 ApacheJServ/1.1.2 configured -- resuming normal operations

######### From "perl -v"
######################################################
This is perl, v5.6.0 built for i386-linux

Copyright 1987-2000, Larry Wall

Perl may be copied only under the terms of either the Artistic License or
the
GNU General Public License, which may be found in the Perl 5.0 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.


######## This is for that application in httpd.conf
###################################

############## Contract Underwriting test##################################
<Directory /path/to/the/dir/of/app>
Options Includes FollowSymLinks ExecCGI
AllowOverride FileInfo AuthConfig Limit Indexes

AuthName DBI
AuthType Basic

PerlAuthenHandler Apache::AuthenDBI
PerlAuthzHandler Apache::AuthzDBI

PerlSetVar Auth_DBI_data_source dbi:Oracle:something.something.tgic.com
PerlSetVar Auth_DBI_username    something
PerlSetVar Auth_DBI_password    something
PerlSetVar Auth_DBI_pwd_table   user_tbl
PerlSetVar Auth_DBI_grp_table   user_tbl
PerlSetVar Auth_DBI_uid_field   USER_NAME
PerlSetVar Auth_DBI_pwd_field   USER_PSWD
PerlSetVar Auth_DBI_pwd_whereclause CU='Y'

<Limit GET POST>
order allow,deny
allow from all
require valid-user
</Limit>
</Directory>

<Location /app/path>
SetHandler perl-script
PerlHandler Apache::Registry
Options Includes FollowSymLinks ExecCGI
</Location>
############## End Contract test##################################



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to