[LINUX:15559] Re: Ynt: Re:

New Message Reply About this list Date view Thread view Subject view Author view

From: Gokcen Ogutcu (gokceno@biker.gen.tr)
Date: Mon 15 May 2000 - 09:43:43 EEST


selam,

arkadasin dedigi gibi shellde calistirirsaniz ve basindaki satira -w
eklerseniz hata mesajini daha rahat gorebilirsiniz..

#!/usr/bin/perl -w

gibi ve eger shellde script istediginiz sonucu basarsa o zaman geriye tek
birsey kalir oda headerin yanlis basiliyor olma ihtimalidir..
content-tpye text/html kisminin, orayi bir kontrol etmenizi oneririm.

gokcen
www.biker.gen.tr

----- Original Message -----
From: "Mehmet Ozdogan" <mehmet@emrebilgisayar.com.tr>
To: "Multiple recipients of list LINUX" <linux@listweb.bilkent.edu.tr>
Sent: 15 Mayis 2000 Pazartesi 09:02
Subject: [LINUX:15557] Ynt: Re:

> > > ikinci sorum su apache server calisirken bazi scriptler icin soyle
> bir
> > > hata mesaji cikiyor.Internal server error.
> > > logtan baktigimda apache soyle bir hata kaydi gecmis:
> > > premature end of script headers
> > >
> > > not:scriptte yazim hatasi olmasi zor cunku kitaptan aldim.
>
> Bu pek guvenilir degil, Kitap baski yapilirken yanlis yapilmis olunamazmi
> yani? :-) Bence Once CGI lari Apache ile degil tipki bir bash programiymis
> gibi calistirin...
>
> # ./script_adi
>
> eger hatali kodlar uretirse, Scriptte hata olabilir. Yok normal
calisiyorsa,
> #!/perl`in/yolunu/cgiin/basinda/mutlaka/belirtin ,
>
> Ve Scriptin calismasi icin gerekli olan PERMISSION lari kontrol edin.
>
> Yanlis anladi isem bilgilendirin...
>
> Saygi Sevgi Linux.
>
> Mehmet OZDOGAN
> Webadmin
> mehmet@emrebilgisayar.com.tr
> Emre Bilgisayar & Elektronik Sistemleri San Tic A.S.
>
>
>
>
> ----- Original Message -----
> From: Mustafa Akgul <akgul@Bilkent.EDU.TR>
> To: Multiple recipients of list LINUX <linux@listweb.bilkent.edu.tr>
> Sent: Sunday, May 14, 2000 9:18 PM
> Subject: [LINUX:15553] Re:
>
>
> > >
> > > > merhaba arkadaslar,
> > > > apache server icin soyle bir ayar mumkunmu.serverin cgi-bin
directory
> > > sinden
> > > > baska her user icin onlarin home directory sinde cgi-bin script
> > > > directory si acmak.tipki public_html de oldugu gibi.
> >
> > Mumkun ama, daha kolay bir yol var. .cgi olan dosyalarin calisabilmnsie
> > izin ver
> >
> > ExecCGI izni verirsen (her syede verebilrsin, her kullanicya
> > vercegine gore , yada <Diectory /*/public_html> ... </Directory>
> > kismind a ver, her kullanici cgi olarak calistirmakistedigi dosyalari
> > cgi soyadi ile calistirabilir.
> >
> > > > ikinci sorum su apache server calisirken bazi scriptler icin
soyle
> bir
> > > > hata mesaji cikiyor.Internal server error.
> > > > logtan baktigimda apache soyle bir hata kaydi gecmis:
> > > > premature end of script headers
> > > >
> > > > not:scriptte yazim hatasi olmasi zor cunku kitaptan aldim.
> > hata illee scriptde degildir, destek lib'lede sorun olabilir.
> > mumkunse once normal program olarak calistir.
> >
> > scripti gormeden senin ortamini bilmeden, bir sey soylemek biraz
> > falcilik olur.
> >
> > Saygilar
> > Mustafa Akgul
> >
> >
> >
> > Listeden cikmak icin:
> > unsub linux
> > mesajini listeci@bilkent.edu.tr'a gonderiniz.
> > Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin.
> > Liste arsivinin adresi: http://listweb.bilkent.edu.tr/
> >
>
>
>
> Listeden cikmak icin:
> unsub linux
> mesajini listeci@bilkent.edu.tr'a gonderiniz.
> Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin.
> Liste arsivinin adresi: http://listweb.bilkent.edu.tr/
>

 
 Listeden cikmak icin:
          unsub linux
 mesajini listeci@bilkent.edu.tr'a gonderiniz.
   Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin.
  Liste arsivinin adresi: http://listweb.bilkent.edu.tr/


New Message Reply About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon 15 May 2000 - 09:43:44 EEST