Apache: Use Specific Applicaion for CGI scripts
Posted
by RandomInsano
on Server Fault
See other posts from Server Fault
or by RandomInsano
Published on 2010-03-12T22:58:04Z
Indexed on
2010/03/12
23:07 UTC
Read the original article
Hit count: 287
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
© Server Fault or respective owner