In article >, writes:
> adott egy onallo, halozatra nem kotott gep,
> amin Xitami webszerver fut, feltelepitve a perl
> interpreter, utana lefuttatva a config.pl
> autoexecben a path-hoz is hozzaadva.
>
> a http://127.0.0.1 -en, ami a
> c:\xitami\webpages mappa van egy
> valami.pl nevu perl script, es egy html lapon a
> submithez hozza van rendelve a
> http://127.0.0.1/valami.pl
>
> hibauzenet:
> Bad request: probably tried to POST a non-executable URL
> / err. 400 /
>
> ugy ertelmeztem, hogy a valami.pl -t nem tudja futtatni.
> nosza, egy scriptet irok, a chmod-dal
>
> my $file = "valami.pl";
> chmod(7777, $file) or warn "chmod(7777, $file) nem sikerult: $!";
>
> script hibamentesen lefut, a non-executable URL uzenet marad
>
> mi a fenet nem allitottam meg be?
Kedves Tamas!
A script elejen a #! utan jol van beallitva a Perl interpreter binaris helye?
Udv
ifj. Petri Andras
|
On Mon, Jul 07, 2003 at 01:07:10AM +0000, wrote:
>
> my $file = "valami.pl";
> chmod(7777, $file) or warn "chmod(7777, $file) nem sikerult: $!";
chmod(0777, $file);
bit,
adam
--
1024D/37B8D989 954B 998A E5F5 BA2A 3622 82DD 54C2 843D 37B8 D989
finger: | Some days, my soul's confined
http://www.keyserver.net | And out of mind
Sleep forever
|