bob242
09-23-2003, 06:57 AM
As I'm not sure what's causing this problem, I'm not sure if it is perl, apache or what. But here it is:
I'm having trouble using the cal command with my apache server (I'm running Apache 2.0.47 along with cygwin on XP). The cal command is from cygutils 1.2 (or possibly 2.1.something, I'm not sure).
cal works fine at the command prompt and also when I manually translate a perl file, using /usr/bin/perl, but when I try to browse to the same perl file when it's being hosted by my apache server (and I've used both Opera and IE), the cal command doesn't work.
(in other words, apache is producing different html code than /usr/bin/perl does.)
this code:
$cal = `cal $month $year`;
print "$cal";
yields no html output.
I've tried a whole bunch of other "unix" commands, like date and ls, etc, in the same manner, and they've all worked.
Any ideas what is going on?
Thanks,
Bob
I'm having trouble using the cal command with my apache server (I'm running Apache 2.0.47 along with cygwin on XP). The cal command is from cygutils 1.2 (or possibly 2.1.something, I'm not sure).
cal works fine at the command prompt and also when I manually translate a perl file, using /usr/bin/perl, but when I try to browse to the same perl file when it's being hosted by my apache server (and I've used both Opera and IE), the cal command doesn't work.
(in other words, apache is producing different html code than /usr/bin/perl does.)
this code:
$cal = `cal $month $year`;
print "$cal";
yields no html output.
I've tried a whole bunch of other "unix" commands, like date and ls, etc, in the same manner, and they've all worked.
Any ideas what is going on?
Thanks,
Bob