Internet Programming
RSS icon Email icon Home icon
  • Perl CGI test

    Posted on May 13th, 2009 admin No comments

    If you are having problems running Perl CGI on your cs account, try this:

    1. cd to your public_html directory
    2. Create myfile.cgi
    3. Copy cheapest cialis the following code into the file:
      #!/usr/bin/perl
      use CGI qw/:standard/;
      print header;
      print start_html('CGI works!');
      print h1('I like CGI');
      print end_html;
    4. Modify the file to be executable by the group
      chmod 755 myfile.cgi
    5. Browse to your file at students.cs.byu.edu/~{csid}/myfile.cgi. It should work.

    Leave a reply

    You must be logged in to post a comment.