Hi Philipp,

Thanks a lot. It works.

As you could make out, I am nascent to Apache. So It was really useful.

Be prepared for more of this kind.

Regards,

Sumanth



===============================================
"Philipp Traeder" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > 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>


Reply via email to