1

In my webpage i use the UrlRewriting found here

Everything worked like a charm, until the upgrade from IIS6 to IIS7.5

The Url rewriting stopped working.

After adding these lines in the web.config the UrlRewriting started once again to work.

<modules>
  <remove name="ScriptModule" />
  <add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter" />
  <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</modules>

Now the problem is that the Request.Querystring that i use, in my webpage gets the data with wrong encoding.

So, while using the same Request.QuesryString instead of Αγγλίας i get αγî³î»Î¹î±

Is there anything at your mind?

UPDATE: While make a search on Google about this one i found that Greek webpages are returned.

ANOTHER UPDATE: I solved the problem by using RawUrl, but just in case... Is it a "kind of bug"?

2
  • what about in URL rewriter in english with IIS 7? Commented May 2, 2011 at 13:02
  • With IIS7 and up, UrlRewriting is part of IIS and ASP.NET. Commented May 16, 2011 at 9:10

1 Answer 1

1

Yes, that is a bug. I would recommend using ASP.NET Routing instead.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.