I am using Apache v2.2 on Windows XP Professional. Web server works
fine. But if I try http://localhost/printenv.pl I get prompted to
download printenv.pl ???
I presume I need to somehow enable perl within Apache?
I have downloaded ActivePerl and it is working ok from the command
line.
Anyone know what I need to do to get it owkring in apache?
Angus
That is because the web server doesn't know what to do with your script
ending in .pl
>
> I presume I need to somehow enable perl within Apache?
>
> I have downloaded ActivePerl and it is working ok from the command
> line.
>
> Anyone know what I need to do to get it owkring in apache?
>
> Angus
Tell Apache that it can use .pl or change you script to end with .cgi
You could add this
AddHandler cgi-script .pl
in the <Directory> </Directory> of your httpd.conf file