in reply to Help with CGI and pl

You need to set the executable bit on that script (chmod +x AG_Demo.pl) and configure your webserver to allow CGI scripts there.

You do have a webserver installed, right? Which one? And did you read its manual? And the error log files?

Replies are listed 'Best First'.
Re^2: Help with CGI and pl
by ArmandoG (Sexton) on Dec 20, 2007 at 17:17 UTC
    Hi Yes I have apache2 and I am running a Windows box theres no chmod +x, and I follow the instructions from these web site : http://www.thesitewizard.com/archive/addcgitoapache.shtml to make CGI work, yes I check the log files and nothing
      If you found nothing because there is nothing to find, then you can be sure that apache didn't try to run the file as a CGI script, but delivers it as plain text.

      Which means that there is no AddHandler cgi-script .pl directive active.

      You could try to post the relevant parts of your apache configuration file here, maybe somebody can tell you what went wrong.

      (Just to be sure, you restarted the web server after changing the config, right? and you access your pages via http://127.0.0.1/ ?)