IT SOLUTIONS
Your TECHNOLOGY partner! 
-Collapse +Expand
Owners
Search Owners Group:

Advanced
-Collapse +Expand Owners Group Home
-Collapse +Expand Message Board
-Collapse +Expand Owners KB
-Collapse +Expand Owners Store
PRESTWOODSTORE
-Collapse +Expand Members Only

Prestwood eMagazine

May Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyWebsite Owners BoardWWW Website Owners Topic     Print This   

CGI scripts on a windows 2000 server

CGI scripts on a windows 2000 server in WWW Website Owners topic (part of our Website Owners group).

Quick Search: scripts   windows   CGI scripts   CGI scripts 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)
Comment Quote
Location=USA,  Joined=13 years ago   MB Posts=1  
More... -Collapse +Expand
sAMoO
 (Inactive)
USA
Rank: Cadet 1st Year
Email Inactive E USA
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
Comment Quote
Location=Carmichael, CA USA,  Joined=37 months ago   MB Posts=28  
More... -Collapse +Expand
lowster11
Carmichael, CA USA
Rank: Lieutenant-Junior Grade
Email A E CA USA
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.

Write a Comment...
Full Editor
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post:

Enter your name and security key.

Your Name:
Today's security key = P224A
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #4290 Counter
2952
Since 4/2/2008
-
  Load Time=less than 1 second.
 
Print This
-
 
Have a question? Need our services? Contact us now.
--Mike Prestwood

Call: 916-726-5675

email: info@prestwood.com


894 People Online Now!!  
Online Now: Sign In to see who's online now!  Not a member? Join now. It's free!
Show More...


©1995-2013 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech