<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>the atRiaS Blog</title>
	<atom:link href="http://atrias.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://atrias.wordpress.com</link>
	<description>just sharing my internet and sysadmin experiences</description>
	<lastBuildDate>Sun, 04 Dec 2011 14:06:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='atrias.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>the atRiaS Blog</title>
		<link>http://atrias.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://atrias.wordpress.com/osd.xml" title="the atRiaS Blog" />
	<atom:link rel='hub' href='http://atrias.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Streaming to shoutcast with libshout</title>
		<link>http://atrias.wordpress.com/2011/04/22/streaming-to-shoutcast-with-libshout/</link>
		<comments>http://atrias.wordpress.com/2011/04/22/streaming-to-shoutcast-with-libshout/#comments</comments>
		<pubDate>Fri, 22 Apr 2011 10:12:27 +0000</pubDate>
		<dc:creator>atrias</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[icecast]]></category>
		<category><![CDATA[libshout]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[shoutcast]]></category>
		<category><![CDATA[streaming]]></category>

		<guid isPermaLink="false">http://atrias.wordpress.com/?p=70</guid>
		<description><![CDATA[After setting up a shoutcast server I tried to find a way to stream my music through it. When I was a windows user winamp with the shoutcast DSP plugin was a nice solution. But now I wanted to stream music that resides on my linux home server. The Shoutcast Transcoder that can be used for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=atrias.wordpress.com&amp;blog=9152823&amp;post=70&amp;subd=atrias&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After setting up a shoutcast server I tried to find a way to stream my music through it. When I was a windows user winamp with the <a href="http://www.shoutcast.com/broadcast-tools" target="_blank">shoutcast DSP plugin</a> was a nice solution. But now I wanted to stream music that resides on my linux home server. The Shoutcast Transcoder that can be used for this purpose requires a paid license for mp3 streaming. So libshout from Icecast with a perl binding comes to rescue!</p>
<p><span id="more-70"></span>Requirements:</p>
<ul>
<li>installed and working <a href="http://www.shoutcast.com/broadcast-tools" target="_blank">shoutcast DNAS</a></li>
<li>lame (for mp3 transcoding)</li>
<li>libshout (if not available through your repos you can get it <a href="http://www.icecast.org/download.php" target="_blank">here</a>)</li>
<li><a href="http://www.icecast.org/download.php" target="_blank">shout-perl</a></li>
<li>MP3::Tag perl module</li>
<li>Encode perl module (to make your id3 tags utf8 if a non-latin and non-utf8 charset is used)</li>
</ul>
<div>To install the Shout.pm perl module after uncompressing the tar.gz you have to do this (as root):</div>
<blockquote>
<div>perl Makefile.PL</div>
<div>make</div>
<div>make install</div>
</blockquote>
<p>More information is provided <a href="http://servers.digitaldaze.com/extensions/perl/modules.html" target="_blank">here</a>. If you face any problems make sure that you have <strong>libvorbis</strong>, <strong>libogg</strong> and <strong>libtheora</strong> libraries as well as their corresponding <strong>devel</strong> packages installed.</p>
<p>Install the MP3::Tag perl module through your repos (available in Centos rpmforge repo) or through CPAN otherwise (perl -MCPAN -e &#8216;install MP3::Tag&#8217;).</p>
<p>Before installing the Encode perl module check if it is already installed by trying to use it! In centos it is part of the perl installation so there is no need to install it!</p>
<p>Now for the nice part! I edited the example2.pl script that was included with Shout.pm installation files. You can see my script here:</p>
<p><pre class="brush: perl; collapse: true; light: false; toolbar: true; wrap-lines: false;">
#!/usr/bin/perl -w
use strict;
use bytes;
use Shout;
use MP3::Tag;
use Encode;

###############################################################################
###	C O N F I G U R A T I O N
###############################################################################
use vars qw{$Debug $Lame};
chomp( $Lame = `which lame` );
my $Bitrate = 64;
my $Samplerate = 44100;

### Create a new streaming object
my $streamer = new Shout
	host		=&gt; 'localhost',
	port		=&gt; 8000,
	mount		=&gt; '',
	password	=&gt; 'my password',
	name		=&gt; 'my radio name',
	url			=&gt; 'http://myurl.example.com/',
	genre		=&gt; 'my genre',
	description	=&gt; 'my description',
	bitrate		=&gt; $Bitrate,
	format		=&gt; SHOUT_FORMAT_MP3,
	protocol	=&gt; SHOUT_PROTOCOL_ICY;

$streamer-&gt;set_audio_info(SHOUT_AI_BITRATE =&gt; $Bitrate, SHOUT_AI_SAMPLERATE =&gt; $Samplerate);

###############################################################################
###	M A I N   P R O G R A M
###############################################################################

### Try to connect, aborting on failure
if ( $streamer-&gt;open ) {
	printf &quot;Connected to %s port %d...\n&quot;, $streamer-&gt;host, $streamer-&gt;port;
	printf &quot;Will stream to mountpoint '%s'.\n&quot;, $streamer-&gt;mount;
} else {
	printf &quot;couldn't connect: %s\n&quot;, $streamer-&gt;get_error;
	exit $streamer-&gt;get_errno;
}

### Stream each file specified in the playlist file on the command line

open(PLSFILE, '&lt;', $ARGV[0]) or die $!;

while (&lt;PLSFILE&gt;) {

	my $file = $_;
	chomp($file);

	print STDERR &quot;Can't read '$file': $!\n&quot; unless -r $file;
	print &quot;Sending $file...\n&quot;;

	my $mp3file = MP3::Tag-&gt;new($file);
	my $mp3title = $mp3file-&gt;title();
	my $mp3artist = $mp3file-&gt;artist();

	eval {
		$mp3title = Encode::encode(&quot;utf8&quot;, Encode::decode(&quot;iso-8859-7&quot;, $mp3title));
		$mp3artist = Encode::encode(&quot;utf8&quot;, Encode::decode(&quot;iso-8859-7&quot;, $mp3artist));
	};

	print &quot;$mp3title - $mp3artist\n&quot;;

        $streamer-&gt;set_metadata(song =&gt; &quot;$mp3title - $mp3artist&quot;);

	### Run lame in downsampling mode on the file we're going to send
	open( LAME, &quot;-|&quot; ) || exec $Lame, qw{--mp3input -t -b}, $Bitrate, qw{-m j -f -S}, $file, &quot;-&quot;;

	my $buff;
	READ: while ((my $len = sysread(LAME, $buff, 4096)) &gt; 0) {
		print STDERR &quot;Read $len bytes...\n&quot; if $Debug;
		$streamer-&gt;send( $buff ) &amp;&amp; next;

		warn( &quot;send failed: &quot;, $streamer-&gt;get_error, &quot;\n&quot; );
		last READ;
	} continue {
		$streamer-&gt;sync;
	}

	close LAME;
}

close (PLSFILE);

### Disconnect from the server
$streamer-&gt;close;
</pre></p>
<p>Copy and paste the above code in a file named streamer.pl and then make it executable (chmod +x streamer.pl).</p>
<p>Edit the fields in the configuration section to suit your needs, especially the host, port and password fields.</p>
<p>On lines 61-64 is the code for converting you id3 tags to utf8 if they are in some other charset. Many of my MP3s have greek characters so I used iso-8859-7 as the source encoding. You may have to edit this if you have id3 tags in other languages with non-latin characters. Or you can comment out (with #) these lines if you don&#8217;t need the conversion. Keep in mind that the webpage from shoutcast server defaults its encoding to a latin only charset. So to display your utf8 id3 tags you have to change the encoding manually in your browser. Nevertheless winamp displays utf8 id3 tags correctly so you listeners will be able to read the song title and artist without problems.</p>
<p>You can comment out (with #) lines 55 and 66 if you don&#8217;t want anything displayed on the command line while your music is streamed to the server.</p>
<p>You may see the error &#8220;<em>fatal error: can&#8217;t update LAME-tag frame!</em>&#8221; after each song ends. This is a bug in lame and you cannot disable it. I hope it will be fixed in a future version of lame.</p>
<p>Now create a playlist file that will be streamed to the server by doing this:</p>
<blockquote><p>find / -name *.mp3 &gt; myplaylist</p></blockquote>
<p>That&#8217;s it! You are ready to stream your music by doing this:</p>
<blockquote><p>./streamer.pl myplaylist</p></blockquote>
<p>Happy streaming!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/atrias.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/atrias.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/atrias.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/atrias.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/atrias.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/atrias.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/atrias.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/atrias.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/atrias.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/atrias.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/atrias.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/atrias.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/atrias.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/atrias.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=atrias.wordpress.com&amp;blog=9152823&amp;post=70&amp;subd=atrias&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://atrias.wordpress.com/2011/04/22/streaming-to-shoutcast-with-libshout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ef6569a137236d6df68cb804fa8b731?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">atrias</media:title>
		</media:content>
	</item>
		<item>
		<title>sharing a folder with samba as RO to guests and RW to admin</title>
		<link>http://atrias.wordpress.com/2010/06/27/sharing-a-folder-with-samba-as-ro-to-guests-and-rw-to-admin/</link>
		<comments>http://atrias.wordpress.com/2010/06/27/sharing-a-folder-with-samba-as-ro-to-guests-and-rw-to-admin/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 23:48:41 +0000</pubDate>
		<dc:creator>atrias</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[shares]]></category>

		<guid isPermaLink="false">http://atrias.wordpress.com/?p=59</guid>
		<description><![CDATA[I had a folder on my linux machine that I would like it to be shared as RO to any guest without password requirement but as RW to myself so that (by providing a user/pass) I would be able to alter its contents The first thing that must be noted is that samba does not [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=atrias.wordpress.com&amp;blog=9152823&amp;post=59&amp;subd=atrias&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had a folder on my linux machine that I would like it to be shared as RO to any guest without password requirement but as RW to myself so that (by providing a user/pass) I would be able to alter its contents<span id="more-59"></span></p>
<p>The first thing that must be noted is that samba does not allow to share the same folder more than once! So the solution to that was to create a link to this folder and share the original folder as RW for an admin and share the link as RO to everyone else</p>
<p>So if /MYFILES is the original folder you need to do this</p>
<p><code>ln -s /MYFILES /MYFILESlink</code></p>
<p>Next use this smb.conf :<br />
<code><br />
[global]<br />
workgroup = WORKGROUP<br />
netbios name = FILESERVER<br />
server string = samba ver. %v</code></p>
<p><code>security = user<br />
encrypt passwords = true<br />
map to guest = bad user<br />
guest account = nobody</code></p>
<p><code>passdb backend = tdbsam<br />
obey pam restrictions = yes<br />
invalid users = root</code></p>
<p><code>[myfilesADM]<br />
comment = Private Share<br />
path = /MYFILES<br />
browseable = no<br />
read only = no<br />
create mask = 0644<br />
directory mask = 0755<br />
valid users = adminuser</code><br />
<code><br />
[myfiles]<br />
comment = Public Share<br />
path = /MYFILESlink<br />
read only = yes<br />
guest only = yes<br />
guest ok = yes</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/atrias.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/atrias.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/atrias.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/atrias.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/atrias.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/atrias.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/atrias.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/atrias.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/atrias.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/atrias.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/atrias.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/atrias.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/atrias.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/atrias.wordpress.com/59/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=atrias.wordpress.com&amp;blog=9152823&amp;post=59&amp;subd=atrias&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://atrias.wordpress.com/2010/06/27/sharing-a-folder-with-samba-as-ro-to-guests-and-rw-to-admin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ef6569a137236d6df68cb804fa8b731?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">atrias</media:title>
		</media:content>
	</item>
		<item>
		<title>windows live on your website!</title>
		<link>http://atrias.wordpress.com/2010/05/07/windows-live-on-your-website/</link>
		<comments>http://atrias.wordpress.com/2010/05/07/windows-live-on-your-website/#comments</comments>
		<pubDate>Fri, 07 May 2010 21:40:07 +0000</pubDate>
		<dc:creator>atrias</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[live messenger]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://atrias.wordpress.com/?p=48</guid>
		<description><![CDATA[It is easy to add windows live chat to your website between yourself and your visitors. First you have to go here and select the option that says &#8220;Allow anyone on the web to see my presence and send me messages.&#8221; and click Save. Now your website visitors will be able to chat with you. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=atrias.wordpress.com&amp;blog=9152823&amp;post=48&amp;subd=atrias&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It is easy to add windows live chat to your website between yourself and your visitors. First you have to go <a href="http://settings.messenger.live.com/applications/WebSettings.aspx">here</a> and select the option that says &#8220;Allow anyone on the web to see my presence and send me messages.&#8221; and click Save. Now your website visitors will be able to chat with you. Then you select &#8220;Create HTML&#8221; and choose one of the 3 options available for either displaying a chat window or just an online/offline image that when clicked will direct your visitor to a dedicated chat window.</p>
<p>If you want to hack the code a little bit here are some examples:</p>
<p><span id="more-48"></span>By using <strong>javascript</strong> you can display your own image instead of the default green buddy icon like this:</p>
<p>&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
function msn_status(json) {</p>
<p>if ( (json.status != &#8216;Offline&#8217;) &amp;&amp; (json.result.code == 200) ) {<br />
document.statusimage.src = &#8216;Online.gif&#8217;;<br />
}<br />
}<br />
&lt;/script&gt;</p>
<p>&lt;a target=&#8221;_blank&#8221; href=&#8221;http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=&lt;insert_your_id&gt;@apps.messenger.live.com&amp;mkt=en&#8221;&gt;<br />
&lt;img style=&#8221;border-style: none;&#8221; name=&#8221;statusimage&#8221; src=&#8221;Offline.gif&#8221;/&gt;<br />
&lt;/a&gt;</p>
<p>&lt;script type=&#8221;text/javascript&#8221; src=&#8221;http://messenger.services.live.com/users/&lt;insert_your_id&gt;@apps.messenger.live.com/presence/?cb=msn_status&#8221;&gt;&lt;/script&gt;</p>
<p>In any case replace &lt;insert_your_id&gt; with the id number you will get from the live messenger web settings -&gt; &#8220;Create HTML&#8221; page that I mentioned above.</p>
<p>more info on the available data can be found here:</p>
<p><a href="http://msdn.microsoft.com/en-us/library/bb936687%28v=MSDN.10%29.aspx">http://msdn.microsoft.com/en-us/library/bb936687%28v=MSDN.10%29.aspx</a></p>
<p><a href="http://msdn.microsoft.com/en-us/library/bb936688%28v=MSDN.10%29.aspx">http://msdn.microsoft.com/en-us/library/bb936688%28v=MSDN.10%29.aspx</a></p>
<p><a href="http://msdn.microsoft.com/en-us/library/cc742832%28v=MSDN.10%29.aspx">http://msdn.microsoft.com/en-us/library/cc742832%28v=MSDN.10%29.aspx</a></p>
<p>You can also use <strong>PHP</strong>. In php ver. 5.2 and above there is a function called json_decode tha will be very helpfull. But in earlier versions you can use some code like this:</p>
<p>echo msn_status();</p>
<p>function msn_status() {</p>
<p>if ( !function_exists(&#8216;json_decode&#8217;) ) {<br />
function json_decode($json) {<br />
// Author: walidator.info 2009<br />
$comment = false;<br />
$out = &#8216;$x=&#8217;;</p>
<p>for ($i=0; $i&lt;strlen($json); $i++)<br />
{<br />
if (!$comment)<br />
{<br />
if ($json[$i] == &#8216;{&#8216;)        $out .= &#8216; array(&#8216;;<br />
else if ($json[$i] == &#8216;}&#8217;)   $out .= &#8216;)&#8217;;<br />
else if ($json[$i] == &#8216;:&#8217;)   $out .= &#8216;=&gt;&#8217;;<br />
else                         $out .= $json[$i];<br />
}<br />
else $out .= $json[$i];<br />
if ($json[$i] == &#8216;&#8221;&#8216;)    $comment = !$comment;<br />
}<br />
eval($out . &#8216;;&#8217;);<br />
return $x;<br />
}<br />
}</p>
<p>$url = &#8216;http://messenger.services.live.com/users/&lt;insert_your_id&gt;@apps.messenger.live.com/presence&#8217;;<br />
$file = @ fopen(($url),&#8221;r&#8221;) or die (&#8220;Can&#8217;t read input stream&#8221;);<br />
$json = fread($file,1000);<br />
$obj = json_decode($json);</p>
<p>$status = $obj['status'];<br />
$resultcode = $obj['result']['code'];</p>
<p>if ( ($status != &#8216;Offline&#8217; ) and ($resultcode == 200 ) ) {<br />
return &#8220;ONLINE&#8221;;<br />
}<br />
else {<br />
return &#8220;OFFLINE&#8221;;<br />
}</p>
<p>}</p>
<p>thanks goes to the guy on this post:</p>
<p><a href="http://www.php.net/manual/en/function.json-decode.php#91216">http://www.php.net/manual/en/function.json-decode.php#91216</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/atrias.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/atrias.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/atrias.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/atrias.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/atrias.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/atrias.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/atrias.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/atrias.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/atrias.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/atrias.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/atrias.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/atrias.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/atrias.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/atrias.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=atrias.wordpress.com&amp;blog=9152823&amp;post=48&amp;subd=atrias&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://atrias.wordpress.com/2010/05/07/windows-live-on-your-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ef6569a137236d6df68cb804fa8b731?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">atrias</media:title>
		</media:content>
	</item>
		<item>
		<title>ACER DX900 WiFi in Europe</title>
		<link>http://atrias.wordpress.com/2010/04/12/acer-dx900-wifi-in-europe/</link>
		<comments>http://atrias.wordpress.com/2010/04/12/acer-dx900-wifi-in-europe/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 19:55:44 +0000</pubDate>
		<dc:creator>atrias</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[wifi]]></category>
		<category><![CDATA[windows mobile]]></category>

		<guid isPermaLink="false">http://atrias.wordpress.com/?p=39</guid>
		<description><![CDATA[My Acer DX900 is a Windows Mobile phone with WiFi. When I tried to connect to a channel 13 AP  the AP could not be discovered! After some googling i found out that the wifi (Marvel GSPI 8686) was setup for USA and not Europe! All I had to do was change this registry key: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=atrias.wordpress.com&amp;blog=9152823&amp;post=39&amp;subd=atrias&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My Acer DX900 is a Windows Mobile phone with WiFi. When I tried to connect to a channel 13 AP  the AP could not be discovered! After some googling i found out that the wifi (Marvel GSPI 8686) was setup for USA and not Europe!</p>
<p><span id="more-39"></span>All I had to do was change this registry key:</p>
<p>HKLM\Comm\GSPI86861\Parms\RegionCode</p>
<p>for Europe I changed the key to 0&#215;30 (HEX) and reboot the phone!</p>
<p>the available region codes are:</p>
<p>0&#215;10 USA FCC,</p>
<p>0&#215;20 Canada IC</p>
<p>0&#215;30 Europe ETSI</p>
<p>0&#215;31 Spain</p>
<p>0&#215;32 France</p>
<p>0&#215;40 JP MKK</p>
<p>thanks to:</p>
<p><a href="http://www.eten-users.eu/index.php?showtopic=18122">http://www.eten-users.eu/index.php?showtopic=18122</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/atrias.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/atrias.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/atrias.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/atrias.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/atrias.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/atrias.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/atrias.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/atrias.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/atrias.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/atrias.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/atrias.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/atrias.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/atrias.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/atrias.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=atrias.wordpress.com&amp;blog=9152823&amp;post=39&amp;subd=atrias&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://atrias.wordpress.com/2010/04/12/acer-dx900-wifi-in-europe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ef6569a137236d6df68cb804fa8b731?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">atrias</media:title>
		</media:content>
	</item>
		<item>
		<title>Message Threads in Thunderbird 3</title>
		<link>http://atrias.wordpress.com/2010/03/08/message-threads-in-thunderbird-3/</link>
		<comments>http://atrias.wordpress.com/2010/03/08/message-threads-in-thunderbird-3/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 20:31:54 +0000</pubDate>
		<dc:creator>atrias</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Thunderbird]]></category>

		<guid isPermaLink="false">http://atrias.wordpress.com/?p=33</guid>
		<description><![CDATA[By default, Thunderbird 3 uses strict threading which means that threading by subject is disabled. There are two settings that control this behaviour though: mail.strict_threading and mail.thread_without_re. The first setting enables/disables threading by subject while the second allows subject-threading even if “Re:” isn’t present. There is also a setting new to the 3.x branch called [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=atrias.wordpress.com&amp;blog=9152823&amp;post=33&amp;subd=atrias&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>By default, Thunderbird 3 uses strict threading which means that threading by subject is disabled. There are two settings that control this behaviour though: <strong>mail.strict_threading</strong> and <strong>mail.thread_without_re</strong>. The first setting enables/disables threading by subject while the second allows subject-threading even if “Re:” isn’t present. There is also a setting new to the 3.x branch called <strong>mail.correct_threading</strong> which threads correctly regardless of the order messages are added to a folder.</p>
<p><span id="more-33"></span>All of this means we need to toggle the three thread-related settings from their default value in order to get the behaviour I expect. To do so we go to <strong>Edit -&gt; Preferences -&gt; Advanced -&gt; Config Editor</strong>. After promising to be careful we filter for “thread” and observe the following settings and their values:</p>
<ul>
<li><strong>mail.correct_threading</strong> with default value true</li>
<li><strong>mail.strict_threading</strong> with default value true</li>
<li><strong>mail.thread_without_re</strong> with default value false</li>
</ul>
<p>Now we double-click each of these to change their value and close the dialog. Then for each folder we need to go to <strong>Edit -&gt; Folder Properties -&gt; Rebuild Index</strong>.  Now Thunderbird 3 should display messages in each folder threaded in exactly the same way as had the previous version!</p>
<p>bonus tip for ThunderBird 2</p>
<p>In TB2 if you are viewing messages in threaded view, clicking on a column name (other than the thread column) will turn off threaded view. If we want to keep threaded view on we must go to the Config Editor as above, search for the preference <strong>mailnews.thread_pane_column_unthreads</strong> and double click to change its value to false. In TB3 this is by default set to false so not change is needed.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/atrias.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/atrias.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/atrias.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/atrias.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/atrias.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/atrias.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/atrias.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/atrias.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/atrias.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/atrias.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/atrias.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/atrias.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/atrias.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/atrias.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=atrias.wordpress.com&amp;blog=9152823&amp;post=33&amp;subd=atrias&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://atrias.wordpress.com/2010/03/08/message-threads-in-thunderbird-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ef6569a137236d6df68cb804fa8b731?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">atrias</media:title>
		</media:content>
	</item>
		<item>
		<title>install Windows Live Messenger 2009 in odd OSes</title>
		<link>http://atrias.wordpress.com/2010/03/08/install-windows-live-messenger-2009-in-odd-oses/</link>
		<comments>http://atrias.wordpress.com/2010/03/08/install-windows-live-messenger-2009-in-odd-oses/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 20:09:38 +0000</pubDate>
		<dc:creator>atrias</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[msn]]></category>
		<category><![CDATA[windows live messenger]]></category>

		<guid isPermaLink="false">http://atrias.wordpress.com/?p=27</guid>
		<description><![CDATA[If you try to install Windows Live Messenger on Windows XP 64 bit or on Windows Server 2003 using the default MS installer you get an error stating that all Windows Live Essentials are not compatible with the running OS. This is not entirely true. What is not compatible is the live installer and not [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=atrias.wordpress.com&amp;blog=9152823&amp;post=27&amp;subd=atrias&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you try to install Windows Live Messenger on Windows XP 64 bit or on Windows Server 2003 using the default MS installer you get an error stating that all Windows Live Essentials are not compatible with the running OS. This is not entirely true. What is not compatible is the live installer and not the programs themselves!! So this is the procedure to get the standalone installer for Windows Live Messenger 2009 so that you can install it to any windows OS (I have managed to install it on Win 2K3!)</p>
<p><span id="more-27"></span>First you need to download and install WLM to a supported OS</p>
<p>Then if you browse to <strong>C:\Program Files\Common Files\Windows Live\.cache</strong> you will find some folders with arbitrary names. In one of those folders you will find the &#8220;Messenger.msi&#8221; file which is the installer we were looking for. In the rest of the folders you will find the following files which might become handy if you face any problems:</p>
<ul>
<li>Contacts.msi (for contacts)</li>
<li>dw20shared.msi (DW 2.0 Client)</li>
<li>crt.msi (MS Visual Studio Runtime)</li>
</ul>
<p>In my case (win 2K3) i had to install (besides Messenger.msi) the crt.msi and the Contacts.msi</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/atrias.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/atrias.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/atrias.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/atrias.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/atrias.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/atrias.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/atrias.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/atrias.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/atrias.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/atrias.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/atrias.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/atrias.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/atrias.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/atrias.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=atrias.wordpress.com&amp;blog=9152823&amp;post=27&amp;subd=atrias&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://atrias.wordpress.com/2010/03/08/install-windows-live-messenger-2009-in-odd-oses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ef6569a137236d6df68cb804fa8b731?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">atrias</media:title>
		</media:content>
	</item>
		<item>
		<title>VMware ESXi</title>
		<link>http://atrias.wordpress.com/2009/10/21/vmware-esxi/</link>
		<comments>http://atrias.wordpress.com/2009/10/21/vmware-esxi/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 18:41:43 +0000</pubDate>
		<dc:creator>atrias</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[esxi]]></category>
		<category><![CDATA[virtual machines]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://atrias.wordpress.com/?p=24</guid>
		<description><![CDATA[VMware ESXi is a bare-metal hypervisor. That means that you install it as you would install any other OS and on top of it run your virtual machines. You could ask why not use a VMware server on top of a linux installation. Well it&#8217;s because you would have to administer one more linux box [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=atrias.wordpress.com&amp;blog=9152823&amp;post=24&amp;subd=atrias&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.vmware.com/products/esxi/">VMware ESXi</a> is a bare-metal hypervisor. That means that you install it as you would install any other OS and on top of it run your virtual machines. You could ask why not use a VMware server on top of a linux installation. Well it&#8217;s because you would have to administer one more linux box with every problem that this would cause (updates that brake stuff, etc). Also ESXi uses minimal resources compared to a VMware server on top of another OS.</p>
<p>The best  news is that ESXi is <strong>FREE</strong>! You just need to register to the VMware website in order to obtain your free license key (as was the case with VMware server). After that you install it on your server, make some configuration changes (IP address and root password specifically). Then you can connect with your browser to your new ESXi server and download the Infrastructure Client through which you can administer the virtual machines and the ESXi server.</p>
<p>Some tips to get you started can be found <a href="http://kuparinen.org/martti/comp/vmware/esxichecklist.html">here</a>.</p>
<p>Good luck!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/atrias.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/atrias.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/atrias.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/atrias.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/atrias.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/atrias.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/atrias.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/atrias.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/atrias.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/atrias.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/atrias.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/atrias.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/atrias.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/atrias.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=atrias.wordpress.com&amp;blog=9152823&amp;post=24&amp;subd=atrias&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://atrias.wordpress.com/2009/10/21/vmware-esxi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ef6569a137236d6df68cb804fa8b731?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">atrias</media:title>
		</media:content>
	</item>
		<item>
		<title>(Summary) report in plesk 9.x</title>
		<link>http://atrias.wordpress.com/2009/09/09/summary-report-in-plesk-9-x/</link>
		<comments>http://atrias.wordpress.com/2009/09/09/summary-report-in-plesk-9-x/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 16:57:43 +0000</pubDate>
		<dc:creator>atrias</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[plesk]]></category>
		<category><![CDATA[report]]></category>

		<guid isPermaLink="false">http://atrias.wordpress.com/?p=17</guid>
		<description><![CDATA[In Plesk 8.x you can find a very useful report about space used by each section of a domain (page, mail, logs, etc) by clicking the icon seen in picture 1 below. In plesk 9.x this kind of report is a little hidden. You have to click on the &#8220;Statistics&#8221; label of the domain and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=atrias.wordpress.com&amp;blog=9152823&amp;post=17&amp;subd=atrias&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In Plesk 8.x you can find a very useful report about space used by each section of a domain (page, mail, logs, etc) by clicking the icon seen in picture 1 below. In plesk 9.x this kind of report is a little hidden. You have to click on the &#8220;Statistics&#8221; label of the domain and then a drop down menu will reveal this option as seen in picture 2.</p>

<a href='http://atrias.wordpress.com/2009/09/09/summary-report-in-plesk-9-x/plesk8/' title='plesk8'><img data-attachment-id='18' data-orig-size='532,187' data-liked='0'width="150" height="52" src="http://atrias.files.wordpress.com/2009/09/plesk8.jpg?w=150&#038;h=52" class="attachment-thumbnail" alt="plesk8" title="plesk8" /></a>
<a href='http://atrias.wordpress.com/2009/09/09/summary-report-in-plesk-9-x/plesk9/' title='plesk9'><img data-attachment-id='19' data-orig-size='593,475' data-liked='0'width="150" height="120" src="http://atrias.files.wordpress.com/2009/09/plesk9.jpg?w=150&#038;h=120" class="attachment-thumbnail" alt="plesk9" title="plesk9" /></a>

<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/atrias.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/atrias.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/atrias.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/atrias.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/atrias.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/atrias.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/atrias.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/atrias.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/atrias.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/atrias.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/atrias.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/atrias.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/atrias.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/atrias.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=atrias.wordpress.com&amp;blog=9152823&amp;post=17&amp;subd=atrias&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://atrias.wordpress.com/2009/09/09/summary-report-in-plesk-9-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ef6569a137236d6df68cb804fa8b731?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">atrias</media:title>
		</media:content>

		<media:content url="http://atrias.files.wordpress.com/2009/09/plesk8.jpg?w=150" medium="image">
			<media:title type="html">plesk8</media:title>
		</media:content>

		<media:content url="http://atrias.files.wordpress.com/2009/09/plesk9.jpg?w=150" medium="image">
			<media:title type="html">plesk9</media:title>
		</media:content>
	</item>
		<item>
		<title>How to run .cgi and .pl scripts outside of the cgi-bin dir in plesk</title>
		<link>http://atrias.wordpress.com/2009/09/06/how-to-run-cgi-and-pl-scripts-outside-of-the-cgi-bin-dir-in-plesk/</link>
		<comments>http://atrias.wordpress.com/2009/09/06/how-to-run-cgi-and-pl-scripts-outside-of-the-cgi-bin-dir-in-plesk/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 12:02:05 +0000</pubDate>
		<dc:creator>atrias</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[cgi]]></category>
		<category><![CDATA[plesk]]></category>

		<guid isPermaLink="false">http://atrias.wordpress.com/?p=9</guid>
		<description><![CDATA[This procedure has been tested in Plesk 9 but should work for all versions of plesk as well as apache in general. First of all do not forget to enable CGI through the plesk control panel for the specific domain! After that you should create a &#8220;.htaccess&#8221; file in the directory you wish to run [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=atrias.wordpress.com&amp;blog=9152823&amp;post=9&amp;subd=atrias&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This procedure has been tested in Plesk 9 but should work for all versions of plesk as well as apache in general.</p>
<p>First of all <strong>do not forget to enable CGI</strong> through the plesk control panel for the specific domain!</p>
<p><span id="more-9"></span></p>
<p>After that you should  create a &#8220;.htaccess&#8221; file in the directory you wish to run the scripts and add these lines:</p>
<blockquote><p>DirectoryIndex index.cgi<br />
AddHandler cgi-script .cgi<br />
AddHandler cgi-script .pl<br />
Options +ExecCGI</p></blockquote>
<p>The second and third line instruct the apache server to handel .cgi and .pl files as cgi scripts and the forth instruct it to execute those scipts in this directory (and all subdirectories).</p>
<p>The first line exists so that when you point your browser to the diretory containing the scripts, the index.cgi script is executed without you having to specify its name (index.cgi) in the browser address bar.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/atrias.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/atrias.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/atrias.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/atrias.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/atrias.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/atrias.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/atrias.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/atrias.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/atrias.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/atrias.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/atrias.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/atrias.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/atrias.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/atrias.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=atrias.wordpress.com&amp;blog=9152823&amp;post=9&amp;subd=atrias&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://atrias.wordpress.com/2009/09/06/how-to-run-cgi-and-pl-scripts-outside-of-the-cgi-bin-dir-in-plesk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ef6569a137236d6df68cb804fa8b731?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">atrias</media:title>
		</media:content>
	</item>
		<item>
		<title>Retrieve clear text email passwords in plesk</title>
		<link>http://atrias.wordpress.com/2009/09/04/retrieve-clear-text-email-passwords-in-plesk/</link>
		<comments>http://atrias.wordpress.com/2009/09/04/retrieve-clear-text-email-passwords-in-plesk/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 23:43:58 +0000</pubDate>
		<dc:creator>atrias</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[email password]]></category>
		<category><![CDATA[plesk]]></category>

		<guid isPermaLink="false">http://atrias.wordpress.com/?p=6</guid>
		<description><![CDATA[I will start my blog with some useful info i found today about the plesk hosting control panel. There is a way to retrieve email passwords in clear text thus not having to reset them if they are lost. This was tested and worked in plesk 8.4 and pleks 9.2. Inspiration came from this page [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=atrias.wordpress.com&amp;blog=9152823&amp;post=6&amp;subd=atrias&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I will start my blog with some useful info i found today about the plesk hosting control panel.  There is a way to retrieve email passwords in clear text thus not having to reset them if they are lost. This was tested and worked in plesk 8.4 and pleks 9.2. Inspiration came from <a title="View All Email Account Passwords in Plesk" href="http://www.search-this.com/2007/02/07/view-all-email-account-passwords-in-plesk/" target="_blank">this</a> page but as my SQL knowledge is not that good i used the phpmyadmin feature of plesk to gain access to the database.</p>
<p>So to open up phpmyadmin you follow this route on the control panel</p>
<p>in plesk 8.4 : Server -&gt; Database Servers -&gt; Local MySQL server -&gt; Databases -&gt; DB WebAdmin</p>
<p>in plesk 9.2 : Home -&gt; Database Servers -&gt; Local MySQL server -&gt; Databases -&gt; WebAdmin</p>
<p>From (Databases) on the left you select &#8220;psa&#8221; database and then on the new menu on the left you select the &#8220;domains&#8221; table, click browse and find the id of the domain whose account you are looking for.  Then you select the &#8220;mail&#8221; table, click browse again and find the dom_id (last column) that matches the id you found earlier. Then you can see the mail accounts of the domain and their respective account_ids and you can find the account_id of the email that interests you. So now you select the &#8220;accounts&#8221; table, click browse, find the proper id (obtained from the previous step) and edit that row (the pencil icon) to see the account password in clear text.</p>
<p>I also tried changing this value in an attempt to change the specific password. It didn&#8217;t work because i could still login with the old password so don&#8217;t mind trying this.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/atrias.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/atrias.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/atrias.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/atrias.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/atrias.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/atrias.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/atrias.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/atrias.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/atrias.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/atrias.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/atrias.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/atrias.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/atrias.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/atrias.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=atrias.wordpress.com&amp;blog=9152823&amp;post=6&amp;subd=atrias&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://atrias.wordpress.com/2009/09/04/retrieve-clear-text-email-passwords-in-plesk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ef6569a137236d6df68cb804fa8b731?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">atrias</media:title>
		</media:content>
	</item>
	</channel>
</rss>
