CGI scripts on a windows 2000 server

|
|
 sAMoO
|
|
Hello out there. Im having problems running cgi scripts on a prestwood hosted windows 2000 server no matter what the script it brings up the message 'd:\webs\ind186\cgi-bin\directory\index.cgi' script produced no output when it works fine on a unix server. Im thinking that i need the correct path to perl and i have no idea what that could be i called tech support and they said sure theyed help me (for 110 bucks an hour) (the pop3 e-mail doesnt work either) does anybody else out there have a windows hosted plan and is able to use cgi/perl scripts? please tell me what im doing wrong here
|
|
Posted 12 years ago (Thread Starter)
|
|
|
Location=USA,
Joined=13 years ago
MB Posts=1
|
| More... |
|
Inactive member.
Member does not subscribe to this thread.
|
Email Not Verified!
Once email is verified, we will review and approve the account.
|
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #4290, 1 reply
Thread Started 11/9/2001 10:15:00 AM
View Counter=2952
Last Reply Posted 3/25/2012 10:42:56 AM)
|
|
|
|
| |
Most Recent Post
|
|
 lowster11
|
On every CGI script at the top there is a path to Perl. It usually looks like this:
#!/usr/bin/perl
or
#!/usr/local/bin/perl
Normally, anything following '#' is considered to be a comment, but the first line in a script is the exception. Frequently, you will have to configure scripts in order to work on your server, especially those that write to files such as counters and guest books. It is important to understand the difference between URLs and server paths. A URL looks like the lines you type into your browser window:
http://www.domain.com
A server path tells the server where to find a file. You'll need to ask your ISP for the correct server path to your root directory. Subdirectories are added to this path. For instance, suppose your server path is
/usr/www/domain
Now let's say that you must put all your CGI scripts in a special subdirectory named 'cgi-bin'. The correct server path to your scripts would then be
/usr/www/domain/cgi-bin
|
|
Posted 14 months ago
|
|
|
Location=Carmichael, CA USA,
Joined=37 months ago
MB Posts=28
|
| More... |
|
lowster11
Carmichael, CA USA
Rank: Lieutenant-Junior Grade
Approved member.
Member subscribes to this thread with a verified email.
|
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
|
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #14833 (Level 2)
and Parent is 4290
Reply Posted 3/25/2012 10:11:17 AM
|
|
|
|
Revive Thread!
Add a comment to revive this old thread and make this archived thread more useful.
| Thread #4290 Counter |
| 2952 |
|
Since 4/2/2008
|
|
|