<?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>A Sysadmins blog &#187; tomcat</title>
	<atom:link href="http://paul.messinthecorner.com/category/tomcat/feed/" rel="self" type="application/rss+xml" />
	<link>http://paul.messinthecorner.com</link>
	<description>I once was 404, but now am 200.</description>
	<lastBuildDate>Fri, 23 Oct 2009 09:33:39 +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>Un-mapping a path from mod_jk in Apache</title>
		<link>http://paul.messinthecorner.com/2008/un-mapping-a-path-from-mod_jk-in-apache/</link>
		<comments>http://paul.messinthecorner.com/2008/un-mapping-a-path-from-mod_jk-in-apache/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 03:49:38 +0000</pubDate>
		<dc:creator>pdeaudney</dc:creator>
				<category><![CDATA[tomcat]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[mod_jk]]></category>

		<guid isPermaLink="false">http://paul.messinthecorner.com/?p=27</guid>
		<description><![CDATA[We have a few legacy servers at $work where they still use mod_jk and mod_jk2. Unfortunately for us one of these was setup by the client&#8217;s admins who did not like to configure tomcat context mappings within the virtual host that only needed them. This has the affect of sending many more URLs to tomcat/jboss [...]]]></description>
			<content:encoded><![CDATA[<p>We have a few legacy servers at $work where they still use mod_jk and mod_jk2. Unfortunately for us one of these was setup by the client&#8217;s admins who did not like to configure tomcat context mappings within the virtual host that only needed them. This has the affect of sending many more URLs to tomcat/jboss than necessary.</p>
<p>One way to get around this when you cant change those mappings is to use the SetEnv module.</p>
<p>In the virtual host where you want to exclude certain paths from being mapped, add the following entries and reload the config.</p>
<pre>        # Disable global mod_jk mapping that break stats.
        SetEnvIf Request_URL "/stats*" <strong class="highlight">no-jk</strong>
        SetEnvIf Request_URL "/awstats*" <strong class="highlight">no-jk</strong></pre>
]]></content:encoded>
			<wfw:commentRss>http://paul.messinthecorner.com/2008/un-mapping-a-path-from-mod_jk-in-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
