<?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>dev/null &#187; Linux</title>
	<atom:link href="http://devnull.fuoriradio.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://devnull.fuoriradio.com</link>
	<description>appunti interessanti e non di un programmatore</description>
	<lastBuildDate>Tue, 19 Apr 2011 15:22:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Monit, assentatevi tranquillamente.</title>
		<link>http://devnull.fuoriradio.com/2010/11/03/monit-assentatevi-tranquillamente/</link>
		<comments>http://devnull.fuoriradio.com/2010/11/03/monit-assentatevi-tranquillamente/#comments</comments>
		<pubDate>Wed, 03 Nov 2010 12:10:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[monit]]></category>

		<guid isPermaLink="false">http://devnull.fuoriradio.com/?p=450</guid>
		<description><![CDATA[Qualche tempo fa, dovendo stare lontano dai miei server per un po&#8217; ho deciso di installare Monit, una applicazione in grado di controllare i processi in esecuzione, riavviare i demoni in caso di malfunzionamento, avvisarti per e-mail in caso di overload del server etc. Lo consiglio caldamente a chiunque abbia necessità di tali funzioni sul [...]]]></description>
			<content:encoded><![CDATA[<p>Qualche tempo fa, dovendo stare lontano dai miei server per un po&#8217; ho deciso di installare <a href="http://mmonit.com/monit/">Monit</a>, una applicazione in grado di controllare i processi in esecuzione, riavviare i demoni in caso di malfunzionamento, avvisarti per e-mail in caso di overload del server etc.<br />
Lo consiglio caldamente a chiunque abbia necessità di tali funzioni sul proprio dedicato. Installarlo e farlo funzionare con Lighttpd e con i demoni C++ di <a href="http://www.wardrome.com">Wardrome</a> non è stato semplicissimo, ho trovato molto utile <a href="http://www.croccobiscotto.it/linux/configurare-monit-con-debian-e-lighttpd/#">questa guida</a>.</p>
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdevnull.fuoriradio.com%2F2010%2F11%2F03%2Fmonit-assentatevi-tranquillamente%2F&amp;layout=button_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=65&amp;font=lucida+grande' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:450px; height:65px'></iframe></p>]]></content:encoded>
			<wfw:commentRss>http://devnull.fuoriradio.com/2010/11/03/monit-assentatevi-tranquillamente/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installare XCache su Debian Lenny</title>
		<link>http://devnull.fuoriradio.com/2010/02/05/installare-xcache-su-debian-lenny/</link>
		<comments>http://devnull.fuoriradio.com/2010/02/05/installare-xcache-su-debian-lenny/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 18:52:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[opcode cache]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[xcache]]></category>

		<guid isPermaLink="false">http://devnull.fuoriradio.com/2010/02/05/installare-xcache-su-debian-lenny/</guid>
		<description><![CDATA[Xcache è una opcode cache molto performante per php. Per installarla su Debian Lenny (Su Etch non c&#8217;è il pacchetto, ho dovuto scaricarla e compilarla) sudo aptitude install php5-xcache dopo editate il vostro php.ini e alla fine inserite le righe seguenti: extension=xcache.so &#160; &#91;xcache&#93; ; ini only settings, all the values here is default unless [...]]]></description>
			<content:encoded><![CDATA[<p>Xcache è una opcode cache molto performante per php.</p>
<p>Per installarla su Debian Lenny (Su Etch non c&#8217;è il pacchetto, ho dovuto scaricarla e compilarla)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> php5-xcache</pre></div></div>

<p><span id="more-232"></span></p>
<p>dopo editate il vostro php.ini e alla fine inserite le righe seguenti:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">extension</span>=xcache.so
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>xcache<span style="color: #7a0874; font-weight: bold;">&#93;</span>
; ini only settings, all the values here is default unless explained
&nbsp;
; <span style="color: #000000; font-weight: bold;">select</span> low level shm<span style="color: #000000; font-weight: bold;">/</span>allocator scheme implemenation
xcache.shm_scheme =        <span style="color: #ff0000;">&quot;mmap&quot;</span>
; to disable: xcache.size=<span style="color: #000000;">0</span>
; to <span style="color: #7a0874; font-weight: bold;">enable</span> : xcache.size=64M etc <span style="color: #7a0874; font-weight: bold;">&#40;</span>any <span style="color: #c20cb9; font-weight: bold;">size</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> and your system mmap allows
xcache.size  =               64M
; <span style="color: #000000; font-weight: bold;">set</span> to cpu count <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>cpuinfo <span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-c</span> processor<span style="color: #7a0874; font-weight: bold;">&#41;</span>
xcache.count =                 <span style="color: #000000;">8</span>
; just a <span style="color: #7a0874; font-weight: bold;">hash</span> hints, you can always store count<span style="color: #7a0874; font-weight: bold;">&#40;</span>items<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000; font-weight: bold;">&gt;</span> slots
xcache.slots =                8K
; ttl of the cache item, <span style="color: #000000;">0</span>=forever
xcache.ttl   =                 <span style="color: #000000;">0</span>
; interval of <span style="color: #c20cb9; font-weight: bold;">gc</span> scanning expired items, <span style="color: #000000;">0</span>=no scan, other values is <span style="color: #000000; font-weight: bold;">in</span> seconds
xcache.gc_interval =           <span style="color: #000000;">0</span>
&nbsp;
; same <span style="color: #c20cb9; font-weight: bold;">as</span> aboves but <span style="color: #000000; font-weight: bold;">for</span> variable cache
xcache.var_size  =            4M
xcache.var_count =             <span style="color: #000000;">1</span>
xcache.var_slots =            8K
; default ttl
xcache.var_ttl   =             <span style="color: #000000;">0</span>
xcache.var_maxttl   =          <span style="color: #000000;">0</span>
xcache.var_gc_interval =     <span style="color: #000000;">300</span>
&nbsp;
xcache.test =                Off
; N<span style="color: #000000; font-weight: bold;">/</span>A <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>zero
xcache.readonly_protection = Off
; <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #000000; font-weight: bold;">*</span>nix, xcache.mmap_path is a <span style="color: #c20cb9; font-weight: bold;">file</span> path, not directory.
; Use something like <span style="color: #ff0000;">&quot;/tmp/xcache&quot;</span> <span style="color: #000000; font-weight: bold;">if</span> you want to turn on ReadonlyProtection
; <span style="color: #000000;">2</span> group of php won<span style="color: #ff0000;">'t share the same /tmp/xcache
; for win32, xcache.mmap_path=anonymous map name, not file path
xcache.mmap_path =    &quot;/dev/zero&quot;
&nbsp;
; leave it blank(disabled) or &quot;/tmp/phpcore/&quot;
; make sure it'</span>s writable by php <span style="color: #7a0874; font-weight: bold;">&#40;</span>without checking open_basedir<span style="color: #7a0874; font-weight: bold;">&#41;</span>
xcache.coredump_directory =   <span style="color: #ff0000;">&quot;&quot;</span>
&nbsp;
; per request settings
xcache.cacher =               On
xcache.stat   =               On
xcache.optimizer =           Off</pre></div></div>

<p><div style="text-align: center"><script type="text/javascript"><!--
google_ad_client = "pub-9763589373223061";
/* 468x60, devnull */
google_ad_slot = "9717154544";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div></p>
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdevnull.fuoriradio.com%2F2010%2F02%2F05%2Finstallare-xcache-su-debian-lenny%2F&amp;layout=button_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=65&amp;font=lucida+grande' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:450px; height:65px'></iframe></p>]]></content:encoded>
			<wfw:commentRss>http://devnull.fuoriradio.com/2010/02/05/installare-xcache-su-debian-lenny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convertire e vedere al &#8220;volo&#8221; filmati youtube in html5 su Firefox</title>
		<link>http://devnull.fuoriradio.com/2010/02/01/convertire-e-vedere-al-volo-filmati-youtube-in-html5-su-firefox/</link>
		<comments>http://devnull.fuoriradio.com/2010/02/01/convertire-e-vedere-al-volo-filmati-youtube-in-html5-su-firefox/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 20:57:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[html5]]></category>

		<guid isPermaLink="false">http://devnull.fuoriradio.com/?p=162</guid>
		<description><![CDATA[TinyOgg è un servizio semplice da utilizzare che vi consente di vedere filmati youtube su Firefox 3.5+ senza l&#8217;ausilio di flash. Per utilizzarlo è sufficiente ricopiare l&#8217;url del filmato desiderato nel campo query del sito (minimale come quello di un motore di ricerca) e premere &#8220;Convert&#8221;, in pochi minuti potrete vedere il video desiderato.]]></description>
			<content:encoded><![CDATA[<p><img style="float:left; margin: 8px" src="http://snapcasa.com/get.aspx?code=9019&size=l&url=http%3A%2F%2Ftinyogg.com%2F"/ > <a href="http://tinyogg.com/">TinyOgg</a> è un servizio semplice da utilizzare che vi consente di vedere filmati youtube su Firefox 3.5+ senza l&#8217;ausilio di flash. </p>
<p>Per utilizzarlo è sufficiente ricopiare l&#8217;url del filmato desiderato nel campo query del sito (minimale come quello di un motore di ricerca) e premere &#8220;Convert&#8221;, in pochi minuti potrete vedere il video desiderato.</p>
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdevnull.fuoriradio.com%2F2010%2F02%2F01%2Fconvertire-e-vedere-al-volo-filmati-youtube-in-html5-su-firefox%2F&amp;layout=button_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=65&amp;font=lucida+grande' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:450px; height:65px'></iframe></p>]]></content:encoded>
			<wfw:commentRss>http://devnull.fuoriradio.com/2010/02/01/convertire-e-vedere-al-volo-filmati-youtube-in-html5-su-firefox/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Convertire mp3 in ogg vorbis.</title>
		<link>http://devnull.fuoriradio.com/2010/01/30/convertire-mp3-in-ogg-vorbis/</link>
		<comments>http://devnull.fuoriradio.com/2010/01/30/convertire-mp3-in-ogg-vorbis/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 14:51:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[ogg]]></category>

		<guid isPermaLink="false">http://devnull.fuoriradio.com/?p=124</guid>
		<description><![CDATA[Ultimamente il formato OGG è tornato alla ribalta, un pò per la crociata di Richard Stallman contro i formati musicali proprietari, un pò per via dell&#8217;implementazione dell&#8217;html5 audio usata da Firefox che è in grado appunto di riprodurre i file OGG senza ausilio di plugin esterni. L&#8217;implementazione del tag AUDIO e della api javascript Audio() [...]]]></description>
			<content:encoded><![CDATA[<p><img style="float:left; margin:8px" src="http://www.xiph.org/quicktime/img/xiph-qt.png" alt="Ogg Vorbis" /></p>
<p>Ultimamente il formato OGG è tornato alla ribalta, un pò per la crociata di Richard Stallman contro i formati musicali proprietari, un pò per via dell&#8217;implementazione dell&#8217;html5 audio usata da Firefox che è in grado appunto di riprodurre i file OGG senza ausilio di plugin esterni. </p>
<p>L&#8217;implementazione del tag AUDIO e della api javascript Audio() varia però molto da browser a browser, in Internet Explorer è assente, Safari è in grado di riprodurre mp3 e wav (e in realtà qualsiasi formato audio di QT), Chrome OGG ed mp3, Firefox OGG e wav, Opera per il momento soltanto wav.</p>
<p>Se volessimo per esempio mettere nel nostro sito una musica di sfondo in mp3 la sentirebbero soltanto alcuni utenti, se la mettessimo in OGG solo alcuni altri etc.</p>
<p>La soluzione sarà evidentemente quella di &#8220;sniffare&#8221; il browser e fornire il formato corretto.</p>
<p>Per adesso vediamo come convertire un file mp3 in ogg su un linux debian, in un articolo successivo esamineremo i tag e le api audio di html5.</p>
<p><span id="more-124"></span></p>
<p>Nella nostra shell digitiamo:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> mp32ogg</pre></div></div>

<p>Confermiamo e lasciamo che apt-get installi tutte le dipendenze e i file necessari.</p>
<p>Appena finito possiamo convertire da mp3 a ogg singoli files o intere directory (ricorsivamente)</p>
<p>La sintassi ce la spiega lo stesso comando:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mp32ogg <span style="color: #660033;">--help</span>
&nbsp;
mp32ogg v0.11
<span style="color: #7a0874; font-weight: bold;">&#40;</span>c<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000;">2000</span>-<span style="color: #000000;">2002</span> Nathan Walp
Released without warranty under the terms of the Artistic License
&nbsp;
Usage: <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>mp32ogg <span style="color: #7a0874; font-weight: bold;">&#91;</span>options<span style="color: #7a0874; font-weight: bold;">&#93;</span> dir1 dir2 file1 file2 ...
&nbsp;
Options:
<span style="color: #660033;">--quality</span>=<span style="color: #7a0874; font-weight: bold;">&#91;</span>-<span style="color: #000000;">1</span>..<span style="color: #000000;">10</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>       Set Ogg<span style="color: #000000; font-weight: bold;">/</span>Vorbis quality level
                         Defaults to bitrate of original .mp3
<span style="color: #660033;">--delete</span>                 Delete files after converting
<span style="color: #660033;">--rename</span>=format          Instead of simply replacing the .mp3 with
                         .ogg <span style="color: #000000; font-weight: bold;">for</span> the output <span style="color: #c20cb9; font-weight: bold;">file</span>, produce output 
                         filenames <span style="color: #000000; font-weight: bold;">in</span> this format, replacing <span style="color: #000000; font-weight: bold;">%</span>a, <span style="color: #000000; font-weight: bold;">%</span>t
                         and <span style="color: #000000; font-weight: bold;">%</span>l with artist, title, and album name
                         <span style="color: #000000; font-weight: bold;">for</span> the track
<span style="color: #660033;">--lowercase</span>              Force lowercase filenames when using <span style="color: #660033;">--rename</span>
<span style="color: #660033;">--verbose</span>                Verbose output
<span style="color: #660033;">--preserve-timestamp</span>     Preserve <span style="color: #c20cb9; font-weight: bold;">file</span> timestamp
<span style="color: #660033;">--help</span>                   Display this <span style="color: #7a0874; font-weight: bold;">help</span> message</pre></div></div>

<p>Credo non ci sia da aggiungere altro ma se avete bisogno di chiarimenti, commentate.</p>
<p><div style="text-align: center"><script type="text/javascript"><!--
google_ad_client = "pub-9763589373223061";
/* 468x60, devnull */
google_ad_slot = "9717154544";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div></p>
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdevnull.fuoriradio.com%2F2010%2F01%2F30%2Fconvertire-mp3-in-ogg-vorbis%2F&amp;layout=button_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=65&amp;font=lucida+grande' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:450px; height:65px'></iframe></p>]]></content:encoded>
			<wfw:commentRss>http://devnull.fuoriradio.com/2010/01/30/convertire-mp3-in-ogg-vorbis/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Usare Friendly URLS &amp; Feedburner con WordPress su Lighttpd.</title>
		<link>http://devnull.fuoriradio.com/2010/01/24/usare-friendly-urls-feedburner-con-wordpress-su-lighttpd/</link>
		<comments>http://devnull.fuoriradio.com/2010/01/24/usare-friendly-urls-feedburner-con-wordpress-su-lighttpd/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 14:22:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[feedburner]]></category>
		<category><![CDATA[friendly urls]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[mod_redirect]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://devnull.fuoriradio.com/?p=42</guid>
		<description><![CDATA[Normalmente viene fornita la sintassi del file .htaccess di apache necessario per abilitare i Friendly Url su WordPress, e i plugin per FeedBurner agiscono appunto sul file .htaccess per aggiungere le regole necessarie al corretto redirect dei feed verso feedburner. Nulla di tutto questo funziona su Lighttpd, vediamo quindi come ottenerlo modificando la configurazione del [...]]]></description>
			<content:encoded><![CDATA[<p><img style="float:left; margin: 8px" src="http://snapcasa.com/get.aspx?code=9019&size=l&url=http%3A%2F%2Fwordpress.org%2F"/ ></p>
<p>Normalmente viene fornita la sintassi del file .htaccess di apache necessario per abilitare i Friendly Url su WordPress, e i plugin per FeedBurner agiscono appunto sul file .htaccess per aggiungere le regole necessarie al corretto redirect dei feed verso feedburner. Nulla di tutto questo funziona su Lighttpd, vediamo quindi come ottenerlo modificando la configurazione del nostro web server preferito.</p>
<p><span id="more-42"></span></p>
<p>Per prima cosa editiamo il file di configurazione:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>lighttpd<span style="color: #000000; font-weight: bold;">/</span>lighttpd.conf</pre></div></div>

<p>(Usate l&#8217;editor che preferite che sia Vi o Pico o Nano non ha importanza <img src='http://devnull.fuoriradio.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' />  )</p>
<p>Ora controlliamo la presenza dei moduli necessari tra quelli attivati in Lighttpd, ci servono i moduli mod_rewrite e mod_redirect:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">## modules to load</span>
<span style="color: #666666; font-style: italic;"># mod_access, mod_accesslog and mod_alias are loaded by default</span>
<span style="color: #666666; font-style: italic;"># all other module should only be loaded if neccesary</span>
<span style="color: #666666; font-style: italic;"># - saves some time</span>
<span style="color: #666666; font-style: italic;"># - saves memory</span>
&nbsp;
server.modules              = <span style="color: #7a0874; font-weight: bold;">&#40;</span>
            <span style="color: #ff0000;">&quot;mod_access&quot;</span>,
            <span style="color: #ff0000;">&quot;mod_alias&quot;</span>,
<span style="color: #666666; font-style: italic;">#            &quot;mod_accesslog&quot;,</span>
            <span style="color: #ff0000;">&quot;mod_rewrite&quot;</span>,
            <span style="color: #ff0000;">&quot;mod_fastcgi&quot;</span>,
            <span style="color: #ff0000;">&quot;mod_redirect&quot;</span>,
<span style="color: #666666; font-style: italic;">#           &quot;mod_status&quot;,</span>
            <span style="color: #ff0000;">&quot;mod_evhost&quot;</span>,
            <span style="color: #ff0000;">&quot;mod_compress&quot;</span>,
<span style="color: #666666; font-style: italic;">#           &quot;mod_usertrack&quot;,</span>
<span style="color: #666666; font-style: italic;">#           &quot;mod_rrdtool&quot;,</span>
<span style="color: #666666; font-style: italic;">#           &quot;mod_webdav&quot;,</span>
<span style="color: #666666; font-style: italic;">#           &quot;mod_expire&quot;,</span>
<span style="color: #666666; font-style: italic;">#           &quot;mod_flv_streaming&quot;,</span>
<span style="color: #666666; font-style: italic;">#           &quot;mod_evasive&quot;</span>
 <span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>Se non sono commentati (#) è okay possiamo continuare, andiamo verso il virtual host che ospita il nostro blog.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$HTTP</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #ff0000;">&quot;host&quot;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> =~ <span style="color: #ff0000;">&quot;^mioblog.esempio\.com&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
            server.document-root = <span style="color: #ff0000;">&quot;/home/mioblog/wordpress&quot;</span>
url.rewrite = <span style="color: #7a0874; font-weight: bold;">&#40;</span>
<span style="color: #ff0000;">&quot;^/(wp-.+).*/?&quot;</span> =<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #ff0000;">&quot;$0&quot;</span>,
<span style="color: #ff0000;">&quot;^/(sitemap.xml)&quot;</span> =<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #ff0000;">&quot;$0&quot;</span>,
<span style="color: #ff0000;">&quot;^/(robots.txt)&quot;</span> =<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #ff0000;">&quot;$0&quot;</span>,
<span style="color: #ff0000;">&quot;^/(xmlrpc.php)&quot;</span> =<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #ff0000;">&quot;$0&quot;</span>,
<span style="color: #ff0000;">&quot;^/(.+)/?$&quot;</span> =<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #ff0000;">&quot;/index.php/$1&quot;</span>
<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">$HTTP</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #ff0000;">&quot;useragent&quot;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">!</span>~ <span style="color: #ff0000;">&quot;FeedBurner&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
           url.redirect = <span style="color: #7a0874; font-weight: bold;">&#40;</span>
              <span style="color: #ff0000;">&quot;/feed*&quot;</span> =<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #ff0000;">&quot;http://feeds.feedburner.com/[feed del mio blog]&quot;</span>
           <span style="color: #7a0874; font-weight: bold;">&#41;</span>
        <span style="color: #7a0874; font-weight: bold;">&#125;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></div></div>

<p>Abbiate la cura di mettere gli url i path e il nome del feed corretto, salvate il file, uscite dall&#8217;editor e riavviate lighttpd con:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>lighttpd restart</pre></div></div>

<p>(Questo funziona su Debian, potreste avere un comando diverso a seconda della vostra Distro)</p>
<p>Ora nel pannello Site Admin del vostro WordPress selezionate Settings -&gt; Permalinks e togliete quel brutto index.php dal vostro sito web.<br />
Per feedburner invece non dobbiamo modificare alcunchè i feed saranno automaticamente reindirizzati.</p>
<p><div style="text-align: center"><script type="text/javascript"><!--
google_ad_client = "pub-9763589373223061";
/* 468x60, devnull */
google_ad_slot = "9717154544";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div></p>
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdevnull.fuoriradio.com%2F2010%2F01%2F24%2Fusare-friendly-urls-feedburner-con-wordpress-su-lighttpd%2F&amp;layout=button_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=65&amp;font=lucida+grande' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:450px; height:65px'></iframe></p>]]></content:encoded>
			<wfw:commentRss>http://devnull.fuoriradio.com/2010/01/24/usare-friendly-urls-feedburner-con-wordpress-su-lighttpd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

