<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Hack for the encoding of a URL into another URL problem with Apache and mod_rewrite</title>
	<atom:link href="http://fgiasson.com/blog/index.php/2006/07/19/hack_for_the_encoding_of_url_into_url_pr/feed/" rel="self" type="application/rss+xml" />
	<link>http://fgiasson.com/blog/index.php/2006/07/19/hack_for_the_encoding_of_url_into_url_pr/</link>
	<description></description>
	<lastBuildDate>Fri, 10 Feb 2012 13:27:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Niksa Jakovljevic</title>
		<link>http://fgiasson.com/blog/index.php/2006/07/19/hack_for_the_encoding_of_url_into_url_pr/comment-page-1/#comment-351167</link>
		<dc:creator>Niksa Jakovljevic</dc:creator>
		<pubDate>Thu, 13 Jan 2011 09:47:31 +0000</pubDate>
		<guid isPermaLink="false">#comment-351167</guid>
		<description>I had similar issue with Apache 2  and Tomcat that sits behind.
First Apache didn&#039;t allow / in URLs (give 404 error), after that I added AllowEncodedSlashes directive. 
Then found problem with AllowEncodedSlashes because it doesn&#039;t behave as described in Apache doc ( Apache does perform decoding automatically!), so my Tomcat receives &#039;/&#039; instead of &#039;/&#039; .... and after wasted day I did double encoding and that was the only solution.

Regards,

