PDA

View Full Version : i am ready to cry


doitallman
2-4-02, 07:57 PM
I have tryed evry thing i know to get the guestbook up on my cgi-bin. I try to upload it from the recommended perl script editor. it tells me socket error. what am i supposed to put in the ftp upload box for host name. And could someone tell me more about 755 does that automatically take place when selected. I need some step by step. Not dumb just green. Please

SimCoWeb
2-4-02, 08:20 PM
Ok, let's get busy and solve this for you.

First, your 'host' for the FTP program log on is the name of the Powweb server your site is located on. An example would be:

neptune.powweb.com
pluto.powweb.com
venus.powweb.com

This information should have come to you in an email when you set up your account. If not, log in to your Ops area and see the info on your account.

Second, the '755' refers to the permissions that you have to set to allow the script to operate.

Read = 4
Write = 2
Execute = 1

These permissions are set for the owner, group, and other (or all). So a 7-5-5 setting would be as follows:

Owner Group Other
4 4 4
2
1 1 1

Adding them up top to bottom in their respective columns would equal 7 -5 -5 . This setting give the 'owner' all rights, the group and other have the right to 'read' and 'exectute' the program.

The permissions are set using your FTP program. Once you log in, double click on your /cgi-bin directory. This is where you will place the script. You may also wish to create a 'sub-directory' for the guestbook inside your cgi-bin to keep things organized. If you're using WSFTP then you would simply click on the 'MKDIR' (make directory) button on the right. Call the new directory 'guest'. Then, with your mouse, click on the new directory once to highliht it, then right click and a menu comes down. Slide down to the 'chmod' selection and a little box pops up that has the grid like I outlined above. Select the appropriate boxes to set the permissions on the new folder you just created to 755.

Once you've done that, double click on the new folder to open it. should be blank inside that folder. Now upload your script to this location. Chmod it to 755.

Make SURE you have opened up the script text file and that the first line at the top is:

#!/usr/bin/perl

or it won't work. Not knowing what guestbook program you're trying to run, I can't say if there's other parameters that need to be set as well.

For a cool and free guestbook get Active Guestbook:

www.active-scripts.net

esccanada
2-4-02, 10:42 PM
Actually *S*, Powweb made upgrades and everyone should be able to use ftp.domainname.tld

i.e.

ftp.simcoweb.com