in reply to Running Perl CGI scripts with Cygwin

... cygwin for CGI ...

no cygwin required, all you need is a webserver, Re: To call a .pl file when a button is pressed on a GUI created using Perl CGI (webserver), Re: To call a .pl file when a button is pressed on a GUI created using Perl CGI

  • Comment on Re: Running Perl CGI scripts with Cygwin (no cygwin)

Replies are listed 'Best First'.
Re^2: Running Perl CGI scripts with Cygwin (no cygwin)
by JohnTabor (Novice) on Oct 08, 2013 at 02:30 UTC

    The problem is I tried using Apache to do this to make a local web server (localhost). The server works fine with PHP but when I try and put the cgi perl files into the cgi-bin, I can't figure out how to run them because the /localhost directory that pops up when I enter localhost doesnt include files from the cgi-bin that are available to run.

      because the /localhost directory that pops up when I enter localhost doesnt include files from the cgi-bin that are available to run

      It doesn't work that way. The contents of cgi-bin directory is not supposed to be displayed. You have to know what to ask the web server for, when you want to run a cgi programme.

      Cheers, Sören

      Créateur des bugs mobiles - let loose once, run everywhere.
      (hooked on the Perl Programming language)

      The problem ...

      And then what happened? Read the links, find your answer, or something else, bye