<?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>Parolski.com &#187; localhost</title>
	<atom:link href="http://www.parolski.com/tag/localhost/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.parolski.com</link>
	<description>Faith, Solaris, and Chicken Korma, by Anton Parol</description>
	<lastBuildDate>Fri, 14 Oct 2011 11:16:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>python&#8217;s HTTP server</title>
		<link>http://www.parolski.com/2009/09/26/pythons-http-server/</link>
		<comments>http://www.parolski.com/2009/09/26/pythons-http-server/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 23:44:30 +0000</pubDate>
		<dc:creator>Anton Parol</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[localhost]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[source]]></category>

		<guid isPermaLink="false">http://www.parolski.com/?p=268</guid>
		<description><![CDATA[Python comes with an HTTP server built in, making sharing directories on your *nix machines as easy as: anton@opensolaris:~/mess/test$ python -m SimpleHTTPServer Serving HTTP on 0.0.0.0 port 8000 &#8230; localhost &#8211; - [26/Sep/2009 00:23:47] &#8220;GET / HTTP/1.0&#8243; 200 - localhost &#8211; - [26/Sep/2009 00:24:24] &#8220;GET / HTTP/1.1&#8243; 200 - So now when we go to [...]]]></description>
			<content:encoded><![CDATA[<p>Python comes with an HTTP server built in, making sharing directories on your *nix machines as easy as:</p>
<blockquote><p>anton@opensolaris:~/mess/test$ python -m SimpleHTTPServer<br />
Serving HTTP on 0.0.0.0 port 8000 &#8230;<br />
localhost &#8211; - [26/Sep/2009 00:23:47] &#8220;GET / HTTP/1.0&#8243; 200 -<br />
localhost &#8211; - [26/Sep/2009 00:24:24] &#8220;GET / HTTP/1.1&#8243; 200 -</p></blockquote>
<p>So now when we go to localhost:8000 , we get the directory!:</p>
<blockquote><p>anton@opensolaris:~/mess$ lynx -dump localhost:8000<br />
Directory listing for /<br />
__________________________________________________________________</p>
<p>* [1]lalala<br />
__________________________________________________________________</p>
<p>References</p>
<p>1. http://localhost:8000/lalala</p></blockquote>
<p>&#8230;or&#8230;</p>
<blockquote><p>anton@opensolaris:~$ lynx -source localhost:8000<br />
&lt;title&gt;Directory listing for /&lt;/title&gt;<br />
&lt;h2&gt;Directory listing for /&lt;/h2&gt;<br />
&lt;hr&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;&lt;a href=&#8221;lalala&#8221;&gt;lalala&lt;/a&gt;<br />
&lt;/ul&gt;<br />
&lt;hr&gt;</p></blockquote>
<p>&#8230;for those of you that want to see the source it produced! A very quick short term solution if you don&#8217;t want to go about setting up apache or change your apache settings!</p>
<blockquote><p><img src="file:///tmp/moz-screenshot.png" alt="" /></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.parolski.com/2009/09/26/pythons-http-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

