LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-02-2004, 10:51 AM   #1
koacamper
LQ Newbie
 
Registered: Apr 2004
Posts: 4

Rep: Reputation: 0
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!
 
Old 04-02-2004, 03:21 PM   #2
koacamper
LQ Newbie
 
Registered: Apr 2004
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
thread switch results in kernel stack switch superstition Linux - General 1 05-18-2005 12:48 AM
howto control a perl script by a hardware switch jujo Linux - Software 0 08-17-2004 04:24 PM
set up DSL thru SWITCH - winXp connected to SWITCH too husz Linux - Newbie 5 04-22-2004 01:08 AM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 09:09 PM
chrooting apache v2 (php, ssl, perl support) ; perl configuration markus1982 Linux - Security 3 01-26-2003 07:15 PM


All times are GMT -5. The time now is 10:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration