Can't run cgi script with Apache 2.2 with Windows XP

Discussion in 'Ruby' started by Patrick Lynch, Nov 14, 2007.

  1. I'm trying to get Ruby up and running using a CGI script in a Windows
    XP/Pro.
    I entered the following URL in the IE browser:
    localhost:8080/cgi-bin/hello.cgi.
    The following is returned on the browser: 500 Internet Server Error.
    The following is in the Apache Error Log: ...cgi-bin/hello.cgi is not
    executable...

    It appears that Windows doesn't know how to execute the hello.cgi
    script...
    Might be a httpd.conf configuration file issue.

    If I was in a Unix environment I would try adding a shebang to the
    beginning of the file...

    I'd appreciate any help...
    --
    Posted via http://www.ruby-forum.com/.
    Patrick Lynch, Nov 14, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    1
    Views:
    322
    Larry Bates
    Dec 14, 2006
  2. sophie_newbie

    Error when python script run as cgi script

    sophie_newbie, Oct 21, 2007, in forum: Python
    Replies:
    3
    Views:
    588
    Dennis Lee Bieber
    Oct 22, 2007
  3. fatted
    Replies:
    1
    Views:
    116
    Steve Grazzini
    Jul 25, 2003
  4. BestFriend
    Replies:
    2
    Views:
    742
  5. kath
    Replies:
    4
    Views:
    529
    J. Gleixner
    Apr 9, 2007
Loading...

Share This Page