Results 1 to 2 of 2

Thread: perl script

  1. #1
    Join Date
    Nov 2008
    Beans
    3

    perl script

    Hello;

    Iam new to apache web server and perl. Iam trying to run a simple cgi script from my browser but instead of executing the script the browser is asking me to save as.

    This is my simple script:

    #!/usr/bin/perl
    print "content-type: text/html\n\n";
    print "Hello\n";

    This script works fine in the terminal;

    Please help;

  2. #2
    Join Date
    May 2007
    Beans
    6

    Re: perl script

    Sounds like you have not setup your apache config to run cgi scripts correctly.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •