PDA

View Full Version : URL Rewrite Problems


muncheroo
07-23-2008, 06:32 AM
So,

Following the instructions on this page, http://www.codeproject.com/KB/aspnet/URL_Rewriting.aspx I installed a urlrewrite module. It runs fine on my local dev machine but I couldn't get it to work on discountasp.net. I looked around and found some articles that said I needed wildcard mapping to be enabled. I submitted a ticket to enable it, and was told that I could do it myself remotely. I got the IIS 7 manager and I tried playing around with the handlers, but I honestly don't know what I'm doing. If someone can give me a few pointers I would greatly appreciate it!

muncheroo
07-24-2008, 03:42 AM
I solved this problem by adding this to my web.config

<modules>
<add type='URLRewriter.ModuleRewriter' name='ModuleRewriter'/>
</modules>

for some reason this was needed with the discountasp.net server and not my localhost. I took out the httpmodule and it worked fine. If someone has an explanation, I would appreciate it for future reference =)

Aristotle
07-28-2008, 03:54 AM
Most likely your live site is on IIS7 and your dev machine is using a version of IIS6 in XP. Httpmodule with IIS7 integrated mode no longer works.

Aristotle

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

muncheroo
07-28-2008, 03:57 AM
thanks for the reply good sir