FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.

FutureQuest, Inc.
Go Back   FutureQuest Community > General Site Owner Support (All may read/respond) > General Coding/Development
User Name
Password  Lost PW

Reply
 
Thread Tools Search this Thread Display Modes
Old 12-13-1999, 11:33 AM   Postid: 18400
Strice
Site Owner
 
Strice's Avatar

Forum Notability:
26 pts: User-friendly
[Post Feedback]
 
Join Date: Aug 1999
Location: Nashville, TN, USA
Posts: 159
Beginner in Perl/CGI

Did I mention I was a beginner at this?

I am learning Perl5, and thought I'd try a test script. Well shock, I can't get the sucker to work. Simple, easy thing:


Code Sample:

#!/usr/local/bin/perl

#===============================
# Testing CGI script installation
# Copyright 1999, Emmie P. Lewis
# Created 07/24/99
#===============================
# This script is designed to test
# CGI script installation
#===============================

print "Content-type: text/plain", "\n\n";

print "Yippee! It works!";




I've put this in the cgi-bin directory in my root directory, right? i.e.:
/big/dom/xchainmailconnection/cgi-bin
And to access it, I try using the url:
http://www.chainmailconnection.com/test.cgi
But when I try that, I get a 404 error. I know the case is correct, and I chmod'ed it to 755. What am I doing wrong??

--Sara
Strice is offline   Reply With Quote
Old 12-13-1999, 11:48 AM   Postid: 18401
Bartoni
Registered User

Forum Notability:
0 pts: Even-handed
[Post Feedback]
 
Join Date: Nov 1999
Posts: 54
I think you need to access it from
http://www.chainmailconnection.com/cgi-bin/test.cgi

(cgi-bin missing?)
Bartoni is offline   Reply With Quote
Old 12-13-1999, 11:50 AM   Postid: 18402
Strice
Site Owner
 
Strice's Avatar

Forum Notability:
26 pts: User-friendly
[Post Feedback]
 
Join Date: Aug 1999
Location: Nashville, TN, USA
Posts: 159
Duh.
I mentioned I was a beginner, right? :þ

Thanks for the tip.
--Sara
Strice is offline   Reply With Quote
Old 12-13-1999, 04:19 PM   Postid: 18403
 Deb
FutureQuest, Inc.
 
Deb's Avatar
 
Join Date: Jun 1998
Location: Franktown Colorado
Posts: 6,781
I dunno Bartoni, my 'beginner's script' said

print "Hello World!";

Had I so much as typed

print "Hello People!";

I would have thought that was the problem

I take code examples waaaayyyy too seriously and it really blows the idea of creative examples :þ

Deb
 --
 Still a beginner
Deb is offline   Reply With Quote
Old 12-13-1999, 04:23 PM   Postid: 18404
Strice
Site Owner
 
Strice's Avatar

Forum Notability:
26 pts: User-friendly
[Post Feedback]
 
Join Date: Aug 1999
Location: Nashville, TN, USA
Posts: 159
Well I'm glad I'm not the only beginner. I've been using computers since I-don't-want-to-think-how-long-it's-been, but this programming stuff is pretty new. And talking to guys that have been programming in anything for a while makes me feel like I'm a leaf on a Nascar track. Vroom!

--ST
Strice is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 visitors)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 12:34 PM.


Running on vBulletin®
Copyright © 2000 - 2013, Jelsoft Enterprises Ltd.
Hosted & Administrated by FutureQuest, Inc.
Images & content copyright © 1998-2013 FutureQuest, Inc.
FutureQuest, Inc.