Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Roosevelt on August 20, 2001, 06:16:17 AM
-
I cannot run cgi script on my e-smith server I've looked at all posted questions and answers but for some reason I cannot run a cgi script. when I click the submit button on the and it pulls up the text of the script. when i try to access it from the web i get a 403 forbidden error i used the path /home/e-smith/primary/files/cgi-bin/nameoffile.cgi and I created an ibay and did the same making the necessary changes I dont know if i have to change something or what i use the #!! symbol at the beginning of the perl script i really need some help any assistance would be greatly appreciated thank you
-
Still no help is there something that im doing wrong or what
-
ok a couple things,
first: it you are putting the cgi script in the /file directory? I don't think that directory is set up to run cgi scripts.
put them in /home/primary/cgi-bin/yourscript.cgi
second: the path to perl is /usr/bin/perl
and finally make sure you have the correct permissions set on the script.
often times perl scripts require 755 to run
chmod 755 yourscript.cgi
hope that helps.
-
Roosevelt, did you get resolution with your script problem?
Roosevelt wrote:
>
> I cannot run cgi script on my e-smith server I've looked at
> all posted questions and answers but for some reason I cannot
> run a cgi script. when I click the submit button on the and
> it pulls up the text of the script. when i try to access it
> from the web i get a 403 forbidden error i used the path
> /home/e-smith/primary/files/cgi-bin/nameoffile.cgi and I
> created an ibay and did the same making the necessary changes
> I dont know if i have to change something or what i use the
> #!! symbol at the beginning of the perl script i really need
> some help any assistance would be greatly appreciated thank you
-
no i didnt get a resolution to my problem although I appreciate the help from greg martin it did not resolve my problem
-
I can't get this to work either....
But I'm a total Linux numptie! If anyone would like to hold my hand I would be most grateful.
-
I can't get this to work either....
But I'm a total Linux numptie! If anyone would like to hold my hand I would be most grateful.