Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: JeeAre on November 12, 2001, 10:13:54 PM
-
HI
i have install the SME 5 Software on a 233 MMX Pentuim with 192 MB ram,
It works promptly ;)
But i have upload an cgi file an set permission of this on 755.
I start the file with http://domain/cgi-bin/file.cgi and i became a Internal Server Error
I look @ the error Log from apache and i see :
[Sat Nov 10 17:05:34 2001] [error] [client 192.168.0.2] script not found or unable to stat: /home/e-smith/files/primary/cgi-bin/counter.cgi
[Sat Nov 10 17:06:21 2001] [error] (2)No such file or directory: exec of /home/e-smith/files/primary/cgi-bin/counter.cgi failed
Anyone a idea ?
thx JeeAre
-
check your upper and lower case to see if that helps. If its a simple script you can send it to me and I will try it on my server.
Sage
-
i have check this and the script does not running.
i have the same problem @ e-smith 4.1.2
i will work with cgi i can send this script but then this not work, work other scripts ?
script:
#!/usr/local/bin/perl
open (HTML, "<../ganzunten.htm");
while() { $HTML .= $_; }
close(HTML);
open (COUNTER, "$counter = ;
close (COUNTER);
$counter++;
open (COUNTER, ">counter.dat");
print COUNTER $counter;
close (COUNTER);
$HTML =~ s/\/$counter/g;
print "Content-type: text/html\n\n";
print $HTML;
the html file is in the document root and the dat file in the cgi-bin
dat file permission is read,write by others
then i take the script local of e-smith it count 1 high and get me the html file complete.
but in http it works not
anyone idea ?
thx JeeAre
-
1 simple fix that I noticed will make it work.
chmod 775 [the files you want.]
-
i have set this permission i get an 403 http error
you havnt the right permission i was set it back to 755 and now i get the right not an 500 internal error but a 403 ?!?
what have i do ? :P
thx JeeAre