<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>vGrup  Blog &#187; Apache</title>
	<atom:link href="http://www.vgrup.com/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vgrup.com</link>
	<description>Vgrup for Geek and Robot Unix Party</description>
	<lastBuildDate>Thu, 24 Nov 2011 13:24:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Apache için basit bir log viewer</title>
		<link>http://www.vgrup.com/2010/02/18/apache-icin-basit-bir-log-viewer/</link>
		<comments>http://www.vgrup.com/2010/02/18/apache-icin-basit-bir-log-viewer/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 13:50:19 +0000</pubDate>
		<dc:creator>myownshadow</dc:creator>
				<category><![CDATA[Yazılım]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[changelog]]></category>
		<category><![CDATA[log viewer]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[zenity]]></category>

		<guid isPermaLink="false">http://www.vgrup.com/?p=250</guid>
		<description><![CDATA[#!/bin/bash if [ ! -f /tmp/logcopy ] then echo "first run, copying log file" cp /var/log/apache2/access.log /tmp/logcopy fi oldfilehash=`md5sum /tmp/logcopy &#124; cut -d " " -f1` newfilehash=`md5sum /var/log/apache2/access.log &#124; cut -d " " -f1` if [ "$oldfilehash" != "$newfilehash" ]; then diff /var/log/apache2/access.log /tmp/logcopy &#62; /tmp/logdiff if [ ! $? -eq 0 ]; then cat [...]]]></description>
			<content:encoded><![CDATA[<p><code>#!/bin/<a href="http://www.vgrup.com/tag/bash/" class="st_tag internal_tag" rel="tag" title="Posts tagged with bash">bash</a><br />
if [ ! -f /tmp/logcopy ]<br />
then<br />
echo "first run, copying log file"<br />
cp /var/log/<a href="http://www.vgrup.com/tag/apache2/" class="st_tag internal_tag" rel="tag" title="Posts tagged with apache2">apache2</a>/<a href="http://www.vgrup.com/tag/access-log/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Access.log">access.log</a> /tmp/logcopy<br />
fi<br />
oldfilehash=`md5sum /tmp/logcopy | cut -d " " -f1`<br />
newfilehash=`md5sum /var/log/<a href="http://www.vgrup.com/tag/apache/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Apache">apache</a>2/access.log | cut -d " " -f1`<br />
if [ "$oldfilehash" != "$newfilehash" ]; then<br />
diff /var/log/apache2/access.log /tmp/logcopy &gt; /tmp/logdiff<br />
if [ ! $? -eq 0 ]; then<br />
cat /tmp/logdiff | <a href="http://www.vgrup.com/tag/zenity/" class="st_tag internal_tag" rel="tag" title="Posts tagged with zenity">zenity</a> --title "Apache <a href="http://www.vgrup.com/tag/log-viewer/" class="st_tag internal_tag" rel="tag" title="Posts tagged with log viewer">Log Viewer</a>" --text-info --width 1024 --height 800<br />
fi<br />
cp -u /var/log/apache2/access.log /tmp/logcopy<br />
fi<br />
exit</code></p>
<p><code>/usr/local/bin</code> altına kaydedip kullanabilirsiniz.</p>
<div><a class="addthis_button" href="//addthis.com/bookmark.php?v=250" addthis:url='http://www.vgrup.com/2010/02/18/apache-icin-basit-bir-log-viewer/' addthis:title='Apache için basit bir log viewer'><img src="//cache.addthis.com/cachefly/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a></div>
	Tags: <a href="http://www.vgrup.com/tag/apache/" title="Apache" rel="tag">Apache</a>, <a href="http://www.vgrup.com/tag/apache2/" title="apache2" rel="tag">apache2</a>, <a href="http://www.vgrup.com/tag/bash/" title="bash" rel="tag">bash</a>, <a href="http://www.vgrup.com/tag/changelog/" title="changelog" rel="tag">changelog</a>, <a href="http://www.vgrup.com/tag/log-viewer/" title="log viewer" rel="tag">log viewer</a>, <a href="http://www.vgrup.com/tag/script/" title="script" rel="tag">script</a>, <a href="http://www.vgrup.com/tag/zenity/" title="zenity" rel="tag">zenity</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.vgrup.com/2010/02/18/apache-icin-basit-bir-log-viewer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>apache access.log için python regex</title>
		<link>http://www.vgrup.com/2010/01/27/apache-access-log-icin-python-regex/</link>
		<comments>http://www.vgrup.com/2010/01/27/apache-access-log-icin-python-regex/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 15:05:16 +0000</pubDate>
		<dc:creator>Muhammed YÜRÜRDURMAZ</dc:creator>
				<category><![CDATA[Yazılım]]></category>
		<category><![CDATA[Access.log]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Regex]]></category>

		<guid isPermaLink="false">http://www.vgrup.com/?p=179</guid>
		<description><![CDATA[r&#8221;"&#8221;(?P&#60;karsi_taraf&#62;[^ ]*) &#8211; (?P&#60;kullanici&#62;[^ ]*) \[(?P&#60;tarih&#62;[^\]]*)] &#8220;(?P&#60;url&#62;[^"]*)&#8221; (?P&#60;cevap&#62;[0-9]*) (?P&#60;boyut&#62;[0-9]*) &#8220;(?P&#60;ref&#62;[^"]*)&#8221; &#8220;(?P&#60;browser&#62;[^"]*)&#8221;"&#8221; Tags: Access.log, Apache, Python, Regex]]></description>
			<content:encoded><![CDATA[<p>r&#8221;"&#8221;(?P&lt;karsi_taraf&gt;[^ ]*) &#8211; (?P&lt;kullanici&gt;[^ ]*) \[(?P&lt;tarih&gt;[^\]]*)] &#8220;(?P&lt;url&gt;[^"]*)&#8221; (?P&lt;cevap&gt;[0-9]*) (?P&lt;boyut&gt;[0-9]*) &#8220;(?P&lt;ref&gt;[^"]*)&#8221; &#8220;(?P&lt;browser&gt;[^"]*)&#8221;"&#8221;</p>
<div><a class="addthis_button" href="//addthis.com/bookmark.php?v=250" addthis:url='http://www.vgrup.com/2010/01/27/apache-access-log-icin-python-regex/' addthis:title='apache access.log için python regex'><img src="//cache.addthis.com/cachefly/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a></div>
	Tags: <a href="http://www.vgrup.com/tag/access-log/" title="Access.log" rel="tag">Access.log</a>, <a href="http://www.vgrup.com/tag/apache/" title="Apache" rel="tag">Apache</a>, <a href="http://www.vgrup.com/tag/python/" title="Python" rel="tag">Python</a>, <a href="http://www.vgrup.com/tag/regex/" title="Regex" rel="tag">Regex</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.vgrup.com/2010/01/27/apache-access-log-icin-python-regex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

