Cgi Help
I have been trying to install a guestbook on F2s.com for 2 days now. I must be doing something wrong. I was wondering if anybody could help me.
my icq number is 123688819. email is [email protected]
if anyone can help me, leave their icq or aim name below so that i can contact u for help.
thanks
bryan
Mark Hensler posted this at 08:12 — 11th August 2001.
He has: 4,048 posts
Joined: Aug 2000
What's the problem?
If your getting any errors, let use know what they are.
Brykess posted this at 15:01 — 11th August 2001.
They have: 50 posts
Joined: Aug 2001
it says that it is forbidden.
This is the first cgi-script that i have ever tried to install. i just need someone to show me how to do it once and i should get it after that.
m0dulus posted this at 15:06 — 11th August 2001.
They have: 84 posts
Joined: Jun 2001
check your chmods.
Brykess posted this at 16:39 — 11th August 2001.
They have: 50 posts
Joined: Aug 2001
what chmod program do u use to chmod ur files
Warlord Khan posted this at 16:59 — 11th August 2001.
They have: 35 posts
Joined: Aug 2001
Brykess,
I run a site off f2s.com
If your using CuteFTP or another FTP program to upload you need to go into your main dir
ie:
YOURDOMAIN.f2s.com/
and create a folder called "cgi-bin" in which you need to place the proper files.
mairving posted this at 17:09 — 11th August 2001.
They have: 2,256 posts
Joined: Feb 2001
Most FTP programs give you chmod ability. If you are able to login via telnet/SSH to the shell, then you can chmod by chmod 755 filename
Here is the way that chmod works;
The mode of a file or directory dictates its permissions.
The mode is specified as an absolute value and is specified as nnn, where n is a number from 0 to 7. The mode may have any of following values:
Owner
100 Allow execution (delete) by owner.
200 Allow write by owner.
300 Allow write and execute by owner.
400 Allow read by owner.
500 Allow read and execute by owner.
600 Allow Read and write by owner.
700 Allow read, write, and execute/delete by owner.
Group
010 Allow execution (delete) by group.
020 Allow write by group.
030 Allow write and execute by group.
040 Allow read by group.
050 Allow read and execute by group.
060 Allow Read and write by group.
070 Allow read, write, and execute/delete by group.
Others
001 Allow execution (delete) by others.
002 Allow write by others.
003 Allow write and execute by others.
004 Allow read by others.
005 Allow read and execute by others.
006 Allow read and write by others.
007 Allow read, write, and execute/delete by others.
The first of the three numbers applies to the owner.
The second number applies to users that are in the same group as the owner. The third number applies to everyone else (aka people in a different group from the owner). The owner of a file or directory is usually the person that made that file/directory.
A value of 0 indicates NO permissions. 1 allows execute (delete). 2 allows write. 4 allows read. The values add together, so that 6 is 4+2, allowing read and write access...
So you have to think of users and groups. In the above example, I chmoded the filename 755. This means that:
Just never, ever chmod 777, since this means that anyone could have their way with this file. Be careful also who gets write priviledges.
Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states
merlin posted this at 10:04 — 13th August 2001.
They have: 410 posts
Joined: Oct 1999
hey thanks for this usefull table! now i get easily the right value 'till i know them by heart...
Brykess posted this at 02:27 — 14th August 2001.
They have: 50 posts
Joined: Aug 2001
Ok, thanks for your help.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.