开发者

Problem with UrlRewritingNet

开发者 https://www.devze.com 2022-12-10 09:06 出处:网络
I have a problem with UrlRewritingNet.UrlRewriter.dll (http://urlrewriting.net/149/en/home.html)! I use html extensions instead aspx like:

I have a problem with UrlRewritingNet.UrlRewriter.dll (http://urlrewriting.net/149/en/home.html)!

I use html extensions instead aspx like: http://myhost.com/defaul.aspx -> I overwrite to http://www.myhost.com/defaul.html, add specific rule to web.config. It works fine on VS2008 developer server, but doesn't on live server.

Is it possible to set some values in web.config to inform web-server do not check files ("verify that file exists" checkbox) because I haven't access to IIS because it's hosts开发者_高级运维 by hosting company?


If you're hosting it in IIS 6, then you need to set up the mapping in IIS. Many shared hosting solutions do not allow this. (Shared hosting is usually the cheapest).

BTW: Its worth noting that the professional versions of windows come with IIS, but it's not installed by default. If you can, it's usually best to at least test against a local version of IIS before you start looking at hosting.

0

精彩评论

暂无评论...
验证码 换一张
取 消