cucumber Posted September 21, 2008 Report Share Posted September 21, 2008 Konfiguracijas failos, zem ScriptAlias /cgi-bin/ "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/" pieliku savu ScriptAlias /cgi/ "C:/Program Files/Apache Software Foundation/Apache2.2/cgi/". Tani cgi folderi stav fails ar paplashinajumu .cgi un kodu \n"; print " \n"; print " Katalogs \n"; print " \n"; print substr($ENV{'PATH_INFO'},1); print " \n"; print " Prece \n"; print " "; print $ENV{'QUERY_STRING'}; print " \n"; print " \n"; print "\n"; print ""; 1; AddHandler cgi-script .cgi .pl esmu uzlicis shadu ieksh IfModule mime_module. Publiskaja direktorija stav tuksh index.html fails. Atverot localhost, paradas balta lapa, kapec tas cgi scripts neizpildas? Link to comment Share on other sites More sharing options...
rpr Posted September 22, 2008 Report Share Posted September 22, 2008 moshka nonjem to ifmodule parametru un pasties vai errorlogs neko nesaka. Link to comment Share on other sites More sharing options...
cucumber Posted September 22, 2008 Author Report Share Posted September 22, 2008 Ja pieprasijums tiek rakstits pa taisno http://127.0.0.1/cgi-bin/manaprogramma.exe, tad viss strada, ka var automatiski palaist sho programmu vai nav kas pie virtual server jaraksta? Link to comment Share on other sites More sharing options...
yuppio Posted September 22, 2008 Report Share Posted September 22, 2008 Jā, man arī tāds pats mājasdarbs :) Alias /cgi "C:/Program Files (x86)/Apache Software Foundation/superdev/cgi" <Directory "C:/Program Files (x86)/Apache Software Foundation/superdev/cgi"> Options FollowSymLinks ExecCGI SetHandler cgi-script Order allow,deny Allow from all </Directory> šādi man aizgāja, bet ar ScriptAlias arī dzīvu nedabūju :) Link to comment Share on other sites More sharing options...
cucumber Posted September 22, 2008 Author Report Share Posted September 22, 2008 to: yuppio <Directory>...</Directory> ir jaraksta ieprieksheja vieta, vai varbut divi directory? Link to comment Share on other sites More sharing options...
yuppio Posted September 22, 2008 Report Share Posted September 22, 2008 var būt divi. to <directory> jau var norādīt katram folderim pēc sirds patikas. Link to comment Share on other sites More sharing options...
Recommended Posts