Apache: Use Specific Applicaion for CGI scripts
- by RandomInsano
I have two servers, one in production and one for development.
The production server is Solaris, dev is FreeBSD. Because of this, python is installed in different directories.
I'm using Python right now for making CGI scripts, and needing to remember to swap my hashbangs when I copy from dev to production is a little annoying (Same issue for SVN updates depending on which server I'm comitting from).
Is there a way to configure apache so that I no longer need to hashbangs? Like, if it would lauch python and supply the CGI script for it? Might be a bit of a stretch, but no harm in asking