Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Garret 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.
-
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!
-
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.
-
No problem. If its any help, I have cgi-scripts working, but only in ibays; i.e. not in the primary cgi-bin directory.
-
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?
-
> 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
-
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!