in reply to Re: Bad File Descriptor
in thread Bad File Descriptor
Thanks for the feedback. I had read that Windows does not require a Shebang line, but, while that was apparently true when I was running Apache 1.3 on a Windows 2003 Server it isn't the case with Apache 2.2 on Windows Server 2012, at least not the way my instances are or aren't configured. When the new server was set up and I tried to migrate and run the cgi programs that were on the old server nothing would run. After many inquiries and much research someone, similar to you, suggested the problem was the lack of a Shebang line and that that line had to include the exact path to the Perl executable, i.e. #!C:/Perl/bin/perl. Once I inserted that into the programs they all were recognized and perfectly executed. Thus, the reason I can't understand why, all of a sudden, I have two programs that aren't recognized and the constant message indicating the lack of #! Something is amiss. But what?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Bad File Descriptor
by afoken (Chancellor) on Oct 01, 2016 at 19:08 UTC | |
by Milti (Beadle) on Oct 03, 2016 at 16:22 UTC | |
by afoken (Chancellor) on Oct 06, 2016 at 05:50 UTC | |
by Anonymous Monk on Oct 06, 2016 at 06:24 UTC | |
|
Re^3: Bad File Descriptor
by choroba (Cardinal) on Oct 01, 2016 at 18:44 UTC | |
|
Re^3: Bad File Descriptor
by Marshall (Canon) on Oct 01, 2016 at 18:56 UTC | |
by Milti (Beadle) on Oct 03, 2016 at 16:29 UTC |