Toggle navigation
Koozali.org: home of the SME Server
Community
Forums
Bugs
Lists
Forum Help
Download
SME Server ISOs
Contribs
Documentation
Manual
Wiki
FAQ
HowTo
Donate
Search
Login
Register
Login
Register
×
Close
Login
Remember me
Koozali.org: home of the SME Server
Legacy Forums
General Discussion (Legacy)
Topic:
cgi-scripts
« previous
next »
+
Print
Pages: [
1
]
Go Down
cgi-scripts
7 Replies
1221 Views
Andre Bos
cgi-scripts
«
on:
June 25, 2000, 12:13:33 PM »
With the primary website, i try to use a forum script. Namely from beholder. I am having lot's of trouble figuring out the chmod's and the ownership rights...
In short, it will just not work....
Are their any special things with the cgi-bin of e-smith that i should be aware of? I am using the latest beta version of e-smith,.
Andre
Logged
Alex Henriksen
RE: cgi-scripts
«
Reply #1 on:
June 25, 2000, 11:11:12 PM »
I have try over 20 Perl & CGI script, i can't get no one to work..!!!
This Topic have been on this board many times..
So, Linux/RH SuperUsers, HELP US with this problem, Please..!!
I need a small counter to my Site...
Logged
Brian
RE: cgi-scripts
«
Reply #2 on:
June 26, 2000, 06:58:47 PM »
Hey guys, I'm very interested in getting this resolved too. What versions are you using? What editors are you using to create the scripts?
brian
Logged
Doug P.
RE: cgi-scripts
«
Reply #3 on:
June 27, 2000, 11:12:23 PM »
I'm not a Linux or CGI "SuperUser", but try these articals (I just found them today).
Learning CGI for Apache Part 1
http://www.geeks404.com/programming/articles/prog.061500.cgiapache1.php
Learning CGI for Apache Part 2
http://www.geeks404.com/programming/articles/prog.062100.cgiapache2.php
Uploading CGI's
http://www.geeks404.com/programming/articles/prog.052300.uploading_cgi.php
There is a counter program and many others at:
http://www.kastle.net/products
And more tutorials 'n stuff at:
http://www.useforesite.com/tutorials.shtml
Hope this helps a little!!
Doug P.
Logged
Tim Litwiller
RE: cgi-scripts
«
Reply #4 on:
July 05, 2000, 12:59:51 PM »
if you are needing the script to work for the main site, not an ibay, put the script in /home/e-smith/files/primary/cgi-bin
then do a chmod a+x on them, you will get to them from
http://my.e-smith.box/cgi-bin/myscript
in an ibay put them in the proper cgi-bin for that ibay
/home/e-smith/files/ibays/myibay/cgi-bin
and address them from that ibay
http://my.e-smith.box/myibay/cgi-bin/myscript
Logged
Alex Henriksen
RE: cgi-scripts
«
Reply #5 on:
July 06, 2000, 02:16:35 AM »
Tim Litwiller wrote:
> if you are needing the script to work for the main site, not an
> ibay, put the script in /home/e-smith/files/primary/cgi-bin
> then do a chmod a+x on them, you will get to them from
>
http://my.e-smith.box/cgi-bin/myscript
Just try it, does not work here.???
Logged
Brian
RE: cgi-scripts
«
Reply #6 on:
July 06, 2000, 09:33:49 PM »
The basic steps should be just to simply move the desired script into your cgi-bin and then chmod 755 "script-name". One problem I had was with how I created the script in the first place. I created it in notepad and then dragged the script into the primary cgi-bin from windows filesharing. Then I went into the server itself and changed the permissions as I stated above. But I still had problems. To make it work I had to change the file format of the script because it was still in DOS format rather than unix. To do this I used the vi editor in the e-smith server. There might be easier ways to do this but this how I did it. For vi novices, here are some steps, but you might want to research an easier method: commands are in quotes.
0) go into the directory containing the script
1) type "vi script-name"
2) now press the escape key and then ":" (yes...very odd)
3) now type "set fileformat=unix"
4) repeat step 2
5) type "wq!" and hit enter and you should have left the editor
I hope this is relevant.
good luck
brian
Logged
Mike J
RE: cgi-scripts
«
Reply #7 on:
September 14, 2000, 10:52:15 AM »
Brian - tried your solution using vi to set the fileformat, and voila! it worked.
Thank you, you just ended a couple hours of fruitless head banging!
Logged
+
Print
Pages: [
1
]
Go Up
« previous
next »
Koozali.org: home of the SME Server
Legacy Forums
General Discussion (Legacy)
Topic:
cgi-scripts