lizard Posted October 18, 2006 Report Share Posted October 18, 2006 Sveiki tautieshi! Lieta tada uzliku lighttpd un megjinu uzlikt vinjam php atbalstu, bet nekas nesanak, man vinsh tos php failus vienkarshi ka4a nost no servera :( Parlasiju visu razhotaja majaslapu http://trac.lighttpd.net/trac/ visu uizlasiju! Kr4 njemos jau 5h un nekas nesanak nolemu nospljauties un iet gulet, bet rit ta tikunta jautaisa! Tadelj kads varbu var kko ieteikt, vai step by step uzrakstit ka to php piebazt. Uz servera man stav freebsd un tur ir speciali vinjam aprakstits bet visu izdarot ka raktits nekas nestrada! Varetu aprakstit ka es visu dariju, bet es jau vairs neatceros ko pa shitam 5 h esu vai nesu sadarijis, un vai tam bus jega? Varbut tiesham akds kas ir licis sho webserveri var uztakstit ka vinsh to darija. Respekteju jusu palidzibu lizard Link to comment Share on other sites More sharing options...
bubu Posted October 18, 2006 Report Share Posted October 18, 2006 Nu nez, nez.. cik atceros lighttpd mājaslapā ļoti vienkārši bija uzrakstīts kā to panāk. Man ar pirmo reizi sanāca :) Lai nu kā, še mans lighttpd config fails (slinkums viņu lapā rtfm tev meklēt): server.modules = ( "mod_access", "mod_accesslog", "mod_cgi" ) server.document-root = "D:/Progr/_/php/" server.errorlog = "C:/lighttpd/logs/lighttpd.error.log" index-file.names = ( "index.php", "index.html", "index.htm" ) mimetype.assign = ( ".gif" => "image/gif", ".jpg" => "image/jpeg", ".jpeg" => "image/jpeg", ".png" => "image/png", ".css" => "text/css", ".html" => "text/html", ".js" => "text/javascript", ".txt" => "text/plain", ".xml" => "text/xml", ) server.tag = "lighttpd/1.4.11 (Win32)" accesslog.filename = "C:/lighttpd/logs/access.log" url.access-deny = ( "~", ".inc" ) static-file.exclude-extensions = ( ".php" ) server.port = 80 server.bind = "" cgi.assign = ( ".php" => "c:/lighttpd/php/php-cgi.exe" ) Ar FastCGI arī nebija problēmu, kad lighttpd darbināju zem linukša. Te configs no tā: server.document-root = "/var/www/htdocs/" server.errorlog = "/var/log/lighttpd.error.log" server.port = 80 server.pid-file = "/var/run/lighttpd.pid" server.username = "webdev" server.groupname = "webdev" server.modules = ( "mod_access", "mod_accesslog", "mod_fastcgi" ) server.dir-listing = "enable" mimetype.assign = ( ".html" => "text/html", ".xml" => "text/xml", ".txt" => "text/plain", ".jpg" => "image/jpeg", ".png" => "image/png" ) accesslog.filename = "/var/log/lighttpd.access.log" url.access-deny = ( "~", ".inc" ) index-file.names = ( "index.php", "index.html" ) fastcgi.server = ( ".php" => (( "socket" => "/tmp/php5-fcgi.socket", "bin-path" => "/usr/local/bin/php -c /etc/lighttpd/php.ini", "bin-environment" => ( "PHP_FCGI_CHILDREN" => "5", "PHP_FCGI_MAX_REQUESTS" => "100" ) ))) P.S. Negarantēju, ka šitais ir 100% sekjūrs configs.. Tā ka labāk domā ar savu galvu ar! Link to comment Share on other sites More sharing options...
lizard Posted October 18, 2006 Author Report Share Posted October 18, 2006 (edited) rit paproveshu shodien jaiet gulet, paldies :) Edited October 18, 2006 by lizard Link to comment Share on other sites More sharing options...
lizard Posted October 19, 2006 Author Report Share Posted October 19, 2006 (edited) Problema, php faili strada bet bittorent trakera vieta rada baltu bildi! Edited October 19, 2006 by lizard Link to comment Share on other sites More sharing options...
andrisp Posted October 19, 2006 Report Share Posted October 19, 2006 (edited) "ieslēdz" php konfigurācijā, lai rāda visus errorus. Edited October 19, 2006 by andrisp Link to comment Share on other sites More sharing options...
Kristabs Posted October 19, 2006 Report Share Posted October 19, 2006 tam trakerim nav izpildei nepieciešam .htaccess ? Link to comment Share on other sites More sharing options...
lizard Posted October 20, 2006 Author Report Share Posted October 20, 2006 Jaunajam trakeru sourcem ir nepiecieshams, bet es lietoju vienu n pirmajam sourcem kurai shis shtrunts nav nepiecieshams! Uz apacha ta viss bez vinja strada! Megjinu sho problemu pats atrisinat bet nekas nesanak! trakera foruma ir lidziga problema apspriesta bet atrisinajums tur ir pilniba atshkjirigs un kam nav nekada sakara ar webserveri! Visticiamak problema ir php.ini faila funkcijas! tur jaiesledz vai jaisledz kadas opcijas! Pats php stukturu svaki parzinu tadelj nekas man nesanaca! Lieta tada ka ar ie rada baltu lapu firefoxa rada "" varbut tas kko var jums palidzet saprast kur problema! Link to comment Share on other sites More sharing options...
andrisp Posted October 20, 2006 Report Share Posted October 20, 2006 Tu error reportēšanu ieslēdzi ? Link to comment Share on other sites More sharing options...
lizard Posted October 20, 2006 Author Report Share Posted October 20, 2006 Jap ir ieslegts! Es domaju ka tur nav ieksha kkada funkcija ieslegta vai atslegta kas neljauj bittorent trakerim veigsmigi stradat! Link to comment Share on other sites More sharing options...
andrisp Posted October 20, 2006 Report Share Posted October 20, 2006 Nu man vairāk liekas, ka šādā gadijumā kautkādai kļūdai vajadzētu parādīties. Varbūt pārbaudi vai vispār strādā error reporting. Link to comment Share on other sites More sharing options...
lizard Posted October 20, 2006 Author Report Share Posted October 20, 2006 yup parbaudiju, shitas ir tiesham mistisks prikols! viss strada iznjemot trakera source neiet! Link to comment Share on other sites More sharing options...
andrisp Posted October 20, 2006 Report Share Posted October 20, 2006 Tad varbū papēti no kurienes un kāpēc nāk  simboli. Liekas, ka tās varētu būt arī kautkādas enkodinga problēmas. Link to comment Share on other sites More sharing options...
bubu Posted October 20, 2006 Report Share Posted October 20, 2006 Es neticu, ka šim ir ieslēgts error reportings. Ja nu vienīgais trakera source ir līka un satur vienu vienīgu rindiņu - die(); Link to comment Share on other sites More sharing options...
lizard Posted October 20, 2006 Author Report Share Posted October 20, 2006 Nu ir! Rekur es speciali faila pieljavu kljudu un uzreiz rada eroru! Parse error: syntax error, unexpected T_VARIABLE in /usr/home/www/outlaw2/index11.php on line 38 a trakerim rada baltu lapu! Uz Ie tikai baltu lapu uz FF 2 kjeburi! Runaju ar vienu citu cilveku vinjam tieshi shada apti bija problema, un vinsh netika gala vispar! tur ir kkads specifisks prikols kas vienk nesaprot rakera source un rada baltu lapeli! Link to comment Share on other sites More sharing options...
andrisp Posted October 20, 2006 Report Share Posted October 20, 2006 Paņem index.php failu un sāc bāzt visur iekšā echo 'Šitik tālu tiekam'; Visticamāk jau, protams, ka pati vaina nav index.php failā, bet gan kādā no inkludotajiem (tas, protams, atkarīgs no tā trackera struktūras). Kad tiec līdz vietai, kur vairs echo mistiski negrib darboties, tad skaties, kas par kodu ir pirms viņa. Iespējams, ka tas arī būs tas lielais grāvējs. Link to comment Share on other sites More sharing options...
Recommended Posts