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:
A little CGI help please
« previous
next »
+
Print
Pages: [
1
]
Go Down
A little CGI help please
6 Replies
860 Views
Garret
A little CGI help please
«
on:
July 14, 2000, 08:48:54 AM »
I'm working (or trying to) with CGI scripts on my e-smith server. A number of them are asking for meaning I would imagine the main html directory? Would this be /home/e-smith/files/primary/html? I keep running into errors and I think this is the cause. New to CGI's and trying to get a handle of sorts on it.
Much thanks in advance.
Logged
Mike Stoddart
RE: A little CGI help please
«
Reply #1 on:
July 14, 2000, 11:59:08 PM »
I think that depends on where the cgi files are stored. If they are in /home/e-smith/files/primary/cgi-bin then yes, I think /home/e-smith/files/primary/html is the correct html root. But if the cgi files are in /home/e-smith/files/ibays/mike/cgi-bin, then I presume the html root should /home/e-smith/files/ibays/mike/html.
I may be wrong!
Logged
Garret
RE: A little CGI help please
«
Reply #2 on:
July 15, 2000, 12:13:54 AM »
You and I are both on the same page then. Now I have to figure out why it's not all working. Looking back on the past postings it seems that CGI scripts have been an on going challange. I'll get more detailed info together now that I know where I'm headed. I'll post it soon. Thank you.
Logged
Mike Stoddart
RE: A little CGI help please
«
Reply #3 on:
July 15, 2000, 07:59:43 AM »
No problem. If its any help, I have cgi-scripts working, but only in ibays; i.e. not in the primary cgi-bin directory.
Logged
Garret
RE: A little CGI help please
«
Reply #4 on:
July 15, 2000, 09:39:37 AM »
I'm still having problems. I'm getting an internal server error. I think that it might have to do with me editing the scripts on a windows machine and uploading to linux. I read that can cause problems. Do you no anything about that?
Logged
stephen noble
RE: A little CGI help please
«
Reply #5 on:
July 15, 2000, 03:58:28 PM »
> editing the
> scripts on a windows machine and uploading to linux. I read
> that can cause problems. Do you no anything about that?
you can edit on a windows machine provide you save in unix format
textpad or notetab can do this
Logged
Mike Stoddart
RE: A little CGI help please
«
Reply #6 on:
July 15, 2000, 11:52:13 PM »
I might be wrong, but try editing the file in Unix using vi, then modify it somehow (e.g. add a blank line), then save it and exit from vi. That *might* work, but dont quote me on that!
Logged
+
Print
Pages: [
1
]
Go Up
« previous
next »
Koozali.org: home of the SME Server
Legacy Forums
General Discussion (Legacy)
Topic:
A little CGI help please