How to enable URL REDIRECT MODULE IN AZURE CLOUD

Oct 1, 2009 at 5:14 AM

Hi All,

I am trying to redirect all requests to index.php. In local host using url rewrite module I am redirecting. please suggest me How to enable URL REDIRECT MODULE IN AZURE CLOUD. The following snippet is my rule

<rule name="myrule" stopProcessing="true">
     <match url="^([^/]+)/([^/]+)/?$"/>
     <conditions>
      <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
      <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
     </conditions>
     <action type="Rewrite" url="index.php?id={R:1}&amp;title={R:2}"/>
    </rule>

Coordinator
Oct 1, 2009 at 5:57 AM

I've checked Steve Marx'blog, this should be possible. Have a look at http://blog.smarx.com/posts/php-asp-net-in-windows-azure

Oct 1, 2009 at 6:56 AM

Hi Marteenba,

Thanks for your valuable response, I tried the rule in Localhost it is working fine, but in Azure it is throwing 500 internal error.

please suggest me how to enable url rewrite module in Azure cloud.

Coordinator
Oct 1, 2009 at 7:35 AM

Are you sure the error is caused by the rewriting? Try posting this question on the MSDN Azure forum, they have access to logs and that sort of stuff. --> http://social.msdn.microsoft.com/Forums/en/windowsazure/threads