<?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>twistedgenes.com - Blogs by Rakesh Gupta &#187; javascript</title>
	<atom:link href="http://www.twistedgenes.com/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.twistedgenes.com</link>
	<description>Blogs on truth, technology, food, linux, leisure, experiences, adventure, romance, friends etc !</description>
	<lastBuildDate>Sat, 12 Jun 2010 14:24:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SELinux, Apache and Postgres SQL Connectivity</title>
		<link>http://www.twistedgenes.com/2008/09/selinux-apache-and-postgres-sql-connectivity/</link>
		<comments>http://www.twistedgenes.com/2008/09/selinux-apache-and-postgres-sql-connectivity/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 23:31:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Experiences]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rocking]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://rak19.wordpress.com/2008/09/25/selinux-apache-and-postgres-sql-connectivity/</guid>
		<description><![CDATA[Recently, I decided to migrate the work from Apache windows to the Apache running on my Vmware fedora machine. Everything was supposed to work like a charm. Unfortunately, it did not. The perl  in the cgi-bin directory was throwing internal server error 500. The apache error log indicated &#8216;permission denied to create a socket&#8217;, [...]]]></description>
			<content:encoded><![CDATA[<div style="text-align:justify;font-family:verdana;">Recently, I decided to migrate the work from Apache windows to the Apache running on my Vmware fedora machine. Everything was supposed to work like a charm. Unfortunately, it did not. The perl  in the cgi-bin directory was throwing internal server error 500. The apache error log indicated &#8216;permission denied to create a socket&#8217;, &#8216;premature end of the script headers&#8217;. The stuff was supposed to be retrieved from postgres sql database by the perl thingy. It appeared to me that database server is not allowing my IP address to establish a connection, as recomended by pgadmin as well. After a successful entry of my IP in the conf file of postgres database server, problem still persisted. I tried almost everything, changing the file owner to apache, suexec in apache and hell lots of other possibilities. Then in the trial process I noticed a small pop up in the corner of the window, SELinux denial. SELinux is an enhanced feature in Linux, that can put restrictions on your applications in apache making database connection, nmap, access to network filesystem and lots and lots more. After giving apache persmission to make database connections, the error was resolved and application ran smoothly.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.twistedgenes.com/2008/09/selinux-apache-and-postgres-sql-connectivity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vaccum kills us, space kills javascript</title>
		<link>http://www.twistedgenes.com/2008/09/vaccum-kills-us-space-kills-javascript/</link>
		<comments>http://www.twistedgenes.com/2008/09/vaccum-kills-us-space-kills-javascript/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 09:40:00 +0000</pubDate>
		<dc:creator>Rakesh</dc:creator>
				<category><![CDATA[Cool]]></category>
		<category><![CDATA[Experiences]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rocking]]></category>
		<category><![CDATA[Truth]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://rak19.wordpress.com/2008/09/16/vaccum-kills-us-space-kills-javascript/</guid>
		<description><![CDATA[I was exporting certain attributes viz roadname, ids, ways etc which were of alphanumeric type by appending them with a &#8216;+&#8217; charachter from my server side perl program to the javascript program at the client. The firebug popped up, unterminated string literal, lets see whats that &#8230;. Googling did not turned out to be of [...]]]></description>
			<content:encoded><![CDATA[<div style="text-align:justify;"><span class="Apple-style-span" style="font-family:'trebuchet ms';">I was exporting certain attributes viz roadname, ids, ways etc which were of alphanumeric type by appending them with a &#8216;+&#8217; charachter from my server side perl program to the javascript program at the client. The firebug popped up, </span><span class="Apple-style-span" style="color:rgb(255,0,0);"><span class="Apple-style-span" style="font-family:'trebuchet ms';">unterminated string literal</span></span><span class="Apple-style-span" style="font-family:'trebuchet ms';">, lets see whats that &#8230;. Googling did not turned out to be of much help. I tried making the string short, taking into an array etc. Sometimes it worked, sometimes it did not. Amazed, I came to a stupid conclusion on the size of the arguments that need to be passed. Perhaps, that was not the cause.On of my appended field was having a space, and string thereafter was considered as a different argument by javascript. Due to mismatch in the number of arguments for that js function, it was breaking. Such a silly mistake !!! <img src='http://www.twistedgenes.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</span></div>
<div style="text-align:justify;"><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'trebuchet ms';">Hence,</span></span><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'trebuchet ms';"> </span></span><span class="Apple-style-span" style="white-space:pre;"><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'trebuchet ms';">Vaccum kills us, space kills javascript or rather any function in any damn<br />language.</span></span><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'trebuchet ms';"> </span></span></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.twistedgenes.com/2008/09/vaccum-kills-us-space-kills-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-4811008-2");
pageTracker._setDomainName(".twistedgenes.com");
pageTracker._trackPageview();
} catch(err) {}</script>