Jump to content
The Uniform Server Community

DanD

Member
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About DanD

  • Rank
    Newbie

Previous Fields

  • Main OS
    Windows XP
  1. DanD

    CGI Scripts will not run

    Never mind I had to change "#! /usr/local/bin/perl" to "#! /usr/bin/perl" Now it works..
  2. I have tried everything I can think of, but I can not get my pl/cgi scripts to run. This is a windows box with all uniserver settings as it comes default. I can not seem to run scrips from the main directory or the cgi-bin, and yes THE FILE IS IN THE DIR. Please help me get this working. This the result on the webpage: Here is the error log: This is the cgi #! /usr/local/bin/perl # hello.pl -- my first perl script! print "Content-type: text/html\n\n"; print <<"EOF"; <HTML> <HEAD> <TITLE>Hello, world!</TITLE> </HEAD> <BODY> <H1>Hello, world!</H1> </BODY> </HTML> EOF
×
×
  • Create New...