> Now, I placed a file called host.pl, in the cgi-bin folder > > but when I invoke http://127.0.0.1/cgi-bin/host.pl > My browser tries to download this file. > > But I expected Apache/ or Perl to have executed this script.
Maybe you're missing some entries in your apache configuration: You need to specify that perl files should be executed as cgi-script by adding/modifying the entry AddHandler cgi-script .cgi .pl Furthermore, the directory in which your script is located need to have the ExecCGI option, e.g. <Directory "D:/web/perl"> Options +ExecCGI [.. some more stuff ..] </Director> HTH, Philipp -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>