[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Perl Script under Apache with Apache-Perl doesn't show me the names and the values of the vars



Hi ...

I'm using Debian v3.r1 ( Woody )  with apache, apache-perl and php4

I have an example of perl script ( echo.pl ), that when I put the Names and
the
Values of the vars. If everything ok the script sends me an answer with the
names and
the values of these vars.

http://200.68.76.52/perl/echo.pl?campo1=Primer%20Valor&campo2=Segundo%20Valo
r

The result should be like this  ...

 Echo Script
 Ecco Here is the form information that you entered...JAKE
 ----------------------------------------------------------
 Value of variable campo1 = Primer Valor
 Value of variable campo2 = Segundo Valor
 ----------------------------------------------------------

But actually I'm only receive ...

 Echo Script
 Ecco Here is the form information that you entered...JAKE
 ----------------------------------------------------------
 ----------------------------------------------------------


Note:  If  I execute this script from the console under directory
/usr/lib/perl5  works fine
 # /usr/lib/perl5/ perl echo.pl?campo1=Primer%20Valor&campo2=Segundo%20Valor


I suppose that the problem is when I run these or other scripts under Apache
I lose the names and the values of the vars because the PATH  in my
configuration maybe wrong


The same script under Apache under Novell Netware works fine
http://200.68.76.50/perl/echo.pl?campo1=Primer%20Valor&campo2=Segundo%20Valo
 r

I'll appreciate your cooperation

Regards
Nestor Mazza
asd-vtas@movi.com.ar

Reply to: