<?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>Hou-ou &#187; apache</title>
	<atom:link href="http://www.phoeniix.com/tag/apache/feed" rel="self" type="application/rss+xml" />
	<link>http://www.phoeniix.com</link>
	<description>Topics about Java, Android, PHP and Web Development</description>
	<lastBuildDate>Tue, 03 Jan 2012 20:10:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Mod_rewrite problem in Apache</title>
		<link>http://www.phoeniix.com/mod_rewrite-problem-in-apache</link>
		<comments>http://www.phoeniix.com/mod_rewrite-problem-in-apache#comments</comments>
		<pubDate>Thu, 11 May 2006 23:26:03 +0000</pubDate>
		<dc:creator>phoeniix</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[helicon]]></category>
		<category><![CDATA[isapi rewrite]]></category>
		<category><![CDATA[mod_rewrite]]></category>

		<guid isPermaLink="false">http://www.phoeniix.com/?p=93</guid>
		<description><![CDATA[My companies website CSA Travel Protection has been using IIS to talk with Tomcat to host our jsp&#8217;s. We bought Helicon&#8217;s ISAPI Rewrite software to perform rewrites of our url. As of late we are looking to get IIS out of the picture and switch to Apache instead. In a test environment, I was having [...]]]></description>
			<content:encoded><![CDATA[<p>My companies website CSA Travel Protection has been using IIS to talk with Tomcat to host our jsp&#8217;s.  We bought <a title="ISAPI Rewrite for IIS" href="http://www.helicontech.com">Helicon&#8217;s</a> ISAPI Rewrite software to perform rewrites of our url.  As of late we are looking to get IIS out of the picture and switch to <a title="Apache, the Open Source Web Engine" href="http://httpd.apache.org/">Apache</a> instead. In a test environment, I was having problems getting the Mod_rewrite to work properly. The way Helicon and Mod_Rewrite interpret the formatting is slightly different from each other. I was simply trying to do a simple rewrite like this:</p>
<p># Employment<br />
RewriteRule ^/partner$        /partner.do</p>
<p>This was causing the message in the rewrite log file to be:</p>
<p>[rid#7d3160/initial] (2) rewrite /partner -&gt; /welcome.do?pmode=partner<br />
10.10.1.207 &#8211; - [11/May/2006:14:36:08 --0700] [my.computer.name/sid#61f2e8][rid#7d3160/initial] (3) split uri=/welcome.do?pmode=partner -&gt; uri=/welcome.do, args=pmode=partner<br />
10.10.1.207 &#8211; - [11/May/2006:14:36:08 --0700] [my.computer.name/sid#61f2e8][rid#7d3160/initial] (2) local path result: /welcome.do<br />
10.10.1.207 &#8211; - [11/May/2006:14:36:08 --0700] [my.computer.name/sid#61f2e8][rid#7d3160/initial] (2) prefixed with document_root to C:/jakarta-tomcat-5.5.12/webapps/csa/welcome.do<br />
10.10.1.207 &#8211; - [11/May/2006:14:36:08 --0700] [my.computer.name/sid#61f2e8][rid#7d3160/initial] (1) go-ahead with C:/jakarta-tomcat-5.5.12/webapps/csa/welcome.do [OK]</p>
<p>It seems as if I have to pass through the rewritten URL to Tomcat and need to use the PT Passthrough flag.<br />
# Employment<br />
RewriteRule ^/employment$        /employment.do [NC,PT]</p>
<p>This has allowed me to migrate from Helicon&#8217;s ISAPI Rewrite to Apache&#8217;s Mod_Rewrite.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phoeniix.com/mod_rewrite-problem-in-apache/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: www.phoeniix.com @ 2012-02-07 14:23:04 by W3 Total Cache -->
