View Full Version : Installing cgi on host
henning
09-27-2000, 05:38 PM
Please help!! I am a novice on cgi and have a silly question. Recently I want to add a guestbook to my website. After checking on the net I have chosen Lars Ellingsen's Guestbook system free perl script which fits my purposes:-
http://www.stud.ntnu.no/~larsell/guestbook
After I downloaded the .zip files and unzipped it and then ftp the files to my web according to the instruction, I found that I do not know how to cdmod and set up the guestbook. Can anyone here help??
I have checked several cgi tutorial sites and books on cgi but none of them can solve my problem. Please help.
brobe
09-28-2000, 12:20 PM
Well, there are a couple of ways you can chmod the script.
I am assumming that you do not have Telnet access or you do not know how to use Telnet so I am going to explain the only other way I know how that is fairly simple.
Depending on your ftp client program...(the program you use to ftp your files to the server) ... some will allow selecting the files you wish to chmod and right clicking and choosing the chmod or it could be a menu option.
If your program does not do this then i would suggest downloading WS_FTP95 from http://www.download.com if you search for WS_FTP95 you should find it with ease.
In this program all you have to do is select the files you wish to chmod and right-click to bring up menu on the server's side and then choose Chmod ... you will then have to follow your Guestbook's instructions on which files to chmod a certain way.
Here are a few i can help you with right off the bat...this is only what is most common and may not be the case in all scenarios but:
.cgi and .pl files will normally be:
++ OWNER ++
Read
Write
Execute
++ GROUP ++
Read
Write
Execute
++ OTHER ++
Read
Execute
this is called a chmod of 775 ... to be more secure in the above scenario you would take the write out of the Group section thus making chmod 755
most text files and .dat files or anything that the script needs to write to will most likely be 777 which would contain Read Write Execute for all 3 of the above.
Hope this helps...
------------------
Brett Roberts
Programmer / Analyst
http://www.mp3-search-portal.com
[This message has been edited by brobe (edited 09-28-2000).]
henning
09-30-2000, 04:25 PM
Thank you, brobe...problem is resolved. Thank you very much.
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.