Grey_Wolf Posted July 20, 2009 Report Share Posted July 20, 2009 Taa kaa nesmu SysAdmins, bet gan Programmers, tad jautaajums shaads : Kaa var aizliegt rakstii acce.log failaa konkretas IP ( localhostu un savejo ), citreiz vajag redzet kad klients skatijies, bet Localas druumi traucee , gruuti atrast parejas ) Serveris : Apache: 2.2 OS: win XP --- Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted July 20, 2009 Report Share Posted July 20, 2009 Varētu kaut kā šitā: SetEnvIf REMOTE_ADDR "127.0.0.1" dontlog SetEnvIf REMOTE_ADDR "197.111.231.212" dontlog CustomLog /home/gg/log/httpd-access.log combined env=!dontlog Quote Link to comment Share on other sites More sharing options...
Grey_Wolf Posted July 21, 2009 Author Report Share Posted July 21, 2009 hmm.. domaa laba , bet diemzeel nenostraadaaja :( Varbuut uz citas OS ( citaa Apache kompelacijaa ) shamais aizietu ... Quote Link to comment Share on other sites More sharing options...
nemec Posted July 21, 2009 Report Share Posted July 21, 2009 varbūt labak visu logot, un pēc tam ar tail comandu: tail -f access.log | grep -v "127.0.0.1" | grep -v "vai jebkāds nevēlams strings, piemēram MSIE" Quote Link to comment Share on other sites More sharing options...
marrtins Posted July 21, 2009 Report Share Posted July 21, 2009 Kā var nenostrādāt? Es tieši tāpat daru, tikai bez REMOTE_ADDR, pat env variablis saucas dontlog :D Varbūt nestrādā, jo 1) vajag Remote_Addr? 2) mod_setenvif ir disablēts? http://httpd.apache.org/docs/2.2/mod/mod_setenvif.html Grey_Wolf, Tu taču šeit ļoti bieži apgrozies, bet lieto "a man nestrādā" tipa frāzes... :( Kas nestrādā? Kur nestrādā? Ko logfailos raksta? Ko izdod browseris? Quote Link to comment Share on other sites More sharing options...
Grey_Wolf Posted July 22, 2009 Author Report Share Posted July 22, 2009 Grey_Wolf, Tu taču šeit ļoti bieži apgrozies, bet lieto "a man nestrādā" tipa frāzes... :( Kas nestrādā? Kur nestrādā? Ko logfailos raksta? Ko izdod browseris? Kaads sakars Apache logiem ar brwseri ?? Nestraada tas noziime ka turpina veidot logus uz doto adresi ... Logfailos standarts ( kaa ieprieksh) , tb nekaadu izmainju Eroori pie restarta arii neparaadas.. tb nekads info --- // 2) mod_setenvif ir disablēts? // HVZ :( Es atrumaa iemetu taas rindinjas konfigaa ( itkaa atbilstoshaa vietaa & pielaboju celju uz log failu ).. bet pat errori neizmetas.. NULL reakcijs.. Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted July 22, 2009 Report Share Posted July 22, 2009 Kontroljautājums: "Did you try turning it off and on again?" :) Vai Apaci pēc .conf faila mainīšanas pārstartēji? :) Quote Link to comment Share on other sites More sharing options...
marrtins Posted July 22, 2009 Report Share Posted July 22, 2009 Kaads sakars Apache logiem ar brwseri ?? Nu, piemēram, 500 Internal server error // 2) mod_setenvif ir disablēts? // HVZ :( httpd -M | grep setenvif Ja nav, tad konfigā: LoadModule setenvif_module modules/mod_setenvif.so Apache 1.3 nedaudz savādākas komandas. Quote Link to comment Share on other sites More sharing options...
Grey_Wolf Posted July 23, 2009 Author Report Share Posted July 23, 2009 Kontroljautājums: "Did you try turning it off and on again?" :) Protams :) Tik nezinosh jau neesmu :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.