Niksa Jakovljevic</description>
		<content:encoded><![CDATA[<p>I had similar issue with Apache 2  and Tomcat that sits behind.<br />
First Apache didn&#8217;t allow / in URLs (give 404 error), after that I added AllowEncodedSlashes directive.<br />
Then found problem with AllowEncodedSlashes because it doesn&#8217;t behave as described in Apache doc ( Apache does perform decoding automatically!), so my Tomcat receives &#8216;/&#8217; instead of &#8216;/&#8217; &#8230;. and after wasted day I did double encoding and that was the only solution.</p>
<p>Regards,</p>
<p>Niksa Jakovljevic</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Franck</title>
		<link>http://fgiasson.com/blog/index.php/2006/07/19/hack_for_the_encoding_of_url_into_url_pr/comment-page-1/#comment-302257</link>
		<dc:creator>Franck</dc:creator>
		<pubDate>Tue, 02 Mar 2010 10:16:24 +0000</pubDate>
		<guid isPermaLink="false">#comment-302257</guid>
		<description></description>
		<content:encoded><![CDATA[<p>I had almost the same problem.</p>
<p>My URL /myurl/searchText?accÃ¨s</p>
<p>was transformed to</p>
<p>/myurl/searchText?accÍ&gt;Cs</p>
<p>The problem came from a rewrite rule. I added the NE flag on this rule and it fixed it !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tyler</title>
		<link>http://fgiasson.com/blog/index.php/2006/07/19/hack_for_the_encoding_of_url_into_url_pr/comment-page-1/#comment-283539</link>
		<dc:creator>Tyler</dc:creator>
		<pubDate>Thu, 29 Oct 2009 19:06:37 +0000</pubDate>
		<guid isPermaLink="false">#comment-283539</guid>
		<description>I think the / &quot;bug&quot; you are referring to can be explained by the Apache AllowEncodedSlashes directive.</description>
		<content:encoded><![CDATA[<p>I think the / &#8220;bug&#8221; you are referring to can be explained by the Apache AllowEncodedSlashes directive.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oriel</title>
		<link>http://fgiasson.com/blog/index.php/2006/07/19/hack_for_the_encoding_of_url_into_url_pr/comment-page-1/#comment-265426</link>
		<dc:creator>Oriel</dc:creator>
		<pubDate>Wed, 10 Jun 2009 07:43:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-265426</guid>
		<description>Thanks for your post. I used the &quot;AllowEncodedSlashes On&quot; described by FlorentG on my Apache 2.2/Win and it works!</description>
		<content:encoded><![CDATA[<p>Thanks for your post. I used the &#8220;AllowEncodedSlashes On&#8221; described by FlorentG on my Apache 2.2/Win and it works!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mario L.</title>
		<link>http://fgiasson.com/blog/index.php/2006/07/19/hack_for_the_encoding_of_url_into_url_pr/comment-page-1/#comment-155661</link>
		<dc:creator>Mario L.</dc:creator>
		<pubDate>Wed, 30 Apr 2008 21:36:06 +0000</pubDate>
		<guid isPermaLink="false">#comment-155661</guid>
		<description>Had the same issue, and double urlencoding worked great (everything is hidden behind mod_rewrite so they don&#039;t see it anyway). Thanks.</description>
		<content:encoded><![CDATA[<p>Had the same issue, and double urlencoding worked great (everything is hidden behind mod_rewrite so they don&#8217;t see it anyway). Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://fgiasson.com/blog/index.php/2006/07/19/hack_for_the_encoding_of_url_into_url_pr/comment-page-1/#comment-38876</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Wed, 08 Aug 2007 22:57:24 +0000</pubDate>
		<guid isPermaLink="false">#comment-38876</guid>
		<description>The &quot;/&quot; issue is separate from the other generic mod_rewrite encoding issue - any URL with &quot;/&quot; in it before the query string in Apache 1.3 instantly returns a 404 before it gets to mod_rewrite, as an apparent security feature: &lt;a href=&quot;http://httpd.apache.org/dev/apidoc/apidoc_ap_unescape_url.html&quot; rel=&quot;nofollow&quot;&gt;Internal API documentation&lt;/a&gt;. This became a configuration option, AllowEncodedSlashes, in Apache 2.0.46, as FlorentG points out. &lt;a href=&quot;http://www.dracos.co.uk/code/apache-rewrite-problem/&quot; rel=&quot;nofollow&quot;&gt;Here&#039;s my own thoughts and solutions on the more generic issue.&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>The &#8220;/&#8221; issue is separate from the other generic mod_rewrite encoding issue &#8211; any URL with &#8220;/&#8221; in it before the query string in Apache 1.3 instantly returns a 404 before it gets to mod_rewrite, as an apparent security feature: <a href="http://httpd.apache.org/dev/apidoc/apidoc_ap_unescape_url.html" rel="nofollow">Internal API documentation</a>. This became a configuration option, AllowEncodedSlashes, in Apache 2.0.46, as FlorentG points out. <a href="http://www.dracos.co.uk/code/apache-rewrite-problem/" rel="nofollow">Here&#8217;s my own thoughts and solutions on the more generic issue.</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arseni</title>
		<link>http://fgiasson.com/blog/index.php/2006/07/19/hack_for_the_encoding_of_url_into_url_pr/comment-page-1/#comment-2132</link>
		<dc:creator>Arseni</dc:creator>
		<pubDate>Thu, 05 Apr 2007 15:55:46 +0000</pubDate>
		<guid isPermaLink="false">#comment-2132</guid>
		<description>RewriteRule flag [NE] can help to fix this.

http://mail-archives.apache.org/mod_mbox/www-apache-bugdb/200109.mbox/</description>
		<content:encoded><![CDATA[<p>RewriteRule flag [NE] can help to fix this.</p>
<p><a href="http://mail-archives.apache.org/mod_mbox/www-apache-bugdb/200109.mbox/" rel="nofollow">http://mail-archives.apache.org/mod_mbox/www-apache-bugdb/200109.mbox/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FlorentG</title>
		<link>http://fgiasson.com/blog/index.php/2006/07/19/hack_for_the_encoding_of_url_into_url_pr/comment-page-1/#comment-549</link>
		<dc:creator>FlorentG</dc:creator>
		<pubDate>Wed, 14 Feb 2007 07:40:01 +0000</pubDate>
		<guid isPermaLink="false">#comment-549</guid>
		<description>If you have Apache &gt;= 2.0.46, you can use the core directive &quot;AllowEncodedSlashes On&quot; to allow %2F in urls</description>
		<content:encoded><![CDATA[<p>If you have Apache >= 2.0.46, you can use the core directive &#8220;AllowEncodedSlashes On&#8221; to allow %2F in urls</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://fgiasson.com/blog/index.php/2006/07/19/hack_for_the_encoding_of_url_into_url_pr/comment-page-1/#comment-548</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Wed, 24 Jan 2007 20:08:10 +0000</pubDate>
		<guid isPermaLink="false">#comment-548</guid>
		<description>Thanks for the bugfix, I had the same problem here.&lt;br /&gt;
(Apache 2.2.3-3.2 (debian))&lt;br /&gt;
&lt;br /&gt;
Greets Christian</description>
		<content:encoded><![CDATA[<p>Thanks for the bugfix, I had the same problem here.<br />
(Apache 2.2.3-3.2 (debian))</p>
<p>Greets Christian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred</title>
		<link>http://fgiasson.com/blog/index.php/2006/07/19/hack_for_the_encoding_of_url_into_url_pr/comment-page-1/#comment-547</link>
		<dc:creator>Fred</dc:creator>
		<pubDate>Tue, 14 Nov 2006 23:12:08 +0000</pubDate>
		<guid isPermaLink="false">#comment-547</guid>
		<description>Hi Mark,&lt;br /&gt;
&lt;br /&gt;
Okay, and what is your version of Apache and what is the error?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fred</description>
		<content:encoded><![CDATA[<p>Hi Mark,</p>
<p>Okay, and what is your version of Apache and what is the error?</p>
<p>
Fred</p>
]]></content:encoded>
	</item>
</channel>
</rss>

