Last post Nov 19, 2009 05:05 PM by elbasha
Nov 19, 2009 02:02 PM|elbasha|LINK
I am hosting a website in a hosting company where I don't have access to any IIS features, how can I add URL Rewrite to my site? How would I add the module, can I add the module by simply going to my VS 2008 and clicking add reference?
Nov 19, 2009 02:49 PM|DarrellNorton|LINK
Does your hosting company support HTTP Modules? If so, check out Approach #2 in ScottGu's post here:
You can configure everything in your web.config. Depending on which app you choose (UrlRewriter.net or UrlRewriting.net) affects how you install it - but most are simple web.config changes.
Nov 19, 2009 05:05 PM|elbasha|LINK
That works perfectly when I test it on my PC (localhost), I tried to upload it to the host and I would get the error "Page not found".
I did the 2nd Approach, I downloaded the urlrewriter module and added it as a "add reference" and I made the location of it in the bin folder of the site. After that I just added the code that was on the link you sent.
UPDATE: I got everything to work perfectly after contacting them, I have 1 issue though where my images are not showing up once I added the url rewrite, some pictures show up and others don't for some reason, is this somethin common and has a fix for it