<?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: Bi-Directional HTTP Transformation</title>
	<atom:link href="http://www.gdssecurity.com/l/b/2008/02/27/bi-directional-http-transformation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gdssecurity.com/l/b/2008/02/27/bi-directional-http-transformation/</link>
	<description>Gotham Digital Science Security Blog</description>
	<lastBuildDate>Wed, 01 Sep 2010 06:49:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Brian Holyfield</title>
		<link>http://www.gdssecurity.com/l/b/2008/02/27/bi-directional-http-transformation/comment-page-1/#comment-227</link>
		<dc:creator>Brian Holyfield</dc:creator>
		<pubDate>Fri, 30 Jan 2009 19:27:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.gdssecurity.com/l/b/2008/02/27/bi-directional-http-transformation/#comment-227</guid>
		<description>Hi Michael --

I&#039;m not 100% sure if I understand the second case, but I think you are saying it&#039;s the same as the first case, but in various sub folders?

If so, then try removing the starting regex anchor ^ from the beginning of your existing rules.  Let me know if this makes sense or if I mis-understood.  Posting an example with some specific URLs might also be easier.</description>
		<content:encoded><![CDATA[<p>Hi Michael &#8211;</p>
<p>I&#8217;m not 100% sure if I understand the second case, but I think you are saying it&#8217;s the same as the first case, but in various sub folders?</p>
<p>If so, then try removing the starting regex anchor ^ from the beginning of your existing rules.  Let me know if this makes sense or if I mis-understood.  Posting an example with some specific URLs might also be easier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.gdssecurity.com/l/b/2008/02/27/bi-directional-http-transformation/comment-page-1/#comment-226</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Fri, 30 Jan 2009 17:59:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.gdssecurity.com/l/b/2008/02/27/bi-directional-http-transformation/#comment-226</guid>
		<description>The blog bot ate my declarations:
rewriteRules Section

ruleid=&quot;101&quot; direction=&quot;in&quot; from=&quot;^/content\.aspx?content=(\w+)$&quot; to=&quot;/content.aspx?content=$1&quot;

ruleid=&quot;102&quot; direction=&quot;in&quot; from=&quot;^/(\w+)\.aspx$&quot; to=&quot;/content.aspx?content=$1&quot;

ruleid=&quot;206&quot; direction=&quot;out&quot; from=&quot;^/content\.aspx\?content=(.*)&quot; to=&quot;/$1.aspx&quot;

END</description>
		<content:encoded><![CDATA[<p>The blog bot ate my declarations:<br />
rewriteRules Section</p>
<p>ruleid=&#8221;101&#8243; direction=&#8221;in&#8221; from=&#8221;^/content\.aspx?content=(\w+)$&#8221; to=&#8221;/content.aspx?content=$1&#8243;</p>
<p>ruleid=&#8221;102&#8243; direction=&#8221;in&#8221; from=&#8221;^/(\w+)\.aspx$&#8221; to=&#8221;/content.aspx?content=$1&#8243;</p>
<p>ruleid=&#8221;206&#8243; direction=&#8221;out&#8221; from=&#8221;^/content\.aspx\?content=(.*)&#8221; to=&#8221;/$1.aspx&#8221;</p>
<p>END</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.gdssecurity.com/l/b/2008/02/27/bi-directional-http-transformation/comment-page-1/#comment-225</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Fri, 30 Jan 2009 17:56:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.gdssecurity.com/l/b/2008/02/27/bi-directional-http-transformation/#comment-225</guid>
		<description>I set up transformer in an IIS6 test site. The regex syntax took a few tries to get used to it and I had to look up the mod_rewrite cheatsheet for tips... the out rule syntax.

Rocks!

I have 2 in/out cases I need to set up. The objective is to mask dynamic template pages and also to map legacy pages that are now dynamic to their original static urls.

First case is handled, in which the &#039;page&#039; is in the root folder. The rules are like this, where the page id is either an int or a string:

IN	102 works for string, ie. home.aspx -&gt; pageid=home
OUT	206 works for numeric &amp; string, ie. pageid=93 -&gt; 93.aspx &amp; pageid=home -&gt; home.aspx
	
Second case I have to add arbitrary folder paths to the the 1st case. Any suggestions?

When I search for &#039;transformer.net&#039; your site doesn&#039;t come up. I go to the iis.net link, which links to your site. Is it your search tags? One of the resources to get listed is sitemap.org. Google sponsored this standard, you can use it to get them to index your site - the way you want them to.

Cheers!</description>
		<content:encoded><![CDATA[<p>I set up transformer in an IIS6 test site. The regex syntax took a few tries to get used to it and I had to look up the mod_rewrite cheatsheet for tips&#8230; the out rule syntax.</p>
<p>Rocks!</p>
<p>I have 2 in/out cases I need to set up. The objective is to mask dynamic template pages and also to map legacy pages that are now dynamic to their original static urls.</p>
<p>First case is handled, in which the &#8216;page&#8217; is in the root folder. The rules are like this, where the page id is either an int or a string:</p>
<p>IN	102 works for string, ie. home.aspx -&gt; pageid=home<br />
OUT	206 works for numeric &amp; string, ie. pageid=93 -&gt; 93.aspx &amp; pageid=home -&gt; home.aspx</p>
<p>Second case I have to add arbitrary folder paths to the the 1st case. Any suggestions?</p>
<p>When I search for &#8216;transformer.net&#8217; your site doesn&#8217;t come up. I go to the iis.net link, which links to your site. Is it your search tags? One of the resources to get listed is sitemap.org. Google sponsored this standard, you can use it to get them to index your site &#8211; the way you want them to.</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hitec</title>
		<link>http://www.gdssecurity.com/l/b/2008/02/27/bi-directional-http-transformation/comment-page-1/#comment-156</link>
		<dc:creator>hitec</dc:creator>
		<pubDate>Thu, 24 Jul 2008 14:49:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.gdssecurity.com/l/b/2008/02/27/bi-directional-http-transformation/#comment-156</guid>
		<description>Hi Brian

I&#039;m using IIS 6.0 with w2003 R2 SP2

I would of liked to try this module.

Thanks anyway</description>
		<content:encoded><![CDATA[<p>Hi Brian</p>
<p>I&#8217;m using IIS 6.0 with w2003 R2 SP2</p>
<p>I would of liked to try this module.</p>
<p>Thanks anyway</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Holyfield</title>
		<link>http://www.gdssecurity.com/l/b/2008/02/27/bi-directional-http-transformation/comment-page-1/#comment-155</link>
		<dc:creator>Brian Holyfield</dc:creator>
		<pubDate>Thu, 24 Jul 2008 03:24:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.gdssecurity.com/l/b/2008/02/27/bi-directional-http-transformation/#comment-155</guid>
		<description>hitec: This module should do the trick.  SSL has no impact on the module since it runs within IIS.  The only caveat would depend on whether you are running on IIS6 or IIS7.  If you are running IIS7, two rules should fix all of your URLs without any change to the underlying site.  

Based on your post, I would guess they should look something like the following:

&lt;add ruleid=&quot;in-1&quot; direction=&quot;in&quot; from=&quot;^/(.*)\.htm$&quot; to=&quot;/dir1/file.dll/$1&quot; /&gt;
&lt;add ruleid=&quot;out-1&quot; direction=&quot;out&quot; from=&quot;^/dir1/file\.dll/(.*)&quot; to=&quot;/$1.htm&quot; /&gt;

This, of course, is just a guess based on the limited amount of information you provided.  You&#039;ll notice above that I added the &quot;.htm&quot; file extension to the re-written URLs.  This is because without the &quot;dir1/file.dll&quot; portion of the URL, there is nothing left to uniquely identify the requests that need to be routed to the DLL vs any other request (like one for a .gif image).  Assuming there are no .htm files on your server, this rule will properly route all .htm requests to the DLL.  

If you are running on IIS6, you might be out of luck with the outbound URL re-writing.  HttpModules on IIS6 only seem to have access to the response stream for managed handlers (aka .NET) and not other handlers.   In either case, I hope this helps.</description>
		<content:encoded><![CDATA[<p>hitec: This module should do the trick.  SSL has no impact on the module since it runs within IIS.  The only caveat would depend on whether you are running on IIS6 or IIS7.  If you are running IIS7, two rules should fix all of your URLs without any change to the underlying site.  </p>
<p>Based on your post, I would guess they should look something like the following:</p>
<p>&lt;add ruleid=&quot;in-1&quot; direction=&quot;in&quot; from=&quot;^/(.*)\.htm$&quot; to=&quot;/dir1/file.dll/$1&quot; /&gt;<br />
&lt;add ruleid=&quot;out-1&quot; direction=&quot;out&quot; from=&quot;^/dir1/file\.dll/(.*)&quot; to=&quot;/$1.htm&quot; /&gt;</p>
<p>This, of course, is just a guess based on the limited amount of information you provided.  You&#8217;ll notice above that I added the &#8220;.htm&#8221; file extension to the re-written URLs.  This is because without the &#8220;dir1/file.dll&#8221; portion of the URL, there is nothing left to uniquely identify the requests that need to be routed to the DLL vs any other request (like one for a .gif image).  Assuming there are no .htm files on your server, this rule will properly route all .htm requests to the DLL.  </p>
<p>If you are running on IIS6, you might be out of luck with the outbound URL re-writing.  HttpModules on IIS6 only seem to have access to the response stream for managed handlers (aka .NET) and not other handlers.   In either case, I hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hitec</title>
		<link>http://www.gdssecurity.com/l/b/2008/02/27/bi-directional-http-transformation/comment-page-1/#comment-154</link>
		<dc:creator>hitec</dc:creator>
		<pubDate>Thu, 24 Jul 2008 00:19:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.gdssecurity.com/l/b/2008/02/27/bi-directional-http-transformation/#comment-154</guid>
		<description>This looks like what I&#039;m looking for...

I have a situation where a sw application company sold us a web based app that has a home page URL of http://www.company.com/dir1/file.dll/home. (sheesh...)

They won&#039;t modify the configuration because they consider it &quot;customization&quot; and will charge extra do it.

I need to be able to rewrite browser requests and responses to &quot;hide&quot;
the /dir1/file.dll/ part of the URL, so the new home page would be http://www.company.com/home and all browser responses would not contain the /dir1/file.dll/ part of the URL.

I already do this for external(internet) browser users with a reverse proxy server but the proxy is bypassed for internal (intranet) users.

1. Will this work for this application?
2. Will it work wil SSL?
3. Do you have a rule to share that I could use for testing?

Thanks</description>
		<content:encoded><![CDATA[<p>This looks like what I&#8217;m looking for&#8230;</p>
<p>I have a situation where a sw application company sold us a web based app that has a home page URL of <a href="http://www.company.com/dir1/file.dll/home" rel="nofollow">http://www.company.com/dir1/file.dll/home</a>. (sheesh&#8230;)</p>
<p>They won&#8217;t modify the configuration because they consider it &#8220;customization&#8221; and will charge extra do it.</p>
<p>I need to be able to rewrite browser requests and responses to &#8220;hide&#8221;<br />
the /dir1/file.dll/ part of the URL, so the new home page would be <a href="http://www.company.com/home" rel="nofollow">http://www.company.com/home</a> and all browser responses would not contain the /dir1/file.dll/ part of the URL.</p>
<p>I already do this for external(internet) browser users with a reverse proxy server but the proxy is bypassed for internal (intranet) users.</p>
<p>1. Will this work for this application?<br />
2. Will it work wil SSL?<br />
3. Do you have a rule to share that I could use for testing?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Holyfield</title>
		<link>http://www.gdssecurity.com/l/b/2008/02/27/bi-directional-http-transformation/comment-page-1/#comment-129</link>
		<dc:creator>Brian Holyfield</dc:creator>
		<pubDate>Tue, 24 Jun 2008 20:54:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.gdssecurity.com/l/b/2008/02/27/bi-directional-http-transformation/#comment-129</guid>
		<description>Marc: The limitation relates to HttpModules on IIS6, not IIS6 in general. ISAPIs have long had the ability to modify all parts of a request and response on IIS6.  I would guess that the component you are referring to is an ISAPI and not an HttpModule.</description>
		<content:encoded><![CDATA[<p>Marc: The limitation relates to HttpModules on IIS6, not IIS6 in general. ISAPIs have long had the ability to modify all parts of a request and response on IIS6.  I would guess that the component you are referring to is an ISAPI and not an HttpModule.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://www.gdssecurity.com/l/b/2008/02/27/bi-directional-http-transformation/comment-page-1/#comment-116</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Fri, 20 Jun 2008 18:06:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.gdssecurity.com/l/b/2008/02/27/bi-directional-http-transformation/#comment-116</guid>
		<description>You write that it is a limitation to IIS6 that outbound ASP content cannot be rewritten. While looking for a good SEO solution we have found and successfully tested LinkFreeze. This tool IS able to rewrite the whole outbound ASP stuff - unfortunately it is very limited in it&#039;s capabilites. No way to achieve this for you tool?</description>
		<content:encoded><![CDATA[<p>You write that it is a limitation to IIS6 that outbound ASP content cannot be rewritten. While looking for a good SEO solution we have found and successfully tested LinkFreeze. This tool IS able to rewrite the whole outbound ASP stuff &#8211; unfortunately it is very limited in it&#8217;s capabilites. No way to achieve this for you tool?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Holyfield</title>
		<link>http://www.gdssecurity.com/l/b/2008/02/27/bi-directional-http-transformation/comment-page-1/#comment-57</link>
		<dc:creator>Brian Holyfield</dc:creator>
		<pubDate>Wed, 14 May 2008 05:04:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.gdssecurity.com/l/b/2008/02/27/bi-directional-http-transformation/#comment-57</guid>
		<description>Duane: Unfortunately the code has not been open sourced since a good portion of it is currently being used for another yet-to-be-released GDS project.  However, feel free to contact me directly via our tools e-mail alias (tools [at] gdssecurity.com) and perhaps we can come up with some ideas on how to make it work well for your specific scenario.</description>
		<content:encoded><![CDATA[<p>Duane: Unfortunately the code has not been open sourced since a good portion of it is currently being used for another yet-to-be-released GDS project.  However, feel free to contact me directly via our tools e-mail alias (tools [at] gdssecurity.com) and perhaps we can come up with some ideas on how to make it work well for your specific scenario.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duane</title>
		<link>http://www.gdssecurity.com/l/b/2008/02/27/bi-directional-http-transformation/comment-page-1/#comment-56</link>
		<dc:creator>Duane</dc:creator>
		<pubDate>Tue, 13 May 2008 15:24:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.gdssecurity.com/l/b/2008/02/27/bi-directional-http-transformation/#comment-56</guid>
		<description>Wow. This looks like exactly what I have been getting ready to build from scratch for a new client who has hired us for SEO but doesnt want to leave their current CMS. My only question is if there is an open source version available or a provider model of some sort for the  rules and maps. I would prefer to use a db provider for these. In this project we would need to create thousands of map entries. I would be concerned about performance w/ that many rules in a file, as well they regularly add/change/delete categories, which would then require constant maintenance. Anyways, I read through your docs and it seems like Transformer.NET fits my needs to a tee except for this. 
Thanks a lot, Duane</description>
		<content:encoded><![CDATA[<p>Wow. This looks like exactly what I have been getting ready to build from scratch for a new client who has hired us for SEO but doesnt want to leave their current CMS. My only question is if there is an open source version available or a provider model of some sort for the  rules and maps. I would prefer to use a db provider for these. In this project we would need to create thousands of map entries. I would be concerned about performance w/ that many rules in a file, as well they regularly add/change/delete categories, which would then require constant maintenance. Anyways, I read through your docs and it seems like Transformer.NET fits my needs to a tee except for this.<br />
Thanks a lot, Duane</p>
]]></content:encoded>
	</item>
</channel>
</rss>
