Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Dec 2003
    Posts
    8

    Angry cgi-bin / perl won't run

    Ok have searched here and found all the relevant threads...
    But...
    Can't get any perl scripts to run... period

    have tried:
    (permissions - of course)

    suExec - disabled

    rebuilt Apache

    edited httpd.conf

    changed from STABLE to CURRENT etc

    So I'm at a loss... really need to get perl scripts running ASAP

    Running FreeBSD 5.1...

    Can anyone point me in the right direction?

  2. #2
    Member bamasbest's Avatar
    Join Date
    Jan 2004
    Posts
    531

    Default

    What kind of error messages do you receive when you attempt to execute these scripts? What do your error logs tell you? Have you tried executing these scripts from command line (i.e. perl -w script.cgi)?

  3. #3
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    Do you have the line

    use CGI::Carp qw(fatalsToBrowser);

    near the beginning of the script?

    I use it all the time to help figure out problems. Also, in shell, run

    perl -c /path/to/script

    to test the script.


    If it's a server setup problem, that may not help, but you never know.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

Similar Threads & Tags
Similar threads

  1. How can a user run a .cgi script outside the cgi-bin?
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-24-2009, 09:16 AM
  2. run a file from the cgi-bin folder
    By tonyevans in forum New User Questions
    Replies: 1
    Last Post: 04-21-2008, 08:28 AM
  3. cgi-bin vs. scgi-bin vs. perl
    By Boboss in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-21-2006, 11:27 AM
  4. err 404 cant run cgi-bin
    By power_on in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 01-15-2006, 10:03 AM
  5. Can't run html files in CGI BIN
    By smile in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 01-23-2005, 07:13 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube