I am using a local setup with native Windows versions of Apache and Perl, in order to work on web sites locally, which I then upload to my Unix web host. It is working fine, but there is one last thing to solve.
I am using some files with .cgi extension (in the setup of my web host, these can sit anywhere, no cgi-bin directory is used), which happen to be Perl scripts (all of them).
Obviously it won't work "out of the box", since the #! line needed on my Unix host won't help Windows Apache to find Windows Perl.
So what I was thinking to do was to instruct Windows Apache (local) to treat all .cgi scripts as Perl scripts. Had no luck doing this so far, though.
Could anyone tell me the necessary and sufficient changes to be done in httpd.conf to achieve that result (OR possibly provide another route to solve the same problem)?
PS: FYI, I am using the Apache2Triad pack, pretty much out of the box (this is a packing of Windows Apache, and supporting Windows native software).