<?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>antoniolorusso.com &#187; Altro</title>
	<atom:link href="http://antoniolorusso.com/category/altro/feed/" rel="self" type="application/rss+xml" />
	<link>http://antoniolorusso.com</link>
	<description>About me and what I do :)</description>
	<lastBuildDate>Wed, 02 May 2012 21:37:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>send headers with Selenium and PHPUnit?</title>
		<link>http://antoniolorusso.com/2012/05/02/send-headers-with-selenium-and-phpunit/</link>
		<comments>http://antoniolorusso.com/2012/05/02/send-headers-with-selenium-and-phpunit/#comments</comments>
		<pubDate>Wed, 02 May 2012 21:37:09 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Altro]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/?p=414</guid>
		<description><![CDATA[Just dont waste your life and use curl if you need to do that. I know, this is a useless post but I just wasted a huge amount of time trying to find a solution and I feel like giving this advice to someone. happy testing]]></description>
			<content:encoded><![CDATA[<p>Just dont waste your life and use curl if you need to do that.</p>
<p>I know, this is a useless post but I just wasted a huge amount of time trying to find a solution and I feel like giving this advice to someone.</p>
<p>happy testing <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2012/05/02/send-headers-with-selenium-and-phpunit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exclude files and directories from Apache Auth</title>
		<link>http://antoniolorusso.com/2011/01/04/exclude-files-and-directories-from-apache-auth/</link>
		<comments>http://antoniolorusso.com/2011/01/04/exclude-files-and-directories-from-apache-auth/#comments</comments>
		<pubDate>Tue, 04 Jan 2011 11:35:52 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Altro]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[location]]></category>
		<category><![CDATA[locationmatch]]></category>
		<category><![CDATA[setenvif]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2011/01/04/exclude-files-and-directories-from-apache-auth/</guid>
		<description><![CDATA[It would have made sense to use LocationMatch with a negative lookahead regex pattern like &#8220;^/(?!admin)&#8221; but that doesnt work. Neither work a rule like !&#8221;^/admin&#8221; so here is a workaround: &#60;Location "/"&#62;AuthType BasicAuthName "Restricted Files"AuthUserFile /var/www/clients/client12/web17/passwdAuthGroupFile /dev/nullRequire valid-userSetEnvIf Request_URI "^/(admin&#124;skin&#124;js&#124;index)(.*)$" allowSetEnvIf Request_URI "^/favicon.ico$" allowOrder allow,denyAllow from env=allowSatisfy Any&#60;/Location&#62; This basically allow the access without [...]]]></description>
			<content:encoded><![CDATA[<p>It would have made sense to use LocationMatch with a negative lookahead regex pattern like &#8220;^/(?!admin)&#8221; but that doesnt work. Neither work a rule like !&#8221;^/admin&#8221; so here is a workaround:</p>
<p><code>&lt;Location "/"&gt;<br />AuthType Basic<br />AuthName "Restricted Files"<br />AuthUserFile /var/www/clients/client12/web17/passwd<br />AuthGroupFile /dev/null<br />Require valid-user<br />SetEnvIf Request_URI "^/(admin|skin|js|index)(.*)$" allow<br />SetEnvIf Request_URI "^/favicon.ico$" allow<br />Order allow,deny<br />Allow from env=allow<br />Satisfy Any<br />&lt;/Location&gt;</code></p>
<p>This basically allow the access without authentication to the directories/files that start with admin, skin, js or index. The other rule allow the favicon too.</p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2011/01/04/exclude-files-and-directories-from-apache-auth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Website Optimiser and the bugged Techie Guide</title>
		<link>http://antoniolorusso.com/2010/03/31/google-website-optimiser-and-the-bugged-techie-guide/</link>
		<comments>http://antoniolorusso.com/2010/03/31/google-website-optimiser-and-the-bugged-techie-guide/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 09:00:21 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Altro]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[content-variation]]></category>
		<category><![CDATA[content_variation]]></category>
		<category><![CDATA[GWO]]></category>
		<category><![CDATA[techie guide]]></category>
		<category><![CDATA[Web Optimiser]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2010/03/31/google-website-optimiser-and-the-bugged-techie-guide/</guid>
		<description><![CDATA[I spent hours yesterday to implement the GWO that, instead, should take literally minutes!You want to know why? The bugged Techie Guide!!! On page 19, the script is completely wrong and drove me mad: variation-content should be variation_content and document.write(“&#60;/nosc” + “ript&#62;”) should be document.write(“&#60;nosc” + “ript&#62;”); So, here is he complete correct script:&#60;script&#62;var v [...]]]></description>
			<content:encoded><![CDATA[<p>I spent hours yesterday to implement the GWO that, instead, should take literally minutes!<br />You want to know why? The bugged <a target="_blank" href="http://www.google.com/en//websiteoptimizer/techieguide.pdf">Techie Guide</a>!!!</p>
<p>On page 19, the script is completely wrong and drove me mad: variation-content should be <b>variation_content</b> and document.write(“&lt;/nosc” + “ript&gt;”) should be <b>document.write(“&lt;nosc” + “ript&gt;”)</b>;</p>
<p>So, here is he complete correct script:<br /><code>&lt;script&gt;<br />var v = utmx(‘variation_content’, ‘Section1’);<br />if (v) {<br />document.write(<br />v.replace(“%%product_name%%”, “&lt;? print $product_name ?&gt;”).<br />replace(“%%product_price%%”, “&lt;? print $product_price ?&gt;”).<br />replace(“%%product_id%%”, “&lt;? print $product_id ?&gt;”));<br />document.write(“&lt;nosc” + “ript&gt;”);<br />}<br />&lt;/script&gt;<br />&lt;ul&gt;<br />&lt;li&gt;Product name: &lt;? print $product_name ?&gt;<br />&lt;li&gt;Product price: &lt;? print $product_price ?&gt;<br />&lt;li&gt;&lt;a href=’buy.php?prod-id=&lt;? print $product_id ?&gt;’&gt;<br />Buy Now&lt;/a&gt;<br />&lt;/ul&gt;<br />&lt;/noscript&gt;<br /></code><br />Adapt it to your code and be happy!</p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2010/03/31/google-website-optimiser-and-the-bugged-techie-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP 5.3 and more on Ubuntu</title>
		<link>http://antoniolorusso.com/2010/01/15/php-5-3-and-more-on-ubuntu/</link>
		<comments>http://antoniolorusso.com/2010/01/15/php-5-3-and-more-on-ubuntu/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 12:16:59 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Altro]]></category>
		<category><![CDATA[aptitude]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php5.3]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2010/01/15/php-5-3-and-more-on-ubuntu/</guid>
		<description><![CDATA[Thanks to Dotdeb guys is now possible to upgrade PHP easly on your Ubuntu machine.Just add their repository to your sources.list. You can find more detailed instructions here! Have fun.]]></description>
			<content:encoded><![CDATA[<p>Thanks to <a target="_blank" href="http://www.dotdeb.org">Dotdeb guys</a> is now possible to upgrade PHP easly on your Ubuntu machine.<br />Just add their repository to your sources.list. You can find more detailed instructions <a target="_blank" href="http://blog.astrumfutura.com/archives/427-Installing-PHP-5.3.1-On-Ubuntu-9.10-Karmic-Koala-With-aptitudeapt-get.html">here</a>!</p>
<p>Have fun. <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=17c2f59f-4e8b-8f9c-8df6-f68bdc3f94f7" /></div>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2010/01/15/php-5-3-and-more-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>youtube: even the big fall!</title>
		<link>http://antoniolorusso.com/2009/11/01/youtube-even-the-big-fall/</link>
		<comments>http://antoniolorusso.com/2009/11/01/youtube-even-the-big-fall/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 18:24:29 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Altro]]></category>
		<category><![CDATA[500]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[internal server error]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/?p=261</guid>
		<description><![CDATA[Tonight screenshot]]></description>
			<content:encoded><![CDATA[<p>Tonight screenshot<br />
<img src="http://antoniolorusso.com/wp-content/uploads/2009/11/youtube_internal_server_error1-1024x274.jpg" alt="youtube_internal_server_error" title="youtube_internal_server_error" width="575" height="274" class="alignnone size-large wp-image-265" /></p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2009/11/01/youtube-even-the-big-fall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sudo gem update &#8211;system under ubuntu/debian</title>
		<link>http://antoniolorusso.com/2009/09/07/sudo-gem-update-system-under-ubuntudebian/</link>
		<comments>http://antoniolorusso.com/2009/09/07/sudo-gem-update-system-under-ubuntudebian/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 11:35:08 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Altro]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2009/09/07/sudo-gem-update-system-under-ubuntudebian/</guid>
		<description><![CDATA[If you have tried that command, you already know that doesn&#8217;t work!Here is the correct procedure to update gem under ubuntu/debian without using apt-get/aptitude$ sudo gem install rubygems-update$ cd /var/lib/gems/1.8/bin$ sudo ./update_rubygems$ gem -v$ 1.3.5Happy rubying]]></description>
			<content:encoded><![CDATA[<p>If you have tried that command, you already know that doesn&#8217;t work!<br />Here is the correct procedure to update gem under ubuntu/debian without using apt-get/aptitude<br /><code><br />$ sudo gem install rubygems-update<br />$ cd /var/lib/gems/1.8/bin<br />$ sudo ./update_rubygems<br />$ gem -v<br />$ 1.3.5<br /></code><br />Happy rubying <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2009/09/07/sudo-gem-update-system-under-ubuntudebian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MacPorts, PHP 5.3 and Mysqlnd</title>
		<link>http://antoniolorusso.com/2009/08/14/macports-php-5-3-and-mysqlnd/</link>
		<comments>http://antoniolorusso.com/2009/08/14/macports-php-5-3-and-mysqlnd/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 00:11:10 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Altro]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2009/08/14/macports-php-5-3-and-mysqlnd/</guid>
		<description><![CDATA[If you have recently upgraded to php 5.3 and you have done it usingsudo port install php5 +apache2+macosx+mysqlnd+pearyou should have noticed that you cannot use mysql anymore because of an error that, I&#8217;m sure, is driving you crazyPHP Warning: mysqli::mysqli(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in /Users/antonio/Sites/db.php on line [...]]]></description>
			<content:encoded><![CDATA[<p>If you have recently upgraded to php 5.3 and you have done it using<br /><code>sudo port install php5 +apache2+macosx+mysqlnd+pear</code><br />you should have noticed that you cannot use mysql anymore because of an error that, I&#8217;m sure, is driving you crazy<br /><code>PHP Warning: mysqli::mysqli(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in /Users/antonio/Sites/db.php on line 25</p>
<p>PHP Warning: mysqli::mysqli(): (HY000/2002): No such file or directory in /Users/antonio/Sites/db.php on line 25</code><br />The problem comes from php and unfortunately is only fixable changing the location of the mysql.sock from the usual macports directory <span style="font-weight: bold;">/opt/local/var/run/mysql5/mysqld.sock</span> to <span style="font-weight: bold;">/tmp/mysql.sock</span> editing the file <span style="font-weight: bold;">/opt/local/etc/my.cnf</span></p>
<p> <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=fd3d1936-a860-8902-9c80-550350a26902" /></div>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2009/08/14/macports-php-5-3-and-mysqlnd/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>the twittersphere</title>
		<link>http://antoniolorusso.com/2009/08/13/the-twittersphere/</link>
		<comments>http://antoniolorusso.com/2009/08/13/the-twittersphere/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 00:22:10 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Altro]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2009/08/13/the-twittersphere/</guid>
		<description><![CDATA[Sooooooo funny!]]></description>
			<content:encoded><![CDATA[<p>Sooooooo funny!</p>
<p><object id="ce_89891774" width="400" height="300" data="http://current.com/e/89891774/en_US"><param name="movie" value="http://current.com/e/89891774/en_US"></param><param name="wmode" value="transparent"></param><param name="allowfullscreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed type="application/x-shockwave-flash" src="http://current.com/e/89891774/en_US" width="400" height="300" wmode="transparent" allowfullscreen="true" allowscriptaccess="always"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2009/08/13/the-twittersphere/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>my .bashrc and env on mac</title>
		<link>http://antoniolorusso.com/2009/06/13/my-bashrc-and-env-on-mac/</link>
		<comments>http://antoniolorusso.com/2009/06/13/my-bashrc-and-env-on-mac/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 10:59:16 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Altro]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2009/06/13/my-bashrc-and-env-on-mac/</guid>
		<description><![CDATA[If someone find it useful&#8230; I do and this post is, honestly, for my record: bash-3.2$ env APSX2=/opt/local/apache2/bin/apxs MANPATH=/opt/local/share/man:/opt/local/share/man:/opt/local/share/man:/opt/local/share/man:/usr/share/man:/usr/local/share/man:/usr/X11/man TERM_PROGRAM=iTerm.app LC_MONETARY=en_GB.UTF-8 SHELL=/bin/bash TERM=xterm LC_NUMERIC=en_GB.UTF-8 COMMAND_MODE=legacy __CF_USER_TEXT_ENCODING=0x1F5:0:0 PATH=/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin LC_MESSAGES=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8 PWD=/Users/zekus EDITOR=/usr/bin/mate -w LANG=en_GB.UTF-8 HOME=/Users/zekus SHLVL=1 LOGNAME=zekus LC_CTYPE=en_GB.UTF-8 DISPLAY=:0.0 SECURITYSESSIONID=613f90 LC_TIME=en_GB.UTF-8 _=/usr/bin/env bash-3.2$ cat ~/.bashrc export PATH=/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:$PATH export MANPATH=/opt/local/share/man:$MANPATH export DISPLAY=:0.0 export EDITOR='/usr/bin/mate -w' export APSX2='/opt/local/apache2/bin/apxs' [...]]]></description>
			<content:encoded><![CDATA[<p>If someone find it useful&#8230; I do and this post is, honestly, for my record:</p>
<p><code><br />
bash-3.2$ env<br />
APSX2=/opt/local/apache2/bin/apxs<br />
MANPATH=/opt/local/share/man:/opt/local/share/man:/opt/local/share/man:/opt/local/share/man:/usr/share/man:/usr/local/share/man:/usr/X11/man<br />
TERM_PROGRAM=iTerm.app<br />
LC_MONETARY=en_GB.UTF-8<br />
SHELL=/bin/bash<br />
TERM=xterm<br />
LC_NUMERIC=en_GB.UTF-8<br />
COMMAND_MODE=legacy<br />
__CF_USER_TEXT_ENCODING=0x1F5:0:0<br />
PATH=/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin<br />
LC_MESSAGES=en_GB.UTF-8<br />
LC_COLLATE=en_GB.UTF-8<br />
PWD=/Users/zekus<br />
EDITOR=/usr/bin/mate -w<br />
LANG=en_GB.UTF-8<br />
HOME=/Users/zekus<br />
SHLVL=1<br />
LOGNAME=zekus<br />
LC_CTYPE=en_GB.UTF-8<br />
DISPLAY=:0.0<br />
SECURITYSESSIONID=613f90<br />
LC_TIME=en_GB.UTF-8<br />
_=/usr/bin/env<br />
</code></p>
<p><code><br />
bash-3.2$ cat ~/.bashrc<br />
export PATH=/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:$PATH<br />
export MANPATH=/opt/local/share/man:$MANPATH<br />
export DISPLAY=:0.0<br />
export EDITOR='/usr/bin/mate -w'<br />
export APSX2='/opt/local/apache2/bin/apxs'<br />
alias mysqld='sudo /opt/local/share/mysql5/mysql/mysql.server'<br />
alias apachectl='sudo /opt/local/apache2/bin/apachectl'<br />
alias mysql='mysql5'<br />
alias rake='/opt/local/bin/rake'<br />
alias rails='/opt/local/bin/rails'<br />
alias ruby='/opt/local/bin/ruby'<br />
postgresqlctl () { sudo su postgres -c "/opt/local/lib/postgresql83/bin/pg_ctl $1 -D /opt/local/var/db/postgresql83/defaultdb"; }<br />
</code></p>
<p>Note the last row in the bashrc: is a function to load the postgres server on demand!</p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2009/06/13/my-bashrc-and-env-on-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrated</title>
		<link>http://antoniolorusso.com/2009/05/31/migrated/</link>
		<comments>http://antoniolorusso.com/2009/05/31/migrated/#comments</comments>
		<pubDate>Sun, 31 May 2009 11:39:49 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Altro]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2009/05/31/migrated/</guid>
		<description><![CDATA[Me and Antonello have finally bought our server and this blog has been the first to be migrated.Totally happy! Expect great new things]]></description>
			<content:encoded><![CDATA[<p>Me and Antonello have finally bought our server and this blog has been the first to be migrated.<br />Totally happy! Expect great new things <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2009/05/31/migrated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
