Gossamer Forum
Home : Products : Links 2.0 : Installation -- Windows :

Path to perl on Windows 95 - admin.cgi won't work

Quote Reply
Path to perl on Windows 95 - admin.cgi won't work
I've been trying desparately to get a prototyping environment on my c drive on my PC, but everything I type in for the perl path, c:\perl\bin\perl.exe, with forwards and backwards slashes, even just a fake UNIX path, /perl/bin/perl doesn't work. I'm getting really mad! Please help me.

Thanks,
J.
Quote Reply
Re: Path to perl on Windows 95 - admin.cgi won't work In reply to
If perl.exe is located in c:\perl\bin, then the first line of each cgi script should be:

#!c:\perl\bin\perl

or

#!c:/perl/bin/perl
Quote Reply
Re: Path to perl on Windows 95 - admin.cgi won't work In reply to
This is also only important on Apache web servers. If you are using IIS, Xitami, Website, OmniHTTPd, then the first line of the perl script doesn't mean anything.

Cheers,

Alex
Quote Reply
Re: Path to perl on Windows 95 - admin.cgi won't work In reply to
You mean, I can ignore the first line of the script pointing to perl, since I'm running IIS?