<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Upgrading from IIS/ASP to Apache/PHP</title>
	<link>http://sebastians-pamphlets.com/how-to-migrate-a-website-from-iis-asp-to-apache-php/</link>
	<description>If you've read my articles somewhere on the Internet, expect something different here.</description>
	<pubDate>Sat, 17 May 2008 03:28:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.3</generator>

	<item>
		<title>By: Upgrading from IIS/ASP to Apache/PHP at Ingenuity Hosting Blog</title>
		<link>http://sebastians-pamphlets.com/how-to-migrate-a-website-from-iis-asp-to-apache-php/#comment-904</link>
		<dc:creator>Upgrading from IIS/ASP to Apache/PHP at Ingenuity Hosting Blog</dc:creator>
		<pubDate>Sun, 30 Dec 2007 22:25:13 +0000</pubDate>
		<guid>http://sebastians-pamphlets.com/how-to-migrate-a-website-from-iis-asp-to-apache-php/#comment-904</guid>
		<description>[...] One such example can be found on Sebastian’s Pamphlets blog where he discusses how to change your IIS/ASP pages to Apache/PHP. [...]</description>
		<content:encoded><![CDATA[<script type='text/javascript' src='http://www.sezwho.com/widgets/profile/js_output/wp/abeautifulday/1.3/1.3/8bd533845c1fc43d8202c6362e715395/47a227eeb615e'></script><script type="text/javascript">var sz_global_config_params = {cppluginurl:"http://sebastians-pamphlets.com/wp-content/plugins/sezwho",cpserverurl:"http://www.sezwho.com", sitekey:"8bd533845c1fc43d8202c6362e715395",blogkey:"47a227eeb615e",blogid:"0", plugin_version:"1.3"} ; </script><p>[&#8230;] One such example can be found on Sebastian’s Pamphlets blog where he discusses how to change your IIS/ASP pages to Apache/PHP. [&#8230;]<script type="text/javascript" id="szCommentHiddenTag:904">var sz_comment_config_params = {use_cross_domain_posting:1,post_id:"221", comment_rating_submit_path:"/cpratingsubmit.php",sortOrder:"",sz_auto_comment:0,sz_auto_option_bar:0,comment_number:17, sz_comment_data:[]};sz_comment_config_params.sz_comment_data[0]= {comment_id:"904", comment_author:"Upgrading%20from%20IIS%2FASP%20to%20Apache%2FPHP%20at%20Ingenuity%20Hosting%20Blog", comment_author_url:"http://www.ingenuity.net.au/blog/2007/12/31/upgrading-from-iisasp-to-apachephp/", comment_author_email:"",sz_score:"0",comment_score:"0"};</script></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor The Troll</title>
		<link>http://sebastians-pamphlets.com/how-to-migrate-a-website-from-iis-asp-to-apache-php/#comment-853</link>
		<dc:creator>Igor The Troll</dc:creator>
		<pubDate>Wed, 19 Dec 2007 12:02:52 +0000</pubDate>
		<guid>http://sebastians-pamphlets.com/how-to-migrate-a-website-from-iis-asp-to-apache-php/#comment-853</guid>
		<description>Yeak, start over that got to hurt!
I started on Apache 7 years ago, doing Perl, and never looked back.
Now part of the Apache developers team...</description>
		<content:encoded><![CDATA[<p>Yeak, start over that got to hurt!<br />
I started on Apache 7 years ago, doing Perl, and never looked back.<br />
Now part of the Apache developers team&#8230;<script type="text/javascript" id="szCommentHiddenTag:853">sz_comment_config_params.sz_comment_data[1]= {comment_id:"853", comment_author:"Igor%20The%20Troll", comment_author_url:"http://www.igorthetroll.com/dontfollow", comment_author_email:"OO1TNf9xmvcAoAP54GzdmdcuVEgM%2FHn8P079X6GuEj1lj0Dz3QrAWm1IZa7yHygio8J1pPcBhv3CEJOf9aARRmvaQLmX3fy2IU2VW4yAq%2Fsbuj%2Bec92p4OSAw6s21NwPRunJ4nuAoI52FgKDKc%2Ft86ICTU5klzYKrigN2OIGiEY%3D",sz_score:"6.0",comment_score:"6.0"};</script></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JLH</title>
		<link>http://sebastians-pamphlets.com/how-to-migrate-a-website-from-iis-asp-to-apache-php/#comment-818</link>
		<dc:creator>JLH</dc:creator>
		<pubDate>Thu, 13 Dec 2007 12:21:19 +0000</pubDate>
		<guid>http://sebastians-pamphlets.com/how-to-migrate-a-website-from-iis-asp-to-apache-php/#comment-818</guid>
		<description>I have to agree with sebastian.  The handling of 301s is flaky at best.  If its a large site I wouldn't switch the extensions all at once if you really need to, do it slowly, let the engines catch up, then do another batch.  Changing the whole site from .asp to .php all at once could leave you with nothing in the indexes for a while (except those old supplemental pages that won't be crawled for eternity).

In my preparation of converting an ecommerce store with about 40,000 products, I've added some logic to let me switch the products over to php by category, one at a time.  , starting with the least popular first to see how it works.

This is on my to-do list when everything else is done, so I won't be giving any updates too soon.  :)</description>
		<content:encoded><![CDATA[<p>I have to agree with sebastian.  The handling of 301s is flaky at best.  If its a large site I wouldn&#8217;t switch the extensions all at once if you really need to, do it slowly, let the engines catch up, then do another batch.  Changing the whole site from .asp to .php all at once could leave you with nothing in the indexes for a while (except those old supplemental pages that won&#8217;t be crawled for eternity).</p>
<p>In my preparation of converting an ecommerce store with about 40,000 products, I&#8217;ve added some logic to let me switch the products over to php by category, one at a time.  , starting with the least popular first to see how it works.</p>
<p>This is on my to-do list when everything else is done, so I won&#8217;t be giving any updates too soon.  <img src='http://sebastians-pamphlets.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <script type="text/javascript" id="szCommentHiddenTag:818">sz_comment_config_params.sz_comment_data[2]= {comment_id:"818", comment_author:"JLH", comment_author_url:"http://www.jlh-design.com", comment_author_email:"ZalW6Jl428PDncFeVgNUQvKMyNQD84TunPguE6XA6B1OCPhhSnm66P7F6Yx9TRRvqXU1pwhWq9GkSikV%2FkDIVsRg3smBYSbMKaLQiL8ycYEBZ7TsbXvokJozdJ9oG3u%2B6%2F%2BcHPi1SwEkVVrxrJwGCDYgq6e9nR1HoN5n3dWdePA%3D",sz_score:"5.7",comment_score:"5.9"};</script></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kimber</title>
		<link>http://sebastians-pamphlets.com/how-to-migrate-a-website-from-iis-asp-to-apache-php/#comment-817</link>
		<dc:creator>Kimber</dc:creator>
		<pubDate>Thu, 13 Dec 2007 12:15:53 +0000</pubDate>
		<guid>http://sebastians-pamphlets.com/how-to-migrate-a-website-from-iis-asp-to-apache-php/#comment-817</guid>
		<description>thanks, john and sebastian. sorry if i got off topic there. i appreciate your feedback. i've been going crazy trying to figure how to fix this but it looks like i'm out of luck. thanks for letting me know i wasn't actually crazy for not being able to get it to work. :)</description>
		<content:encoded><![CDATA[<p>thanks, john and sebastian. sorry if i got off topic there. i appreciate your feedback. i&#8217;ve been going crazy trying to figure how to fix this but it looks like i&#8217;m out of luck. thanks for letting me know i wasn&#8217;t actually crazy for not being able to get it to work. <img src='http://sebastians-pamphlets.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <script type="text/javascript" id="szCommentHiddenTag:817">sz_comment_config_params.sz_comment_data[3]= {comment_id:"817", comment_author:"Kimber", comment_author_url:"http://dallas-seo.blogspot.com/", comment_author_email:"WvK9ZOp9n2ljKRQ%2FHPT%2BqIhpjvqV5Rk5H%2B7oNjIkfK%2FSGOTeC7R8roPoJ9pMbIEKsu2RqlWlDKGknClIUClKk4XtKHyhA3HWVvfVt0jdwfGN66kQX9KqsT2qlMY0%2FmTCE1LxdfAltDuvocikyTkAlyk%2BAl0q%2BSbL0EY4J4FmVWg%3D",sz_score:"5.9",comment_score:"5.9"};</script></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian</title>
		<link>http://sebastians-pamphlets.com/how-to-migrate-a-website-from-iis-asp-to-apache-php/#comment-816</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Thu, 13 Dec 2007 10:43:46 +0000</pubDate>
		<guid>http://sebastians-pamphlets.com/how-to-migrate-a-website-from-iis-asp-to-apache-php/#comment-816</guid>
		<description>CVOS Man, I disagree. When search engines have indexed lots of .asp URLs it's better to stick with this extension. Redirecting all pages comes with traffic losses and although 301 redirects are supposed to transfer gained link juice, that's not guaranteed, hence avoid redirects where you can. If all files of a site have an .asp extension, why is this confusing? I'd even go so far and stick with .asp for new pages.</description>
		<content:encoded><![CDATA[<p>CVOS Man, I disagree. When search engines have indexed lots of .asp URLs it&#8217;s better to stick with this extension. Redirecting all pages comes with traffic losses and although 301 redirects are supposed to transfer gained link juice, that&#8217;s not guaranteed, hence avoid redirects where you can. If all files of a site have an .asp extension, why is this confusing? I&#8217;d even go so far and stick with .asp for new pages.<script type="text/javascript" id="szCommentHiddenTag:816">sz_comment_config_params.sz_comment_data[4]= {comment_id:"816", comment_author:"Sebastian", comment_author_url:"http://sebastians-pamphlets.com/about/", comment_author_email:"GX%2FM%2FRMuCXKp3Lga0Efp6euKyPuFADogwnj7IIDCOc0QVXurbSYXOqS%2FFjGx%2BQr2Y5HaNjs8D9NPHItf8b%2BFHXhUyjH%2B2WHBvp4YTH8lXHsLU%2FAo0iQXMKWR%2FpWTRNwhScKR3Hcx2UTNb0NbMzuH41bqmlQgJQTJnlJ2Gb6LWG4%3D",sz_score:"7.1",comment_score:"5.0"};</script></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian</title>
		<link>http://sebastians-pamphlets.com/how-to-migrate-a-website-from-iis-asp-to-apache-php/#comment-815</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Thu, 13 Dec 2007 10:10:59 +0000</pubDate>
		<guid>http://sebastians-pamphlets.com/how-to-migrate-a-website-from-iis-asp-to-apache-php/#comment-815</guid>
		<description>Kimber, John beats me, respectively the author of the ASP code. Here is what he contributed: &lt;blockquote&gt;
The only problem is that it doesn't work  :-( 

This:

&lt;code&gt;if instr(1,strNewUrl, "/default.asp", vbCompareText) &gt; 0 then
strNewUrl = replace(strNewUrl, "/Default.asp", "/")
strNewUrl = replace(strNewUrl, "/default.asp", "/")
end if&lt;/code&gt;

does absolutely nothing. IIS always acts like it has "/default.asp" on the end of the URL if the script is called that and acts as the default handler of the subdirectory. You can't 301 from /default.asp to / on IIS without doing really crazy tricks (eg set up xzy.asp as the default handler and keep default.asp as just another script; never link xyz.asp of course).

There are only 2 things that you can do to get it close:
1. use a javascript redirect to make sure people never see the other URL if they try it on accident
2. don't link to it  ;-) 
&lt;/blockquote&gt;

Better don't run a website under Windows.</description>
		<content:encoded><![CDATA[<p>Kimber, John beats me, respectively the author of the ASP code. Here is what he contributed:<br />
<blockquote>
The only problem is that it doesn&#8217;t work  <img src='http://sebastians-pamphlets.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>This:</p>
<p><code>if instr(1,strNewUrl, "/default.asp", vbCompareText) > 0 then<br />
strNewUrl = replace(strNewUrl, "/Default.asp", "/")<br />
strNewUrl = replace(strNewUrl, "/default.asp", "/")<br />
end if</code></p>
<p>does absolutely nothing. IIS always acts like it has &#8220;/default.asp&#8221; on the end of the URL if the script is called that and acts as the default handler of the subdirectory. You can&#8217;t 301 from /default.asp to / on IIS without doing really crazy tricks (eg set up xzy.asp as the default handler and keep default.asp as just another script; never link xyz.asp of course).</p>
<p>There are only 2 things that you can do to get it close:<br />
1. use a javascript redirect to make sure people never see the other URL if they try it on accident<br />
2. don&#8217;t link to it  <img src='http://sebastians-pamphlets.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />
</p></blockquote>
<p>Better don&#8217;t run a website under Windows.<script type="text/javascript" id="szCommentHiddenTag:815">sz_comment_config_params.sz_comment_data[5]= {comment_id:"815", comment_author:"Sebastian", comment_author_url:"http://sebastians-pamphlets.com/about/", comment_author_email:"GX%2FM%2FRMuCXKp3Lga0Efp6euKyPuFADogwnj7IIDCOc0QVXurbSYXOqS%2FFjGx%2BQr2Y5HaNjs8D9NPHItf8b%2BFHXhUyjH%2B2WHBvp4YTH8lXHsLU%2FAo0iQXMKWR%2FpWTRNwhScKR3Hcx2UTNb0NbMzuH41bqmlQgJQTJnlJ2Gb6LWG4%3D",sz_score:"7.1",comment_score:"5.0"};</script></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CVOS man</title>
		<link>http://sebastians-pamphlets.com/how-to-migrate-a-website-from-iis-asp-to-apache-php/#comment-814</link>
		<dc:creator>CVOS man</dc:creator>
		<pubDate>Thu, 13 Dec 2007 09:27:48 +0000</pubDate>
		<guid>http://sebastians-pamphlets.com/how-to-migrate-a-website-from-iis-asp-to-apache-php/#comment-814</guid>
		<description>you can leave a .asp extension on pages moved to a linux server but its better to bite the bullet and change the extension to .php or .html prevent future confusion.</description>
		<content:encoded><![CDATA[<p>you can leave a .asp extension on pages moved to a linux server but its better to bite the bullet and change the extension to .php or .html prevent future confusion.<script type="text/javascript" id="szCommentHiddenTag:814">sz_comment_config_params.sz_comment_data[6]= {comment_id:"814", comment_author:"CVOS%20man", comment_author_url:"http://www.netpaths.net/blog/", comment_author_email:"gnVQN5Db0U6PyqTw%2FPf6QplCvzbsOMxPx2Cgt%2B3Rwvwros3FE%2B76%2FbBsTdc4aCCoJ2mlUthegwqLYYW9zVRF16YdYAy%2F3z%2FCTNpnhShk3bLEbPaBZlsiFEGXXztvkkEJTzh2f8HBkOpPJllLPjcg5deNGrx%2BLqqjVNW2u2FCBnQ%3D",sz_score:"6.0",comment_score:"6.0"};</script></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JLH</title>
		<link>http://sebastians-pamphlets.com/how-to-migrate-a-website-from-iis-asp-to-apache-php/#comment-812</link>
		<dc:creator>JLH</dc:creator>
		<pubDate>Thu, 13 Dec 2007 02:09:11 +0000</pubDate>
		<guid>http://sebastians-pamphlets.com/how-to-migrate-a-website-from-iis-asp-to-apache-php/#comment-812</guid>
		<description>Kimber, That won't fix the default.asp loop, it only makes sure that if it's a home page redirect it doesn't send it to /default.asp but rather "/" when correcting the www/non-www thing. If you have the canonical URL with default.asp it will still show up with the /default.asp.  It's  tough to do with out double redirects as the Request.ServerVariables("URL") always returns default.asp on the home page.</description>
		<content:encoded><![CDATA[<p>Kimber, That won&#8217;t fix the default.asp loop, it only makes sure that if it&#8217;s a home page redirect it doesn&#8217;t send it to /default.asp but rather &#8220;/&#8221; when correcting the www/non-www thing. If you have the canonical URL with default.asp it will still show up with the /default.asp.  It&#8217;s  tough to do with out double redirects as the Request.ServerVariables(&#8221;URL&#8221;) always returns default.asp on the home page.<script type="text/javascript" id="szCommentHiddenTag:812">sz_comment_config_params.sz_comment_data[7]= {comment_id:"812", comment_author:"JLH", comment_author_url:"http://www.jlh-design.com", comment_author_email:"ZalW6Jl428PDncFeVgNUQvKMyNQD84TunPguE6XA6B1OCPhhSnm66P7F6Yx9TRRvqXU1pwhWq9GkSikV%2FkDIVsRg3smBYSbMKaLQiL8ycYEBZ7TsbXvokJozdJ9oG3u%2B6%2F%2BcHPi1SwEkVVrxrJwGCDYgq6e9nR1HoN5n3dWdePA%3D",sz_score:"5.7",comment_score:"5.9"};</script></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian</title>
		<link>http://sebastians-pamphlets.com/how-to-migrate-a-website-from-iis-asp-to-apache-php/#comment-810</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Wed, 12 Dec 2007 19:39:53 +0000</pubDate>
		<guid>http://sebastians-pamphlets.com/how-to-migrate-a-website-from-iis-asp-to-apache-php/#comment-810</guid>
		<description>Thanks Kimber, I've stolen the ASP code, so I'll pass your comment to the author.</description>
		<content:encoded><![CDATA[<p>Thanks Kimber, I&#8217;ve stolen the ASP code, so I&#8217;ll pass your comment to the author.<script type="text/javascript" id="szCommentHiddenTag:810">sz_comment_config_params.sz_comment_data[8]= {comment_id:"810", comment_author:"Sebastian", comment_author_url:"http://sebastians-pamphlets.com/about/", comment_author_email:"GX%2FM%2FRMuCXKp3Lga0Efp6euKyPuFADogwnj7IIDCOc0QVXurbSYXOqS%2FFjGx%2BQr2Y5HaNjs8D9NPHItf8b%2BFHXhUyjH%2B2WHBvp4YTH8lXHsLU%2FAo0iQXMKWR%2FpWTRNwhScKR3Hcx2UTNb0NbMzuH41bqmlQgJQTJnlJ2Gb6LWG4%3D",sz_score:"7.1",comment_score:"5.0"};</script></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kimber</title>
		<link>http://sebastians-pamphlets.com/how-to-migrate-a-website-from-iis-asp-to-apache-php/#comment-809</link>
		<dc:creator>Kimber</dc:creator>
		<pubDate>Wed, 12 Dec 2007 17:54:24 +0000</pubDate>
		<guid>http://sebastians-pamphlets.com/how-to-migrate-a-website-from-iis-asp-to-apache-php/#comment-809</guid>
		<description>wow! you make my head spin with these "over my head" posts! i did however find a gem in here that i think will fix a canonicalization problem i've been having on IIS. The ASP canonicalization routines example you provided may be exactly what i've been looking for to fix a redirect loop with default.asp. thanks!</description>
		<content:encoded><![CDATA[<p>wow! you make my head spin with these &#8220;over my head&#8221; posts! i did however find a gem in here that i think will fix a canonicalization problem i&#8217;ve been having on IIS. The ASP canonicalization routines example you provided may be exactly what i&#8217;ve been looking for to fix a redirect loop with default.asp. thanks!<script type="text/javascript" id="szCommentHiddenTag:809">sz_comment_config_params.sz_comment_data[9]= {comment_id:"809", comment_author:"Kimber", comment_author_url:"http://dallas-seo.blogspot.com/", comment_author_email:"WvK9ZOp9n2ljKRQ%2FHPT%2BqIhpjvqV5Rk5H%2B7oNjIkfK%2FSGOTeC7R8roPoJ9pMbIEKsu2RqlWlDKGknClIUClKk4XtKHyhA3HWVvfVt0jdwfGN66kQX9KqsT2qlMY0%2FmTCE1LxdfAltDuvocikyTkAlyk%2BAl0q%2BSbL0EY4J4FmVWg%3D",sz_score:"5.9",comment_score:"5.9"};</script></p>
]]></content:encoded>
	</item>
</channel>
</rss>
