<?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>Making Life Simple &#187; general web</title>
	<atom:link href="http://www.lalitmehta.com/home/category/general-web/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lalitmehta.com/home</link>
	<description></description>
	<lastBuildDate>Tue, 09 Feb 2010 21:36:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Generate SSL certificate for Tomcat</title>
		<link>http://www.lalitmehta.com/home/2010/01/21/generate-ssl-certificate-for-tomcat/</link>
		<comments>http://www.lalitmehta.com/home/2010/01/21/generate-ssl-certificate-for-tomcat/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 18:21:00 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[general web]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=144</guid>
		<description><![CDATA[Following are the steps to create an real SSL certificate (verified by VeriSign/Thawte etc.) for Tomcat: 1. Creation of keystore keytool -genkey -alias XXX -keyalg RSA -keystore ./XXX.keystore 2. Generation of CSR keytool -certreq -alias XXX -file XXX.csr -keystore ./XXX.keystore Send the generated XXX.csr to the signing authority and get the certificate from them. Save [...]]]></description>
			<content:encoded><![CDATA[<p>Following are the steps to create an real SSL certificate (verified by VeriSign/Thawte etc.) for Tomcat:<br />
1. Creation of keystore<br />
<code>keytool -genkey -alias XXX -keyalg RSA -keystore ./XXX.keystore</code></p>
<p>2. Generation of CSR<br />
<code>keytool -certreq -alias XXX -file XXX.csr -keystore ./XXX.keystore</code><br />
Send the generated XXX.csr to the signing authority and get the certificate from them.  Save that file as &#8220;XXX.thawte&#8221;</p>
<p>3. Install the certificate in the keystore<br />
<code>keytool -import -alias XXX -trustcacerts -file XXX.thawte  -keystore XXX.keystore</code></p>
<p>That&#8217;s it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2010/01/21/generate-ssl-certificate-for-tomcat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>List of Countries</title>
		<link>http://www.lalitmehta.com/home/2010/01/20/list-of-countries/</link>
		<comments>http://www.lalitmehta.com/home/2010/01/20/list-of-countries/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 22:45:10 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[general web]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=140</guid>
		<description><![CDATA[In case you need a list of countries, here is the file]]></description>
			<content:encoded><![CDATA[<p>In case you need a list of countries, here is the <a href="http://www.lalitmehta.com/home/wp-content/uploads/2010/01/countries.xml_.txt">file</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2010/01/20/list-of-countries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Integrate Apache 2 with Tomcat 6</title>
		<link>http://www.lalitmehta.com/home/2010/01/18/integrate-apache-2-with-tomcat-6/</link>
		<comments>http://www.lalitmehta.com/home/2010/01/18/integrate-apache-2-with-tomcat-6/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 20:08:18 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[general web]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=131</guid>
		<description><![CDATA[I have been trying to configure apache/tomcat is such a way that apache comes on the front-end so that I can have all the features of apache like URL rewriting, virtual hosts, PHP etc. and forward only certain requests to tomcat whose only job should be running servlets. I have CentOS installed on my server [...]]]></description>
			<content:encoded><![CDATA[<p>I have been trying to configure apache/tomcat is such a way that apache comes on the front-end so that I can have all the features of apache like URL rewriting, virtual hosts, PHP etc. and forward only certain requests to tomcat whose only job should be running servlets.</p>
<p>I have CentOS installed on my server with Apache 2 installed through yum and the goal was to install the binaries for Tomcat 6 and make them talk to each other.  After some googling, the best tutorial I found to configure tomcat through mod_jk was found <a href="http://www3.ntu.edu.sg/home/ehchua/programming/howto/Apache_Tomcat_HowTo.html" target="_blank">here</a>.  I have attached the PDF of the instructions <a title="Integrate Apache2 with Tomcat 6" href="http://www.lalitmehta.com/home/wp-content/uploads/2010/01/Apache2-Tomcat6.pdf" target="_blank">here</a>.<br />
After following the steps, I was easily able to create a worker and configure apache to forward the request to /examples to tomcat.<br />
The next issue was how to configure virtual hosts so that I can host multiple websites, some handled by apache and others through tomcat. Following is the snippet of httpd.conf setting that needs to be updated to enable virtual hosting.</p>
<p><code><br />
NameVirtualHost *:80<br />
#<br />
# NOTE: NameVirtualHost cannot be used without a port specifier<br />
# (e.g. :80) if mod_ssl is being used, due to the nature of the<br />
# SSL protocol.<br />
#<br />
#<br />
# VirtualHost example:<br />
# Almost any Apache directive may go into a VirtualHost container.<br />
# The first VirtualHost section is used for requests without a known<br />
# server name.<br />
#<br />
#&lt;VirtualHost *:80&gt;<br />
#    ServerAdmin webmaster@dummy-host.example.com<br />
#    DocumentRoot /www/docs/dummy-host.example.com<br />
#    ServerName dummy-host.example.com<br />
#    ErrorLog logs/dummy-host.example.com-error_log<br />
#    CustomLog logs/dummy-host.example.com-access_log common<br />
#&lt;/VirtualHost&gt;<br />
&lt;VirtualHost *:80&gt;</code><code><br />
ServerAdmin webmaster@lalitmehta.com<br />
ServerName www.lalitmehta.com<br />
ErrorLog logs/lalitmehta.com-error_log<br />
CustomLog logs/lalitmehta-access_log common<br />
&lt;/VirtualHost&gt;<br />
&lt;VirtualHost *:80&gt;<br />
ServerAdmin info@saiyam.com<br />
ServerName rsspile.com<br />
#   No need of DocumentRoot<br />
ErrorLog logs/rsspile.com-error_log<br />
CustomLog logs/rsspile.com-access_log common<br />
JkMount /rss ajp13<br />
JkMount /rss/* ajp13<br />
&lt;/VirtualHost&gt;<br />
</code><br />
<br />
I do have two questions though:<br />
1. since mod_jk.so is available for download for Linux, what advantage you get by compiling Apache and mod_jk from source? Most of the websites mention the need to compile the source. Let me know <img src='http://www.lalitmehta.com/home/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
2. How do I enable SSL on my server with the above configuration?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2010/01/18/integrate-apache-2-with-tomcat-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE 6 bug in window.location</title>
		<link>http://www.lalitmehta.com/home/2010/01/13/ie-6-bug-in-window-location/</link>
		<comments>http://www.lalitmehta.com/home/2010/01/13/ie-6-bug-in-window-location/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 23:09:51 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[Windoze]]></category>
		<category><![CDATA[general web]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=123</guid>
		<description><![CDATA[There is a bug in IE 6 where following code does not work var newUrl = "http://www.google.com/"; window.location = newUrl; // This also doesn't work! // window.location.href = newUrl; After a scratching head for couple of hours, found the solution here var newUrl = "http://google.com/"; setTimeout(function() { window.location = newUrl; }, 0);]]></description>
			<content:encoded><![CDATA[<p>There is a bug in IE 6 where following code does not work</p>
<p><code>var newUrl = "http://www.google.com/";<br />
window.location = newUrl;<br />
// This also doesn't work!<br />
// window.location.href = newUrl;</code></p>
<p>After a scratching head for couple of hours, found the solution <a title="IE6 bug" href="http://patrickgibson.com/news/andsuch/000202.php" target="_blank">here</a></p>
<p><code>var newUrl = "http://google.com/";<br />
setTimeout(function()<br />
{<br />
window.location = newUrl;<br />
}, 0);</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2010/01/13/ie-6-bug-in-window-location/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TOP 25 Most Dangerous Programming Errors</title>
		<link>http://www.lalitmehta.com/home/2009/01/13/top-25-most-dangerous-programming-errors/</link>
		<comments>http://www.lalitmehta.com/home/2009/01/13/top-25-most-dangerous-programming-errors/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 01:59:07 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[Windoze]]></category>
		<category><![CDATA[general web]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=68</guid>
		<description><![CDATA[CWE-20:Improper Input Validation CWE-116:Improper Encoding or Escaping of Output CWE-89:Failure to Preserve SQL Query Structure CWE-79:Failure to Preserve Web Page Structure CWE-78:Failure to Preserve OS Command Structure CWE-319:Cleartext Transmission of Sensitive Information CWE-352:Cross-Site Request Forgery CWE-362:Race Condition CWE-209:Error Message Information Leak CWE-119:Failure to Constrain Operations within the Bounds of a Memory Buffer CWE-642:External Control of [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>CWE-20:Improper Input Validation</li>
<li>CWE-116:Improper Encoding or Escaping of Output</li>
<li>CWE-89:Failure to Preserve SQL Query Structure</li>
<li>CWE-79:Failure to Preserve Web Page Structure</li>
<li>CWE-78:Failure to Preserve OS Command Structure</li>
<li>CWE-319:Cleartext Transmission of Sensitive Information</li>
<li>CWE-352:Cross-Site Request Forgery</li>
<li>CWE-362:Race Condition</li>
<li>CWE-209:Error Message Information Leak</li>
<li>CWE-119:Failure to Constrain Operations within the Bounds of a Memory Buffer</li>
<li>CWE-642:External Control of Critical State Data</li>
<li>CWE-73:External Control of File Name or Path</li>
<li>CWE-426:Untrusted Search Path</li>
<li>CWE-94:Failure to Control Generation of Code</li>
<li>CWE-494:Download of Code Without Integrity Check</li>
<li>CWE-404:Improper Resource Shutdown or Release</li>
<li>CWE-665:Improper Initialization</li>
<li>CWE-682:Incorrect Calculation</li>
<li>CWE-285:Improper Access Control</li>
<li>CWE-327:Use of a Broken or Risky Cryptographic Algorithm</li>
<li>CWE-259:Hard-Coded Password</li>
<li>CWE-732:Insecure Permission Assignment for Critical Resource</li>
<li>CWE-330:Use of Insufficiently Random Values</li>
<li>CWE-250:Execution with Unnecessary Privileges</li>
<li>CWE-602:Client-Side Enforcement of Server-Side Security</li>
</ol>
<p><a title="Top 25 most dangerous programming errors" href="http://www.sans.org/top25errors/" target="_blank">Full story</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2009/01/13/top-25-most-dangerous-programming-errors/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Access parent window from modalDialog</title>
		<link>http://www.lalitmehta.com/home/2008/08/15/access-parent-window-from-modaldialog/</link>
		<comments>http://www.lalitmehta.com/home/2008/08/15/access-parent-window-from-modaldialog/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 20:49:08 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[general web]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=55</guid>
		<description><![CDATA[When you call showModalDialog() you need to pass &#8220;self&#8221;, without the quotes, as the second argument. You can then access the parent(opener) with: var opener = window.dialogArguments; You can then access any function declared in parent window with: opener.myFunction();]]></description>
			<content:encoded><![CDATA[<p>When you call showModalDialog() you need to pass &#8220;self&#8221;, without the quotes, as the second argument.</p>
<p>You can then access the parent(opener) with:<br />
<code>var opener = window.dialogArguments;</code></p>
<p>You can then access any function declared in parent window with:<br />
<code>opener.myFunction();</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2008/08/15/access-parent-window-from-modaldialog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Secure file upload</title>
		<link>http://www.lalitmehta.com/home/2008/02/04/secure-file-upload/</link>
		<comments>http://www.lalitmehta.com/home/2008/02/04/secure-file-upload/#comments</comments>
		<pubDate>Tue, 05 Feb 2008 02:26:38 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[general web]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/2008/02/04/secure-file-upload/</guid>
		<description><![CDATA[No matter what web based technology you are using,  these tips will always be helpful when it comes down to uploading files:  Keep uploaded files where they cannot be directly accessed by the users via a direct URL. This can be done either by storing uploaded files outside of the web root or configuring the [...]]]></description>
			<content:encoded><![CDATA[<p>No matter what web based technology you are using,  these tips will always be helpful when it comes down to uploading files:</p>
<ol>
<li> Keep uploaded files where they cannot be directly accessed by the users via a direct URL. This can be done either by storing uploaded files outside of the web root or configuring the web server to deny access to the uploads directory.</li>
<li>Use system-generated file names instead of the names supplied by users when storing files on the file system. This will prevent local file inclusion attacks and also make any kind of file name manipulation by the user impossible. More information can be found <a href="http://www.scanit.be/uploads/php-file-upload.pdf" target="_blank">here</a>.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2008/02/04/secure-file-upload/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Differences between Strict XHTML and Transitional XHTML</title>
		<link>http://www.lalitmehta.com/home/2007/11/07/differences-between-strict-xhtml-and-transitional-xhtml/</link>
		<comments>http://www.lalitmehta.com/home/2007/11/07/differences-between-strict-xhtml-and-transitional-xhtml/#comments</comments>
		<pubDate>Thu, 08 Nov 2007 05:15:07 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[general web]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/2007/11/07/differences-between-strict-xhtml-and-transitional-xhtml/</guid>
		<description><![CDATA[Following attributes were removed from the Strict XHTML: Attribute alink is forbidden on body. Attribute background is forbidden on body. Attribute bgcolor is forbidden on body, table, td, th, tr. Attribute border is forbidden on img, object, it can be used on table. Attribute clear is forbidden on br. Attribute language is forbidden on script. [...]]]></description>
			<content:encoded><![CDATA[<p>Following attributes were removed from the Strict XHTML:</p>
<ol>
<li>Attribute <strong>alink</strong> is forbidden on <strong>body</strong>.</li>
<li>Attribute <strong>background</strong> is forbidden on <strong>body</strong>.</li>
<li>Attribute <strong>bgcolor </strong>is forbidden on <strong>body</strong>, <strong>table</strong>, <strong>td</strong>, <strong>th</strong>, <strong>tr</strong>.</li>
<li>Attribute <strong>border </strong>is forbidden on <strong>img</strong>, <strong>object</strong>, it can be used on <strong>table</strong>.</li>
<li>Attribute <strong>clear </strong>is forbidden on <strong>br</strong>.</li>
<li>Attribute <strong>language </strong>is forbidden on <strong>script</strong>.</li>
<li>Attribute <strong>link </strong>is forbidden on <strong>body</strong>.</li>
<li>Attribute <strong>name </strong>is forbidden on <strong>form</strong>, <strong>img</strong>, it can be used on a, <strong>button</strong>, <strong>input</strong>, <strong>map</strong>, <strong>meta</strong>, <strong>object</strong>, <strong>param</strong>, <strong>select</strong>, <strong>textarea</strong>.</li>
<li>Attribute <strong>noshade </strong>is forbidden on <strong>hr</strong>.</li>
<li>Attribute <strong>nowrap </strong>is forbidden on <strong>td</strong>, <strong>th</strong>.</li>
<li>Attribute <strong>start </strong>is forbidden on <strong>ol</strong>.</li>
<li>Attribute <strong>target </strong>is forbidden on <strong>a</strong>,<strong> area</strong>, <strong>base</strong>, <strong>form</strong>, <strong>link</strong>.</li>
<li>Attribute <strong>text </strong>is forbidden on <strong>body</strong>.</li>
<li>Attribute <strong>type </strong>is forbidden on <strong>li</strong>, <strong>ol</strong>, <strong>ul</strong>. It can be used on a <strong>button</strong>, <strong>input</strong>, <strong>link</strong>, <strong>object</strong>, <strong>param</strong>, <strong>script</strong>, <strong>style</strong>.</li>
<li>Attribute <strong>value </strong>is forbidden on <strong>li</strong>. It can be used on <strong>button</strong>, <strong>input</strong>, <strong>option</strong>, <strong>param</strong>.</li>
<li>Attribute <strong>vlink </strong>is forbidden on <strong>body</strong>.</li>
</ol>
<p>Following elements cannot occur in the given context in the Strict XHTML:</p>
<ol>
<li><strong> #PCDATA</strong> cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>a</strong> cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>abbr</strong> cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>acronym</strong> cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>b</strong> cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>bdo</strong> cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>big</strong> cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>br</strong> cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>button </strong>cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>cite </strong>cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>code </strong>cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>dfn </strong>cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>em </strong>cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>i</strong> cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>img </strong>cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>input </strong>cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>kbd </strong>cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>label </strong>cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>map </strong>cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>object </strong>cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>q </strong>cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>samp </strong>cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>select </strong>cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>small </strong>cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>span </strong>cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>strong </strong>cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>sub </strong>cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>sup </strong>cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>textarea </strong>cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript.</strong></li>
<li>Element <strong>tt </strong>cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
<li>Element <strong>var </strong>cannot be a child of <strong>blockquote</strong>, <strong>body</strong>, <strong>form</strong>, <strong>noscript</strong>.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2007/11/07/differences-between-strict-xhtml-and-transitional-xhtml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rules of converting HTML to XHTML-Transitional</title>
		<link>http://www.lalitmehta.com/home/2007/11/06/rules-of-converting-html-to-xhtml-transitional/</link>
		<comments>http://www.lalitmehta.com/home/2007/11/06/rules-of-converting-html-to-xhtml-transitional/#comments</comments>
		<pubDate>Wed, 07 Nov 2007 04:13:46 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[general web]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/2007/11/06/rules-of-converting-html-to-xhtml-transitional/</guid>
		<description><![CDATA[Converting from traditional HTML to XHTML 1.0 Transitional is easy, as long as you work carefully and observe the following rules: 1. Open with the proper DOCTYPE &#38; Namespace &#60;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd &#8220;&#62; 2. Write all tags in lowercase &#60;title&#62;XHTML Rules&#60;/title&#62; 3. Quote all attribute values src=&#8221;xyz.png&#8221; and not src=xyz.png [...]]]></description>
			<content:encoded><![CDATA[<p>Converting from traditional HTML to XHTML 1.0 Transitional is easy, as long as you work carefully and observe the following rules:<br />
1. Open with the proper DOCTYPE &amp; Namespace<br />
<em>&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd &#8220;&gt;</em><br />
2. Write all tags in lowercase<br />
<em>&lt;title&gt;XHTML Rules&lt;/title&gt;</em><br />
3. Quote all attribute values<br />
<em> src=&#8221;xyz.png&#8221; and not src=xyz.png</em><br />
4. Close all tags<br />
<em>&lt;p&gt;Some Text&lt;/p&gt;</em><br />
5. Close &#8220;empty&#8221; tags, too<br />
<em> &lt;img src=&#8221;xyz.png&#8221; /&gt;</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2007/11/06/rules-of-converting-html-to-xhtml-transitional/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rules for Speeding Up Your Web Site</title>
		<link>http://www.lalitmehta.com/home/2007/09/04/rules-for-speeding-up-your-web-site/</link>
		<comments>http://www.lalitmehta.com/home/2007/09/04/rules-for-speeding-up-your-web-site/#comments</comments>
		<pubDate>Wed, 05 Sep 2007 03:25:24 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[general web]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/2007/09/04/rules-for-speeding-up-your-web-site/</guid>
		<description><![CDATA[Yahoo Developer Network posted a nice set of rules to speed up your website. The excerpt is as follows: Make Fewer HTTP Requests Use a Content Delivery Network Add an Expires Header Gzip Components Put Stylesheets at the Top Put Scripts at the Bottom Avoid CSS Expressions Make JavaScript and CSS External Reduce DNS Lookups [...]]]></description>
			<content:encoded><![CDATA[<p>Yahoo Developer Network posted a nice set of rules to speed up your website. The excerpt is as follows:</p>
<ol>
<li>  Make Fewer HTTP Requests</li>
<li>  Use a Content Delivery Network</li>
<li>  Add an Expires Header</li>
<li>  Gzip Components</li>
<li>  Put Stylesheets at the Top</li>
<li>  Put Scripts at the Bottom</li>
<li>  Avoid CSS Expressions</li>
<li>  Make JavaScript and CSS External</li>
<li>  Reduce DNS Lookups</li>
<li>  Minify JavaScript</li>
<li>  Avoid Redirects</li>
<li>  Remove Duplicate Scripts</li>
<li>  Configure ETags</li>
</ol>
<p>You can read the full article <a href="http://developer.yahoo.com/performance/rules.html" title="Thirteen Simple Rules for Speeding Up Your Web Site" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2007/09/04/rules-for-speeding-up-your-web-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
