HOw to configure Apache for Windows e Linux
Posted: Sat Mar 07, 2009 5:42 pm
Hello,
I'm using newLisp to make a site :-) but the problem is I'm creating some CGI on my PC using Windows (and Apache) and I need to deploy and publish my CGI on a server using Linux.
So my "magic" string in Windows, to execute CGI is different from the one used in Linux:
LINUX: #!/usr/bin/env newlisp
WINDOWS: #!c:/program files/newlisp
How can I avoid to change initi strings in every CGI everytime I publish them?
(I'm using http://nearlyfreespeech.com)
Thank you foro your help!
I'm using newLisp to make a site :-) but the problem is I'm creating some CGI on my PC using Windows (and Apache) and I need to deploy and publish my CGI on a server using Linux.
So my "magic" string in Windows, to execute CGI is different from the one used in Linux:
LINUX: #!/usr/bin/env newlisp
WINDOWS: #!c:/program files/newlisp
How can I avoid to change initi strings in every CGI everytime I publish them?
(I'm using http://nearlyfreespeech.com)
Thank you foro your help!