<?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: IIS 7 URL Rewrite Module support in WordPress 2.8</title>
	<atom:link href="http://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/feed/" rel="self" type="application/rss+xml" />
	<link>http://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/</link>
	<description>IIS, FastCGI, PHP and other interesting stuff</description>
	<lastBuildDate>Thu, 11 Mar 2010 18:01:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ruslany</title>
		<link>http://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/comment-page-1/#comment-1707</link>
		<dc:creator>ruslany</dc:creator>
		<pubDate>Tue, 02 Mar 2010 19:46:38 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=393#comment-1707</guid>
		<description>@Shir: there is a known issue in IIS 7 FastCGI module in how it handles the REQUEST_URI server variable for non-ascii characters. IIS team is planning to provide an update for it soon.

Meanwhile you can use this workaround:

In the wp-config.php file add this code:
&lt;code&gt;
  if (isset($_SERVER[&#039;UNENCODED_URL&#039;]))
    $_SERVER[&#039;REQUEST_URI&#039;] = $_SERVER[&#039;UNENCODED_URL&#039;];
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>@Shir: there is a known issue in IIS 7 FastCGI module in how it handles the REQUEST_URI server variable for non-ascii characters. IIS team is planning to provide an update for it soon.</p>
<p>Meanwhile you can use this workaround:</p>
<p>In the wp-config.php file add this code:<br />
<code><br />
  if (isset($_SERVER['UNENCODED_URL']))<br />
    $_SERVER['REQUEST_URI'] = $_SERVER['UNENCODED_URL'];<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shir</title>
		<link>http://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/comment-page-1/#comment-1704</link>
		<dc:creator>Shir</dc:creator>
		<pubDate>Sun, 28 Feb 2010 15:57:22 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=393#comment-1704</guid>
		<description>Hi,

I have tried to apply it on my site, which runs on IIS 7, unfortunately it seems to be working only when the page slug is written in english.
When I try to click on a page where the slug is in hebrew letters such as פרופיל (Profile) it goes to my custom 404 page.

Is there any solution for this? Thank you.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have tried to apply it on my site, which runs on IIS 7, unfortunately it seems to be working only when the page slug is written in english.<br />
When I try to click on a page where the slug is in hebrew letters such as פרופיל (Profile) it goes to my custom 404 page.</p>
<p>Is there any solution for this? Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: a43</title>
		<link>http://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/comment-page-1/#comment-1676</link>
		<dc:creator>a43</dc:creator>
		<pubDate>Thu, 11 Feb 2010 20:34:08 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=393#comment-1676</guid>
		<description>Thanks Ruslan</description>
		<content:encoded><![CDATA[<p>Thanks Ruslan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ruslany</title>
		<link>http://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/comment-page-1/#comment-1674</link>
		<dc:creator>ruslany</dc:creator>
		<pubDate>Wed, 10 Feb 2010 20:42:37 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=393#comment-1674</guid>
		<description>My rule did not work because its pattern starts with ^post. It looks like your URLs do not actually start with /post, so if you modify the rule pattern to be &quot;(20[0-9][0-9]/\d{2}/\d{2}/)(.*).aspx$&quot; then it should work. Note that it is important to not have the &quot;/&quot; at the beginning of the pattern.</description>
		<content:encoded><![CDATA[<p>My rule did not work because its pattern starts with ^post. It looks like your URLs do not actually start with /post, so if you modify the rule pattern to be &#8220;(20[0-9][0-9]/\d{2}/\d{2}/)(.*).aspx$&#8221; then it should work. Note that it is important to not have the &#8220;/&#8221; at the beginning of the pattern.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: a43</title>
		<link>http://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/comment-page-1/#comment-1672</link>
		<dc:creator>a43</dc:creator>
		<pubDate>Wed, 10 Feb 2010 18:28:07 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=393#comment-1672</guid>
		<description>Ruslan, thanks for the reply.

I did try your rule unfortunately it didn&#039;t work, still getting the 404 error.

after loads of googling and &quot;trail and error&quot; managed to get the following rule to work on my environment:

        &lt;rule name=&quot;Redirect(301) all legacy BlogEngine posts&quot; stopProcessing=&quot;true&quot;&gt;
            &lt;match url=&quot;.aspx&quot; /&gt;
            &lt;conditions&gt;
                &lt;add input=&quot;{HTTP_URL}&quot; negate=&quot;false&quot; pattern=&quot;(/20[0-9][0-9]/\d{2}/\d{2}/)(.*)\.aspx&quot; /&gt;
            &lt;/conditions&gt;
            &lt;action type=&quot;Redirect&quot; url=&quot;{C:1}{C:2}/&quot; redirectType=&quot;Permanent&quot; /&gt;
        &lt;/rule&gt;	

can you see any differences? I still can&#039;t understand why your suggested rule didn&#039;t work.</description>
		<content:encoded><![CDATA[<p>Ruslan, thanks for the reply.</p>
<p>I did try your rule unfortunately it didn&#8217;t work, still getting the 404 error.</p>
<p>after loads of googling and &#8220;trail and error&#8221; managed to get the following rule to work on my environment:</p>
<p>        &lt;rule name=&quot;Redirect(301) all legacy BlogEngine posts&quot; stopProcessing=&quot;true&quot;&gt;<br />
            &lt;match url=&quot;.aspx&quot; /&gt;<br />
            &lt;conditions&gt;<br />
                &lt;add input=&quot;{HTTP_URL}&quot; negate=&quot;false&quot; pattern=&quot;(/20[0-9][0-9]/\d{2}/\d{2}/)(.*)\.aspx&quot; /&gt;<br />
            &lt;/conditions&gt;<br />
            &lt;action type=&quot;Redirect&quot; url=&quot;{C:1}{C:2}/&quot; redirectType=&quot;Permanent&quot; /&gt;<br />
        &lt;/rule&gt;	</p>
<p>can you see any differences? I still can&#8217;t understand why your suggested rule didn&#8217;t work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ruslany</title>
		<link>http://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/comment-page-1/#comment-1670</link>
		<dc:creator>ruslany</dc:creator>
		<pubDate>Wed, 10 Feb 2010 01:29:02 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=393#comment-1670</guid>
		<description>@a43: This is most probably because the pattern for the redirect rule is incorrect. Try this rule instead:

&lt;rules&gt;
&lt;rule name=&quot;Redirect(301) all legacy BlogEngine posts&quot;&gt;
&lt;match url=&quot;^post/(20[0-9][0-9]/\d{2}/\d{2}/)(.*).aspx&quot; /&gt;
&lt;action type=&quot;Rewrite&quot; url=&quot;{R:1}{R:2}/&quot; /&gt;
&lt;/rule&gt;</description>
		<content:encoded><![CDATA[<p>@a43: This is most probably because the pattern for the redirect rule is incorrect. Try this rule instead:</p>
<p>&lt;rules&gt;<br />
&lt;rule name=&quot;Redirect(301) all legacy BlogEngine posts&quot;&gt;<br />
&lt;match url=&quot;^post/(20[0-9][0-9]/\d{2}/\d{2}/)(.*).aspx&quot; /&gt;<br />
&lt;action type=&quot;Rewrite&quot; url=&quot;{R:1}{R:2}/&quot; /&gt;<br />
&lt;/rule&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: a43</title>
		<link>http://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/comment-page-1/#comment-1666</link>
		<dc:creator>a43</dc:creator>
		<pubDate>Mon, 08 Feb 2010 20:58:38 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=393#comment-1666</guid>
		<description>Hi Ruslan,

I am trying to redirect all of my blogengine like urls to my wordpress blog but struggling to accomplish this task.  Please help!

blogengine url format: http://www.mydomain.com/post/2010/02/07/this-is-the-post-title.aspx

wordpress url: http://www.mydomain.com/2010/02/07/this-is-the-post-title/

I&#039;ve added a new rule along with the wordpress rule for some reason i am getting the old 404 error when I try the blogengine url format.

The site is hosted on ISS7 and PHP5 (godaddy windows shared hosting)

please have a look at my web.config and let me know if i am doing anything wrong:

&lt;configuration&gt;
  &lt;system.webServer&gt;
    &lt;rewrite&gt;
	
	&lt;rules&gt;
		&lt;rule name=&quot;Redirect(301) all legacy BlogEngine posts&quot;&gt;
			&lt;match url=&quot;(/20[0-9][0-9]/\d{2}/\d{2}/)(.*).aspx&quot; /&gt;
			&lt;action type=&quot;Rewrite&quot; url=&quot;{R:0}{R:1}/&quot; /&gt;
		&lt;/rule&gt;	
	
        &lt;rule name=&quot;wordpress&quot; patternSyntax=&quot;Wildcard&quot;&gt;
         &lt;match url=&quot;*&quot; /&gt;
            &lt;conditions&gt;
              &lt;add input=&quot;{REQUEST_FILENAME}&quot; matchType=&quot;IsFile&quot; negate=&quot;true&quot; /&gt;
              &lt;add input=&quot;{REQUEST_FILENAME}&quot; matchType=&quot;IsDirectory&quot; negate=&quot;true&quot; /&gt;
            &lt;/conditions&gt;
          &lt;action type=&quot;Rewrite&quot; url=&quot;index.php&quot; /&gt;
        &lt;/rule&gt;
      &lt;/rules&gt;
    &lt;/rewrite&gt;
  &lt;/system.webServer&gt;
&lt;/configuration&gt;

Please Note: the wordpress rewrite works fine.</description>
		<content:encoded><![CDATA[<p>Hi Ruslan,</p>
<p>I am trying to redirect all of my blogengine like urls to my wordpress blog but struggling to accomplish this task.  Please help!</p>
<p>blogengine url format: <a href="http://www.mydomain.com/post/2010/02/07/this-is-the-post-title.aspx" rel="nofollow">http://www.mydomain.com/post/2010/02/07/this-is-the-post-title.aspx</a></p>
<p>wordpress url: <a href="http://www.mydomain.com/2010/02/07/this-is-the-post-title/" rel="nofollow">http://www.mydomain.com/2010/02/07/this-is-the-post-title/</a></p>
<p>I&#8217;ve added a new rule along with the wordpress rule for some reason i am getting the old 404 error when I try the blogengine url format.</p>
<p>The site is hosted on ISS7 and PHP5 (godaddy windows shared hosting)</p>
<p>please have a look at my web.config and let me know if i am doing anything wrong:</p>
<p>&lt;configuration&gt;<br />
  &lt;system.webServer&gt;<br />
    &lt;rewrite&gt;</p>
<p>	&lt;rules&gt;<br />
		&lt;rule name=&quot;Redirect(301) all legacy BlogEngine posts&quot;&gt;<br />
			&lt;match url=&quot;(/20[0-9][0-9]/\d{2}/\d{2}/)(.*).aspx&quot; /&gt;<br />
			&lt;action type=&quot;Rewrite&quot; url=&quot;{R:0}{R:1}/&quot; /&gt;<br />
		&lt;/rule&gt;	</p>
<p>        &lt;rule name=&quot;wordpress&quot; patternSyntax=&quot;Wildcard&quot;&gt;<br />
         &lt;match url=&quot;*&quot; /&gt;<br />
            &lt;conditions&gt;<br />
              &lt;add input=&quot;{REQUEST_FILENAME}&quot; matchType=&quot;IsFile&quot; negate=&quot;true&quot; /&gt;<br />
              &lt;add input=&quot;{REQUEST_FILENAME}&quot; matchType=&quot;IsDirectory&quot; negate=&quot;true&quot; /&gt;<br />
            &lt;/conditions&gt;<br />
          &lt;action type=&quot;Rewrite&quot; url=&quot;index.php&quot; /&gt;<br />
        &lt;/rule&gt;<br />
      &lt;/rules&gt;<br />
    &lt;/rewrite&gt;<br />
  &lt;/system.webServer&gt;<br />
&lt;/configuration&gt;</p>
<p>Please Note: the wordpress rewrite works fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/comment-page-1/#comment-1648</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 03 Feb 2010 06:16:10 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=393#comment-1648</guid>
		<description>I am getting a 404 error on all my posts after implementing this change. Do you know why that might be? I meet all the requirements

php 5.2.9
iis 7
url rewrite 2.0

I set the proper permissions and let WP modify my web.config the rule got created ok and everything works on the site EXCEPT for posts.</description>
		<content:encoded><![CDATA[<p>I am getting a 404 error on all my posts after implementing this change. Do you know why that might be? I meet all the requirements</p>
<p>php 5.2.9<br />
iis 7<br />
url rewrite 2.0</p>
<p>I set the proper permissions and let WP modify my web.config the rule got created ok and everything works on the site EXCEPT for posts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ruslany</title>
		<link>http://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/comment-page-1/#comment-1609</link>
		<dc:creator>ruslany</dc:creator>
		<pubDate>Mon, 18 Jan 2010 18:26:25 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=393#comment-1609</guid>
		<description>Sunil, can you open the php.ini file used by your PHP installation and check what is the value specified for the open_basedir directive? I suspect that it may have been specified incorrectly. The paths should be separated by &quot;;&quot;, but in your case it looks like they are separated by &quot;:&quot;.</description>
		<content:encoded><![CDATA[<p>Sunil, can you open the php.ini file used by your PHP installation and check what is the value specified for the open_basedir directive? I suspect that it may have been specified incorrectly. The paths should be separated by &#8220;;&#8221;, but in your case it looks like they are separated by &#8220;:&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sunil Jain</title>
		<link>http://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/comment-page-1/#comment-1608</link>
		<dc:creator>Sunil Jain</dc:creator>
		<pubDate>Mon, 18 Jan 2010 18:16:07 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=393#comment-1608</guid>
		<description>Hello Ruslany , i am in deep trouble . pls help me 
I am getting this error on my blog&#039;s homepage header and also i am unable to login to my admin panel 

Below are the errors i am getting in my blog 
1. On the Header : 
&quot;Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/customers/gupshupblog.com/gupshupblog.com/httpd.www/wp-content/plugins/index.php/languages/index-en_US.mo) is not within the allowed path(s): (/customers/gupshupblog.com/gupshupblog.com:/tmp:/var/www/diagnostics:/usr/share/php) in /customers/gupshupblog.com/gupshupblog.com/httpd.www/wp-includes/l10n.php on line 329&quot;


And this error i recive when i try to login to my admin panel
Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/customers/gupshupblog.com/gupshupblog.com/httpd.www/wp-content/plugins/index.php/languages/index-en_US.mo) is not within the allowed path(s): (/customers/gupshupblog.com/gupshupblog.com:/tmp:/var/www/diagnostics:/usr/share/php) in /customers/gupshupblog.com/gupshupblog.com/httpd.www/wp-includes/l10n.php on line 329

Warning: Cannot modify header information - headers already sent by (output started at /customers/gupshupblog.com/gupshupblog.com/httpd.www/wp-includes/l10n.php:329) in /customers/gupshupblog.com/gupshupblog.com/httpd.www/wp-includes/functions.php on line 790

Warning: Cannot modify header information - headers already sent by (output started at /customers/gupshupblog.com/gupshupblog.com/httpd.www/wp-includes/l10n.php:329) in /customers/gupshupblog.com/gupshupblog.com/httpd.www/wp-includes/functions.php on line 791

So pls help me out in resolving this ??? :( :( :(</description>
		<content:encoded><![CDATA[<p>Hello Ruslany , i am in deep trouble . pls help me<br />
I am getting this error on my blog&#8217;s homepage header and also i am unable to login to my admin panel </p>
<p>Below are the errors i am getting in my blog<br />
1. On the Header :<br />
&#8220;Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/customers/gupshupblog.com/gupshupblog.com/httpd.www/wp-content/plugins/index.php/languages/index-en_US.mo) is not within the allowed path(s): (/customers/gupshupblog.com/gupshupblog.com:/tmp:/var/www/diagnostics:/usr/share/php) in /customers/gupshupblog.com/gupshupblog.com/httpd.www/wp-includes/l10n.php on line 329&#8243;</p>
<p>And this error i recive when i try to login to my admin panel<br />
Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/customers/gupshupblog.com/gupshupblog.com/httpd.www/wp-content/plugins/index.php/languages/index-en_US.mo) is not within the allowed path(s): (/customers/gupshupblog.com/gupshupblog.com:/tmp:/var/www/diagnostics:/usr/share/php) in /customers/gupshupblog.com/gupshupblog.com/httpd.www/wp-includes/l10n.php on line 329</p>
<p>Warning: Cannot modify header information &#8211; headers already sent by (output started at /customers/gupshupblog.com/gupshupblog.com/httpd.www/wp-includes/l10n.php:329) in /customers/gupshupblog.com/gupshupblog.com/httpd.www/wp-includes/functions.php on line 790</p>
<p>Warning: Cannot modify header information &#8211; headers already sent by (output started at /customers/gupshupblog.com/gupshupblog.com/httpd.www/wp-includes/l10n.php:329) in /customers/gupshupblog.com/gupshupblog.com/httpd.www/wp-includes/functions.php on line 791</p>
<p>So pls help me out in resolving this ??? <img src='http://ruslany.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  <img src='http://ruslany.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  <img src='http://ruslany.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
