无法访问Umbraco所在网站下虚拟目录的问题

by 亿答案 20. 十月 2009 04:33

将Umbraco安装在某个网站下,则在访问该网站下虚拟目录的时候会出现错误。

首先在远程访问某个虚拟目录的话,会根据Umbraco 配置文件的配置而显示自定义错。

本地不显示自定义错误的话,一般会显示:

Configuration Error

Line 87:       <add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, 
UrlRewritingNet.UrlRewriter" />

 

解决方法:在根目录web.config中加入

<location path="." allowOverride="false" inheritInChildApplications="false">
    <system.web>

...

</system.web>

</location>

评论

2010/3/8 8:08:37 #

Nike air jordan shoes

good

Nike air jordan shoes People's Republic of China

2010/4/8 14:57:14 #

tiffany

信息是非常有用的..感谢分享

tiffany People's Republic of China

2010/4/8 15:00:18 #

China tour

This is a really good read for me, Must admit that you are one of the best bloggers I ever saw.Thanks for posting this informative article.

China tour Ukraine

2010/4/8 15:02:50 #

Gate valve

You should really moderate the comments here

Gate valve People's Republic of China

2010/4/25 13:46:15 #

ugg boots store

Very vivid appearance, perfect plot, challenging game. Many of us put this game as a very important part of life. Surprise,when I browse the web ,I found these website Pretty good. such as xxxxxx, go and see it that rich variety of fashion at a reasonable price !

ugg boots store People's Republic of China

2010/5/5 2:49:28 #

Replica Jewelry

good

Replica Jewelry People's Republic of China

2010/5/31 17:50:50 #

peeinggirl

It is as most times a joy browsing these articles

peeinggirl Taiwan

添加评论


(将显示你的Gravatar图标)

  Country flag

biuquote
  • 评论
  • 在线预览
Loading



Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

RecentComments

Comment RSS