<?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>Yet another Tech Blog &#187; Web</title>
	<atom:link href="http://www.yatblog.com/category/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yatblog.com</link>
	<description>The freshest &#38; hottest solutions, not just pointless and endless discussions. Finally a tech blog you can use!</description>
	<lastBuildDate>Mon, 16 Feb 2009 18:36:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Think twice about getting that Virtual Private Server</title>
		<link>http://www.yatblog.com/2007/08/07/think-twice-about-getting-that-virtual-private-server/</link>
		<comments>http://www.yatblog.com/2007/08/07/think-twice-about-getting-that-virtual-private-server/#comments</comments>
		<pubDate>Tue, 07 Aug 2007 16:38:30 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.yatblog.com/2007/08/07/think-twice-about-getting-that-virtual-private-server/</guid>
		<description><![CDATA[Virtual Private Servers have become a popular choice over the last couple of years. Products such as Virtuozzo, its open-source sibling OpenVZ and even XEN, have made it relatively easy for web hosting companies to implement virtual hosting technology for their clients at a reasonable cost. Virtual Private Servers are the poor man&#8217;s dedicated server, [...]]]></description>
			<content:encoded><![CDATA[<p>Virtual Private Servers have become a popular choice over the last couple of years. Products such as Virtuozzo, its open-source sibling OpenVZ and even XEN, have made it relatively easy for web hosting companies to implement virtual hosting technology for their clients at a reasonable cost. Virtual Private Servers are the poor man&#8217;s dedicated server, even though this might sound a bit harsh.</p>
<p>With a VPS, you get the ability to maintain and modify almost every aspect of the system (except the kernel). This is great if you have some special needs, like a web application that needs MySQL with InnoDB Storage support enabled (most shared hosting offers do not include InnoDB support) or you just want one for your own needs like backups or source control using Subversion where flexibility is more important than being able to support a huge amount of simultaneous requests. A VPS will serve you just fine in one of these cases.</p>
<p>But beware if you get a lot of visitors on your website. I have conducted benchmarks with several VPS hosts, none of them were as fast as the shared hosting provider I&#8217;m currently using. Sure I didn&#8217;t optimize the Apache, PHP and MySQL config files as much as my professional web host has, but all VPS&#8217; were at least 10 times slower than my shared host. Even the big ones with 1024 MB of RAM. If you install all of the services your average shared hosting company provides (DNS, Mail, Anti-Spam, Anti-Virus), performance will decline even more.</p>
<p>So, given the fact that most people don&#8217;t need the flexibility provided by Virtual Private Servers (let&#8217;s be honest, a normal LAMP installation will do for most of your hosting needs), they get less speed and they have to do all of the administrative tasks themselves (using Plesk usually doesn&#8217;t get the whole job done). If you want to make sure your LAMP installation is secure, you will have to invest even more time.</p>
<p>I hope I could open your eyes for some issues if you&#8217;re going to use a Virtual Private Server. If you still think a VPS is right for you, check out different providers and ask them for a trial period or make sure, they provide short-term contracts so you can bail out after a few months if you&#8217;re unhappy with their service.</p>
<p class="akst_link"><a href="http://www.yatblog.com/?p=180&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_180" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.yatblog.com/2007/08/07/think-twice-about-getting-that-virtual-private-server/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>A CSS Framework</title>
		<link>http://www.yatblog.com/2007/08/05/a-css-framework/</link>
		<comments>http://www.yatblog.com/2007/08/05/a-css-framework/#comments</comments>
		<pubDate>Sun, 05 Aug 2007 11:42:38 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.yatblog.com/2007/08/05/a-css-framework/</guid>
		<description><![CDATA[I just found a nice CSS framework here. I have not thoroughly tested it out, yet, but this should be extremely useful, since every developer starts to use some kind of CSS sheet with default stuff in it, so they don&#8217;t have to reinvent the wheel each time. The Blueprint framework is a much more [...]]]></description>
			<content:encoded><![CDATA[<p>I just found a nice CSS framework <a title="Blueprint" href="http://bjorkoy.com/blueprint/index.html">here</a>. I have not thoroughly tested it out, yet, but this should be extremely useful, since every developer starts to use some kind of CSS sheet with default stuff in it, so they don&#8217;t have to reinvent the wheel each time. The <a title="Blueprint" href="http://bjorkoy.com/blueprint/index.html">Blueprint</a> framework is a much more ambitious project though. There are many people involved, to make it as bug-free and generic as possible. So that every project, no matter how exotic the requirements are, can benefit from a fast start by using the <a title="Blueprint" href="http://bjorkoy.com/blueprint/index.html">Blueprint</a> framework. Here are the features according to the Blueprint website:</p>
<ul>
<li>An easily customizable grid</li>
<li>Sensible typography</li>
<li>A baseline (like the background here)</li>
<li>Perfected CSS reset</li>
<li>A stylesheet for printing</li>
<li>No bloat of any kind</li>
</ul>
<p><strong>Update: </strong>Darren has created a nice guide on how to start working with Blueprint. Check out the guide over <a title="Blueprint Guide" href="http://gamemakker.co.uk/2007/08/05/blueprint-a-css-framework/">here</a>.</p>
<p class="akst_link"><a href="http://www.yatblog.com/?p=179&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_179" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.yatblog.com/2007/08/05/a-css-framework/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Huge List with AJAX Scripts</title>
		<link>http://www.yatblog.com/2007/06/20/huge-list-with-ajax-scripts/</link>
		<comments>http://www.yatblog.com/2007/06/20/huge-list-with-ajax-scripts/#comments</comments>
		<pubDate>Wed, 20 Jun 2007 21:51:45 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.yatblog.com/2007/06/20/huge-list-with-ajax-scripts/</guid>
		<description><![CDATA[The folks over at Smashing Magazine have put an awesome list together that every web developer should take a look at. It&#8217;s surely going to jump-start your project in terms of AJAX. Here&#8217;s the link.
Share This
]]></description>
			<content:encoded><![CDATA[<p>The folks over at Smashing Magazine have put an awesome list together that every web developer should take a look at. It&#8217;s surely going to jump-start your project in terms of AJAX. Here&#8217;s the <a target="_blank" title="AJAX List" href="http://www.smashingmagazine.com/2007/06/20/ajax-javascript-solutions-for-professional-coding/">link</a>.</p>
<p class="akst_link"><a href="http://www.yatblog.com/?p=176&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_176" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.yatblog.com/2007/06/20/huge-list-with-ajax-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test your Web Application&#8217;s Performance</title>
		<link>http://www.yatblog.com/2007/04/23/test-your-web-applications-performance/</link>
		<comments>http://www.yatblog.com/2007/04/23/test-your-web-applications-performance/#comments</comments>
		<pubDate>Mon, 23 Apr 2007 14:04:08 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[jMeter]]></category>

		<guid isPermaLink="false">http://www.yatblog.com/2007/04/23/testing-your-web-applications-performance/</guid>
		<description><![CDATA[Is it just me, or is like everyone these days developing some kind of web application on the side? Web applications really have arrived and are rapidly becoming even more popular than traditional desktop applications. There are numerous reasons why that&#8217;s the case:

No installation on client&#8217;s architecture needed (no maintenance on the client-side!)
Your application is [...]]]></description>
			<content:encoded><![CDATA[<p><img align="left" alt="Apache jMeter Logo" id="image175" title="Apache jMeter Logo" src="http://www.yatblog.com/wp-content/uploads/2007/04/logo.thumbnail.jpg" />Is it just me, or is like everyone these days developing some kind of web application on the side? Web applications really have arrived and are rapidly becoming even more popular than traditional desktop applications. There are numerous reasons why that&#8217;s the case:</p>
<ul>
<li>No installation on client&#8217;s architecture needed (no maintenance on the client-side!)</li>
<li>Your application is always up to date</li>
<li>You can use a various billing models (monthly, yearly, even per usage)</li>
</ul>
<p>But shifting away from an employee&#8217;s personal desktop or a local network server to some kind of web server (or a load-balanced server-farm) can cause some serious problems. Web apps tend to slow down the more people use them. One way to fight this (not directly, though), is using a sophisticated test tool. The testing itself won&#8217;t fix your web app&#8217;s performance issues, but it will provide you with a good and reliable way to measure performance while you&#8217;re tuning some aspects like the web or database server&#8217;s configuration. Getting more out of your servers really depends on how accurately you can measure the changes you&#8217;ve made to various configurations.</p>
<p>This is where Apache Jakarta&#8217;s jMeter comes into play. Commercial testing applications easily cost thousands of dollars and are often a nightmare to use, thus requiring training courses for their users to attend which make them even more expensive. Apache&#8217;s jMeter is an open-source application providing you with most features you will ever need to test your servers or applications. It&#8217;s usability also leaves some space for improvement, but hey, at least it&#8217;s free! In this tutorial we will create a simple, but effective web-stress test for an URL. JMeter is capable of doing a lot more than that, you can even test your web application&#8217;s GUI and the GUI&#8217;s results (although I recommend the much easier to use <a title="Badboy - Web Testing for the Masses" target="_blank" href="http://www.badboy.com.au/">Badboy</a> for GUI testing purposes). Here&#8217;s a screenshot of Badboy (only available for Windows):<a href="http://www.badboy.com.au/"><br />
</a><a class="imagelink" title="fsscreenshot" href="http://www.yatblog.com/wp-content/uploads/2007/04/fsscreenshot.png"><img id="image174" alt="fsscreenshot" title="fsscreenshot" src="http://www.yatblog.com/wp-content/uploads/2007/04/fsscreenshot.thumbnail.png" /></a></p>
<p>JMeter in my opinion is perfect for stress-testing your web app, so let&#8217;s take a look at the steps to do just that:</p>
<ol>
<li>Download and install jMeter from Apache&#8217;s Website    <a title="Apache jMeter" target="_blank" href="http://jakarta.apache.org/jmeter/index.html">here</a>. JMeter is Java application, so it will work on a wide variety of operating systems (get the binary zip, it should work for all platforms and make sure you&#8217;re running a decent Java Virtual Machine). I recommend not to use Windows for serious stress testing of higher-end servers due to Windows&#8217; TCP/IP concurrent connections limitations.</li>
<li>After firing up jMeter, you will be greeted by the following screen, change the name of “Test Plan” to something more meaningful.<br />
<a class="imagelink" title="1" href="http://www.yatblog.com/wp-content/uploads/2007/04/1.png"><img id="image162" alt="1" src="http://www.yatblog.com/wp-content/uploads/2007/04/1.thumbnail.png" /></a></li>
<li>Now add a Thread Group, which is just what it says, a group of threads, which we will use, to access our web app with simultaneous connections and thus creating the load.<br />
<a title="2" class="imagelink" href="http://www.yatblog.com/wp-content/uploads/2007/04/2.png"><img alt="2" id="image163" src="http://www.yatblog.com/wp-content/uploads/2007/04/2.thumbnail.png" /></a></li>
<li>After we added a Thread Group, we need to adjust it to our needs. Number of Threads specifies the amount of concurrent users. The ramp-up period specifies the period after which the full amount of users will access the web application. The loop count indicates how many cycles with those settings above should be run. In our example (50 * 10) this results in 500 users. This is a good amount to start with, it provides you with good details about your server&#8217;s performance but shouldn&#8217;t make it crash.<br />
<a title="3" class="imagelink" href="http://www.yatblog.com/wp-content/uploads/2007/04/3.png"><img alt="3" id="image164" src="http://www.yatblog.com/wp-content/uploads/2007/04/3.thumbnail.png" /></a></li>
<li>Let&#8217;s add an HTTP request sampler. As you can see, jMeter shows us a lot of other request sampler&#8217;s as well, like ftp, jMeter really shows, how flexible it is and that you can even stress-test ftp servers without much effort!<br />
<a class="imagelink" title="4" href="http://www.yatblog.com/wp-content/uploads/2007/04/4.png"><img id="image165" alt="4" src="http://www.yatblog.com/wp-content/uploads/2007/04/4.thumbnail.png" /></a></li>
<li>As we have added an HTTP request sampler, we now need to configure it. Under “server name” enter your URL (without the HTTP part). If you want to check the root folder of that URL, just enter forward slash (“/”) as the path.<br />
<a class="imagelink" title="5" href="http://www.yatblog.com/wp-content/uploads/2007/04/5.png"><img id="image166" alt="5" src="http://www.yatblog.com/wp-content/uploads/2007/04/5.thumbnail.png" /></a></li>
<li>The HTTP request sample is complete. We will now add a “Gaussian Random Timer” to the HTTP request. This will time the breaks between the connections in a more random fashion, so reflects the real world a lot better. Configure the Gaussian Random Timer according to the screenshot.<br />
<a title="6" class="imagelink" href="http://www.yatblog.com/wp-content/uploads/2007/04/6.png"><img alt="6" id="image167" src="http://www.yatblog.com/wp-content/uploads/2007/04/6.thumbnail.png" /></a><a title="7" class="imagelink" href="http://www.yatblog.com/wp-content/uploads/2007/04/7.png"><img alt="7" id="image168" src="http://www.yatblog.com/wp-content/uploads/2007/04/7.thumbnail.png" /></a></li>
<li>To see what&#8217;s happening, we need some reports! Let&#8217;s add a report with graphic visualization: Select “Graph Results”.<br />
<a title="8" class="imagelink" href="http://www.yatblog.com/wp-content/uploads/2007/04/8.png"><img alt="8" id="image169" src="http://www.yatblog.com/wp-content/uploads/2007/04/8.thumbnail.png" /></a></li>
<li>To see raw numbers (which is also great if you want to export your data to Excel and create your own custom reports and graphs, add “Aggregate Report”.<br />
<a title="9" class="imagelink" href="http://www.yatblog.com/wp-content/uploads/2007/04/9.png"><img alt="9" id="image170" src="http://www.yatblog.com/wp-content/uploads/2007/04/9.thumbnail.png" /></a></li>
<li>We&#8217;re done building our test plan. Hit Ctrl + R and run the thing! Your reports should look something like this:<br />
<a class="imagelink" title="11" href="http://www.yatblog.com/wp-content/uploads/2007/04/11.png"><img id="image173" alt="11" src="http://www.yatblog.com/wp-content/uploads/2007/04/11.thumbnail.png" /></a></li>
</ol>
<p>I hope this first tutorial really gets you started with jMeter. I&#8217;m planning on posting a lot more tutorials and tips about jMeter in the near future as I get to know it better myself. If you have any questions or want to give me some feedback, go ahead and post a comment.</p>
<p><a href="http://jakarta.apache.org/site/downloads/downloads_jmeter.cgi"><br clear="left" /></a></p>
<p class="akst_link"><a href="http://www.yatblog.com/?p=161&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_161" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.yatblog.com/2007/04/23/test-your-web-applications-performance/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>lightweight alternative to PHPMyAdmin</title>
		<link>http://www.yatblog.com/2007/03/06/lightweight-alternative-to-phpmyadmin/</link>
		<comments>http://www.yatblog.com/2007/03/06/lightweight-alternative-to-phpmyadmin/#comments</comments>
		<pubDate>Tue, 06 Mar 2007 13:27:13 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.yatblog.com/2007/03/06/lightweight-alternative-to-phpmyadmin/</guid>
		<description><![CDATA[PHPMiniAdmin is an extremely small alternative to the big, heavy and sometimes slow PHPMyAdmin.
PHPMiniAdmin seems to incorporate only the most basic features, so it might not appeal to everyone. But certainly to those, who are feeling comfortable with SQL and who prefer speed over functionality.
Check out the screenshot below:

The projects homepage can be found here: [...]]]></description>
			<content:encoded><![CDATA[<p>PHPMiniAdmin is an extremely small alternative to the big, heavy and sometimes slow PHPMyAdmin.<br />
PHPMiniAdmin seems to incorporate only the most basic features, so it might not appeal to everyone. But certainly to those, who are feeling comfortable with SQL and who prefer speed over functionality.</p>
<p>Check out the screenshot below:</p>
<p><a class="imagelink" href="http://www.yatblog.com/wp-content/uploads/2007/03/6.jpg" title="PHPMiniAdmin 6"><img id="image144" src="http://www.yatblog.com/wp-content/uploads/2007/03/6.thumbnail.jpg" alt="PHPMiniAdmin 6" /></a><a class="imagelink" href="http://www.yatblog.com/wp-content/uploads/2007/03/5.jpg" title="PHPMiniAdmin 5"><img id="image143" src="http://www.yatblog.com/wp-content/uploads/2007/03/5.thumbnail.jpg" alt="PHPMiniAdmin 5" /></a><a class="imagelink" href="http://www.yatblog.com/wp-content/uploads/2007/03/4.jpg" title="PHPMiniAdmin 4"><img id="image142" src="http://www.yatblog.com/wp-content/uploads/2007/03/4.thumbnail.jpg" alt="PHPMiniAdmin 4" /></a><a class="imagelink" href="http://www.yatblog.com/wp-content/uploads/2007/03/3.jpg" title="PHPMiniAdmin 3"><img id="image141" src="http://www.yatblog.com/wp-content/uploads/2007/03/3.thumbnail.jpg" alt="PHPMiniAdmin 3" /></a><a class="imagelink" href="http://www.yatblog.com/wp-content/uploads/2007/03/2.jpg" title="PHPMiniAdmin 2"><img id="image140" src="http://www.yatblog.com/wp-content/uploads/2007/03/2.thumbnail.jpg" alt="PHPMiniAdmin 2" /></a></p>
<p>The projects homepage can be found here: <a href="http://phpminiadmin.sourceforge.net">http://phpminiadmin.sourceforge.net</a></p>
<p class="akst_link"><a href="http://www.yatblog.com/?p=145&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_145" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.yatblog.com/2007/03/06/lightweight-alternative-to-phpmyadmin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to create your own SSL Certificate</title>
		<link>http://www.yatblog.com/2007/02/27/how-to-create-a-ssl-certificate/</link>
		<comments>http://www.yatblog.com/2007/02/27/how-to-create-a-ssl-certificate/#comments</comments>
		<pubDate>Tue, 27 Feb 2007 15:46:46 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Best of]]></category>
		<category><![CDATA[Other]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.yatblog.com/2007/02/27/how-to-create-a-ssl-certificate/</guid>
		<description><![CDATA[The openssl toolkit is typically used to generate an RSA Private Key and a CSR (Certificate Signing Request). But it can also be used to generate self-signed certificates which can be used for testing purposes or internal usage.
Step 1: Generate a Private Key
The first step is to create your RSA Private Key. This key is [...]]]></description>
			<content:encoded><![CDATA[<p>The openssl toolkit is typically used to generate an RSA Private Key and a CSR (Certificate Signing Request). But it can also be used to generate self-signed certificates which can be used for testing purposes or internal usage.</p>
<p><strong>Step 1: Generate a Private Key</strong></p>
<p>The first step is to create your RSA Private Key. This key is a 1024 bit RSA key which is encrypted using Triple-DES and stored in a PEM format so that it is readable as ASCII text.</p>
<div class="codesnip-container" >openssl genrsa -des3 -out server.key 1024</div>
<p><strong>Step 2: Generate a CSR (Certificate Signing Request)</strong></p>
<p>Once the private key is generated a Certificate Signing Request can be generated. The CSR is then used in one of two ways. Ideally, the CSR will be sent to a Certificate Authority, such as Thawte or Verisign who will verify the identity of the requestor and issue a signed certificate. The second option is to self-sign the CSR, which will be demonstrated in the next section.</p>
<p>During the generation of the CSR, you will be prompted for several pieces of information. These are the X.509 attributes of the certificate. One of the prompts will be for &#8220;Common Name (e.g., YOUR name)&#8221;. It is important that this field be filled in with the fully qualified domain name of the server to be protected by SSL. If the website to be protected will be https://www.yatblog.com, then enter www.yatblog.com at this prompt. If you want to create a so called “wildcard” certificate, which means the same certificate can be used on an unlimited number of subdomains,  just enter an asterisk as the hostname, in our example that would be *.yatblog.com. The command to generate the CSR is as follows:</p>
<div class="codesnip-container" >openssl req -new -key server.key -out server.csr</div>
<p><strong>Step 3: Remove Passphrase from Key</strong></p>
<p>One unfortunate side-effect of the pass-phrased private key is that Apache will ask for the pass-phrase each time the web server is started. Obviously this is not necessarily convenient as someone will not always be around to type in the pass-phrase, such as after a reboot or crash. mod_ssl includes the ability to use an external program in place of the built-in pass-phrase dialog, however, this is not necessarily the most secure option either. It is possible to remove the Triple-DES encryption from the key, thereby no longer needing to type in a pass-phrase. If the private key is no longer encrypted, it is critical that this file only be readable by the root user! If your system is ever compromised and a third party obtains your unencrypted private key, the corresponding certificate will need to be revoked. With that being said, use the following command to remove the pass-phrase from the key:</p>
<div class="codesnip-container" >cp server.key server.key.org<br />
openssl rsa -in server.key.org -out server.key</div>
<p>The newly created server.key file has no passphrase in it anymore.</p>
<div class="codesnip-container" >-rw-r&#8211;r&#8211; 1 root root 745 Jun 29 12:19 server.csr<br />
-rw-r&#8211;r&#8211; 1 root root 891 Jun 29 13:22 server.key<br />
-rw-r&#8211;r&#8211; 1 root root 963 Jun 29 13:22 server.key.org</div>
<p><strong>Step 4: Generating a Self-Signed Certificate</strong></p>
<p>At this point you will need to generate a self-signed certificate because you either don&#8217;t plan on having your certificate signed by a CA, or you wish to test your new SSL implementation while the CA is signing your certificate. This temporary certificate will generate an error in the client browser to the effect that the signing certificate authority is unknown and not trusted.</p>
<p>To generate a temporary certificate which is good for 365 days, issue the following command:</p>
<div class="codesnip-container" >openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt</div>
<p><strong>Step 5: Installing the Private Key and Certificate</strong></p>
<p>When Apache with mod_ssl is installed, it creates several directories in the Apache config directory. The location of this directory will differ depending on how Apache was compiled.</p>
<div class="codesnip-container" >cp server.crt /usr/local/apache/conf/ssl.crt<br />
cp server.key /usr/local/apache/conf/ssl.key</div>
<p><strong>Step 6: Configuring SSL Enabled Virtual Hosts</strong></p>
<div class="codesnip-container" >&lt;VirtualHost www.yourdomain.com:443&gt;<br />
SSLEngine on<br />
SSLCertificateFile /usr/local/apache/conf/ssl.crt/server.crt<br />
SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/server.key<br />
SetEnvIf User-Agent &#8220;.*MSIE.*&#8221; nokeepalive ssl-unclean-shutdown<br />
&lt;/VirtualHost&gt;</div>
<p>If you want to redirect connections to the standard, unencrypted port 80, simply use the following lines:</p>
<div class="codesnip-container" >&lt;VirtualHost mail.design-monster.com:80&gt;<br />
RedirectPermanent / https://www.yourdomain.com<br />
&lt;/VirtualHost&gt;</div>
<p><strong>Step 7: Restart Apache and Test</strong></p>
<div class="codesnip-container" >/etc/init.d/apache2 restart</div>
<p class="akst_link"><a href="http://www.yatblog.com/?p=131&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_131" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.yatblog.com/2007/02/27/how-to-create-a-ssl-certificate/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>Secure AJAX</title>
		<link>http://www.yatblog.com/2006/09/03/secure-ajax/</link>
		<comments>http://www.yatblog.com/2006/09/03/secure-ajax/#comments</comments>
		<pubDate>Sun, 03 Sep 2006 12:57:42 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.yatblog.com/2006/09/03/secure-ajax/</guid>
		<description><![CDATA[Everyone using AJAX knows what it can do to improve your Web App. Well, AJAX when used with a database, can also expose your critical data. To avoid this, the nice people at informit.com have put a pretty good article together which will basically allow you to password protect your AJAX requests on the client-side [...]]]></description>
			<content:encoded><![CDATA[<p>Everyone using AJAX knows what it can do to improve your Web App. Well, AJAX when used with a database, can also expose your critical data. To avoid this, the nice people at informit.com have put a pretty good article together which will basically allow you to password protect your AJAX requests on the client-side and check them on the server-side using PHP. Click <a href="http://www.informit.com/articles/article.asp?p=604094&#038;rl=1" target="_blank">here</a> to read the article.</p>
<p class="akst_link"><a href="http://www.yatblog.com/?p=107&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_107" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.yatblog.com/2006/09/03/secure-ajax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Logo Competition</title>
		<link>http://www.yatblog.com/2006/08/29/logo-competition/</link>
		<comments>http://www.yatblog.com/2006/08/29/logo-competition/#comments</comments>
		<pubDate>Tue, 29 Aug 2006 11:51:26 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.yatblog.com/2006/08/29/logo-competition/</guid>
		<description><![CDATA[Wanna make some money? freeCSScart has launched a Logo Competition. They want you to create an image to go with their existing freeCSScart text logo. They&#8217;re offering $300 to the winner. There are some good submissions already, but none of them are &#8220;killers&#8221;. Check out it here.
About freeCSScart: (from its website)
Imagine the ability to make [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.freecsscart.com/index.php/about-freecsscart/" target="_blank"><img id="image106" src="http://www.yatblog.com/wp-content/uploads/2006/08/freecsscart_competition.gif" alt="freecsscart competition" align="left"/></a>Wanna make some money? freeCSScart has launched a Logo Competition. They want you to create an image to go with their existing freeCSScart text logo. They&#8217;re offering $300 to the winner. There are some good submissions already, but none of them are &#8220;killers&#8221;. Check out it <a href="http://www.freecsscart.com/index.php/about-freecsscart/" target="_blank">here</a>.</p>
<p><strong>About freeCSScart:</strong> (from its website)<br />
Imagine the ability to make a shopping-cart look the way you want. No, not just be able change the background color of a table, but completely change the form and function of a shopping cart with a switch of your css file. Now imagine that it is utilizing 100% CSS2 and xhtml standards. Then, imagine that you could set-up and fully customize this shopping cart in a matter of hours. Finally, imagine that it was Free! This will no longer be just an object of imagination.</p>
<p class="akst_link"><a href="http://www.yatblog.com/?p=105&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_105" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.yatblog.com/2006/08/29/logo-competition/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A nice Blog SEO How to</title>
		<link>http://www.yatblog.com/2006/08/16/a-nice-blog-seo-how-to/</link>
		<comments>http://www.yatblog.com/2006/08/16/a-nice-blog-seo-how-to/#comments</comments>
		<pubDate>Wed, 16 Aug 2006 08:04:23 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://www.yatblog.com/2006/08/16/a-nice-blog-seo-how-to/</guid>
		<description><![CDATA[Pronet Advertising has published a nice little tutorial on how to improve your blog&#8217;s search engine rankings. It provides short, useful, hands-on tips. Code examples are in MovableType and WordPress, so it should appeal to most bloggers out there. Take a look at it here.
Share This
]]></description>
			<content:encoded><![CDATA[<p>Pronet Advertising has published a nice little tutorial on how to improve your blog&#8217;s search engine rankings. It provides short, useful, hands-on tips. Code examples are in MovableType and WordPress, so it should appeal to most bloggers out there. Take a look at it <a href="http://www.pronetadvertising.com/articles/optimizing-your-blog-for-search-engines.html" alt="Blog SEO How to" target="_blank">here</a>.</p>
<p class="akst_link"><a href="http://www.yatblog.com/?p=103&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_103" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.yatblog.com/2006/08/16/a-nice-blog-seo-how-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Synchronize your Firefox Bookmarks across multiple computers</title>
		<link>http://www.yatblog.com/2006/07/14/how-to-synchronize-your-firefox-bookmarks/</link>
		<comments>http://www.yatblog.com/2006/07/14/how-to-synchronize-your-firefox-bookmarks/#comments</comments>
		<pubDate>Fri, 14 Jul 2006 16:24:44 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Product Reviews]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.yatblog.com/2006/07/14/how-to-synchronize-your-firefox-bookmarks/</guid>
		<description><![CDATA[There are a lot of people these days using more than one computer. For example, at home you&#8217;re using a desktop, but when going to campus you’re taking that tiny laptop with you. Or another scenario: You have another desktop at your company’s office which you work on during the day, but you also tend [...]]]></description>
			<content:encoded><![CDATA[<p><img align="left" alt="Foxmarks Logo" id="image71" title="Foxmarks Logo" src="http://www.yatblog.com/wp-content/uploads/2006/07/foxmarks.gif" />There are a lot of people these days using more than one computer. For example, at home you&#8217;re using a desktop, but when going to campus you’re taking that tiny laptop with you. Or another scenario: You have another desktop at your company’s office which you work on during the day, but you also tend to work for a couple of hours from home on weekends.</p>
<p>People surf the web to find useful information and if they do they like to bookmark it for future reference. Now imagine the following situation: There’s an urgent problem at work, you know of a website that addresses most facets of this problem, but you can’t remember its web address (you don’t usually try to remember, because you’re bookmarking them for a reason, right?). Well, you can’t access your bookmarks right now, because they’re at home! You could, of course, export your bookmarks every now and then and import them at work, but who really remembers to do that on a regular basis? Or you could use the great Foxmarks extension for Firefox which does the process of synchronizing your bookmarks automatically for you. It doesn&#8217;t matter if you&#8217;re using Windows, MacOS X or Linux (or another UNIX-based operating system). It runs wherever Firefox runs on. You can use Foxmarks&#8217; server to store your bookmark file on, or you can use your own server (you need an account with write permission on it). Installing and configuring Foxmarks is a breeze. Right after installing it and restarting Firefox, you will be greeted by the Foxmarks initial configuration wizard that takes care of the rest.</p>
<p>You can also access your bookmarks from the web if you&#8217;re on a public terminal or if there&#8217;s no way of getting Firefox installed. So there&#8217;s really no need to use online-only bookmark services anymore, since Foxmarks integrates just so well into your favorite browser and offers a superior experience.</p>
<p>You can download Foxmarks from the <a title="https://addons.mozilla.org/firefox/2410/" target="_blank" href="https://addons.mozilla.org/firefox/2410/">mozilla website</a>.</p>
<p class="akst_link"><a href="http://www.yatblog.com/?p=67&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_67" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.yatblog.com/2006/07/14/how-to-synchronize-your-firefox-bookmarks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
