Jump to content
php.lv forumi

Recommended Posts

Posted

Sveiki,

 

Problēma sekojoša, ka Apache man PNG failus nez kāpēc cenšas izpildīt kā CGI scriptus, to saprotu pēc error loga. Esmu pārlasījies Web apr Apache un kā konfigurēt httpd.conf krustu šķērsu, bet neatrodu vainu, kur ko novērst! Izmēģināju ar IIS un viss man strādā, nezkāpēc tas saprot, ka PNG ir bilde nevis CGI skripts.

 

Cik noprotu, tad kaut kur tajā pat konfig failā jānorāda, ka tāds tips jāuztver kā image un attiecīgi jāatver neves jācenšas izpildīt skripts. Tikai kur un kā.

 

paldies jau iepriekš,

Armands

Posted

Lai vai kaa... Kaads OS?

Man nekas taads nav gadijies! Pameegini taa pat uzstaadiit tikai uz cita kompja!

Posted

Man kaut kā liekas, ka defaultaijai konfigurācijai tādiem brīnumiem nevajadzētu notikt. Nobakupo konfigurācijas failu un pamēģini uzlikt defaulto.

Posted

jaa paguugleejot man arii neko neparaadiija par taadiem briinumiem! :D

 

tik tiesham parstadi labak configuracijas failu, ja neizdodas, ta visu apache!

Posted

tads izskataas log fails:

 

Thu Apr 19 18:36:22 2007] [error] [client 127.0.0.1] C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/dog.png is not executable; ensure interpreted scripts have "#!" first line

[Thu Apr 19 18:36:22 2007] [error] [client 127.0.0.1] (9)Bad file descriptor: don't know how to spawn child process: C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/dog.png

[Thu Apr 19 18:38:17 2007] [error] [client 127.0.0.1] C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/Water.jpg is not executable; ensure interpreted scripts have "#!" first line

[Thu Apr 19 18:38:17 2007] [error] [client 127.0.0.1] (9)Bad file descriptor: don't know how to spawn child process: C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/Water.jpg

Posted

[Thu Apr 19 18:38:17 2007] [error] [client 127.0.0.1] C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/Water.jpg is not executable; ensure interpreted scripts have "#!" first line

[Thu Apr 19 18:38:17 2007] [error] [client 127.0.0.1] (9)Bad file descriptor: don't know how to spawn child process: C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/Water.jpg

 

un kaapee uz jpg taa vinjs arii daraas?

Posted
[Thu Apr 19 18:38:17 2007] [error] [client 127.0.0.1] C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/Water.jpg is not executable; ensure interpreted scripts have "#!" first line

[Thu Apr 19 18:38:17 2007] [error] [client 127.0.0.1] (9)Bad file descriptor: don't know how to spawn child process: C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/Water.jpg

 

un kaapee uz jpg taa vinjs arii daraas?

 

a kurā folderī Tev tas Water.jpg un *png stāv? tiešām cgi-bin folderī? :) šādu efektu izdevās panākt, iemočījot bildes cgi-bin folderī. pamēģini bilžu vietā ielikt kādu html failu un paskatīties vai efekts nav tāds pats

Posted

lai vai kaa.. nemochii iekshaa cgi-bin folderii.. ieprieksh postojot nepamaniiju mapes adresi, tik pamaniju ka jpg ir ta pati proba! paskaties ko esi configaa noradijis ka web atrashanas mapi, uzliec kadu savu, un taja arii liec ieksha gan bildes, gan pashu majas lapu! :)

×
×
  • Create New...