LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Perl Without -w Switch (https://www.linuxquestions.org/questions/linux-newbie-8/perl-without-w-switch-165364/)

koacamper 04-02-2004 09:51 AM

Perl Without -w Switch
 
Hello,
I'm new to linux and just installed Fedora Core 1 on a non-production server and installed all of the latest patches/os updates. In running various tests with setting up websites, running scripts, etc. I noticed, when running CGI or PL scripts, that if I don't use the "-w" (warning) switch in my perl path I get an script mis-configuration error-500 and the script will not run. When I enable the -w switch everything works great.

Is there a setting that I can change that would allow me to run CGI and PL scripts without the -w switch in my PERL scripts?

thanks!

koacamper 04-02-2004 02:21 PM

I've solved this problem on my own...
It's the security setting of the built-in vs-ftp.
go to /etc/vsftpd

edit vsftpd.conf

unmask the ASCII upload settings to enable the REAL ASCII upload, that's why I couldn't execute CGI/PL scripts since it's a FAKE ascii upload.

This solution can be applied to RedHat 8, 9 and Fedora Core 1


All times are GMT -5. The time now is 08:04 PM.