in reply to shebang line for Perl scripts under Apache/Windows

"Somebody mentioned on the Chatterbox that I might be using an extra SetHandler in Apache's configuration file, bypassing Windows' file association, but that's all he said about it. Anybody know if/how that would work? Or of any other alternatives?"

Not SetHandler (unless you want to do it for specific location/directory) but AddHandler, should do the trick. Try something like this in your apache config file:
AddHandler cgi-script .cgi
This directive is only available with mod_mime (which is installed by default) and can work globally, or inside of a Location/Directory. You can read this for more information.

Replies are listed 'Best First'.
Re^2: shebang line for Perl scripts under Apache/Windows
by BUU (Prior) on Jan 12, 2005 at 19:21 UTC
    Unless I'm badly mistaken, that won't solve the stated problem, as the handler cgi-script uses checkes the file's shebang to determine which script to execute. Which is the whole problem =]