<?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>Colin&#039;s Blog &#187; Uncategorized</title>
	<atom:link href="http://www.colinblog.com/category/uncategorized/feed" rel="self" type="application/rss+xml" />
	<link>http://www.colinblog.com</link>
	<description></description>
	<lastBuildDate>Sun, 07 Feb 2010 02:01:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Can&#8217;t let go</title>
		<link>http://www.colinblog.com/2010/01/cant-let-go.html</link>
		<comments>http://www.colinblog.com/2010/01/cant-let-go.html#comments</comments>
		<pubDate>Sun, 03 Jan 2010 14:25:01 +0000</pubDate>
		<dc:creator>colin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.colinblog.com/?p=20</guid>
		<description><![CDATA[Finally, it turns out that it&#8217;s me who can&#8217;t let go.
]]></description>
			<content:encoded><![CDATA[<p>Finally, it turns out that it&#8217;s me who can&#8217;t let go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.colinblog.com/2010/01/cant-let-go.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jetty 7 &#8211; How to enable aliases for static content</title>
		<link>http://www.colinblog.com/2009/11/jetty-7-how-to-enable-aliases-for.html</link>
		<comments>http://www.colinblog.com/2009/11/jetty-7-how-to-enable-aliases-for.html#comments</comments>
		<pubDate>Mon, 30 Nov 2009 14:44:00 +0000</pubDate>
		<dc:creator>colin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.colinblog.com/2009/11/jetty-7-how-to-enable-aliases-for-static-content.html</guid>
		<description><![CDATA[I was looking for a simplest way to setup an HTTP server for publishing some static content, then I found jetty.
I can just start the jetty, and simply put my static content into the /javadoc folder, and then it can be viewed through a browser.
But I encounter a problem that the URL is case sensitive. ]]></description>
			<content:encoded><![CDATA[<p>I was looking for a simplest way to setup an HTTP server for publishing some static content, then I found <a href="http://www.eclipse.org/jetty/">jetty</a>.</p>
<p>I can just start the jetty, and simply put my static content into the /javadoc folder, and then it can be viewed through a browser.</p>
<p>But I encounter a problem that the URL is case sensitive. That means if the file is test.pdf, and I cannot find it via TEST.PDF, but I really need it.</p>
<p>After searching in goolge for a long time, I find that most of the articles about jetty aliases are out-dated, they are not suitable for jetty 7.</p>
<p>But finally, I found the answer from <a href="http://download.eclipse.org/jetty/stable-7/apidocs/org/eclipse/jetty/server/handler/ResourceHandler.html#setAliases%28boolean%29">jetty 7&#8217;s javadoc &#8211; ResourceHandler.setAliases()</a>, and it redirected me to <a href="http://download.eclipse.org/jetty/stable-7/apidocs/org/eclipse/jetty/server/handler/ContextHandler.html#isAliases%28%29">ContextHandler.isAliases()</a></p>
<p>Here is the update I made to make it work:<br />
1. Open the javadoc.xml in the contexts folder<br />
2. Add below line into the &lt;Configure&gt;:</p>
<p>&lt;Set name=&#8221;aliases&#8221;&gt;true&lt;/Set&gt;</p>
<p>3. Start jetty</p>
]]></content:encoded>
			<wfw:commentRss>http://www.colinblog.com/2009/11/jetty-7-how-to-enable-aliases-for.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
