Mono FastCGI服务器-应用程序不';我不能在根下工作

Mono FastCGI服务器-应用程序不';我不能在根下工作,mono,fastcgi,xsp,Mono,Fastcgi,Xsp,好吧,我想不出来。我有一个测试MVC应用程序(Razoronomono)。我今天刚从master编译了mono,还有xsp。今天我还编译了nginx。我正在运行Ubuntu13.04 minimal 这项工作: 这并不是: 子目录中的所有代码都是相同的 applications=“/:/srv/www,/razoronomno:/srv/www/razoronomno,/apps/razoronomno:/srv/www/apps/razoronomno” nginx配置: 地点/{

好吧,我想不出来。我有一个测试MVC应用程序(Razoronomono)。我今天刚从master编译了mono,还有xsp。今天我还编译了nginx。我正在运行Ubuntu13.04 minimal

这项工作:

这并不是:

子目录中的所有代码都是相同的

applications=“/:/srv/www,/razoronomno:/srv/www/razoronomno,/apps/razoronomno:/srv/www/apps/razoronomno”

nginx配置: 地点/{

    }
    location /razoronmono {
            include /etc/nginx/fastcgi_params;
            fastcgi_pass 127.0.0.1:9000;
            fastcgi_index /;
    }

    location /apps/razoronmono {
            include /etc/nginx/fastcgi_params;
            fastcgi_pass 127.0.0.1:9000;
            fastcgi_index /;
    }
    location ~ \.(aspx|asmx|ashx|asax|ascx|soap|rem|axd|cs|config|dll)$ {
        fastcgi_pass   127.0.0.1:9000;
        include        /etc/nginx/fastcgi_params;
    }
我得到以下错误:

System.InvalidOperationException未能映射路径 “/apps/_ViewStart.cshtml”

描述:HTTP 500。处理请求时出错

详细信息:非web异常。异常来源(应用程序名称或 对象):System.Web。异常堆栈跟踪:在 System.Web.HttpRequest.MapPath(System.String virtualPath, System.String baseVirtualDir,布尔allowCrossAppMapping)[0x001a4] 在/usr/src/mono/mcs/class/System.Web/System.Web/HttpRequest.cs:1572中 位于System.Web.HttpRequest.MapPath(System.String virtualPath) [0x0000d]英寸 /usr/src/mono/mcs/class/System.Web/System.Web/HttpRequest.cs:1526at System.Web.Hosting.HostingEnvironment.MapPath(System.String 中的虚拟路径[0x00042] /usr/src/mono/mcs/class/System.Web/System.Web.Hosting/HostingEnvironment.cs:156 位于System.Web.Hosting.DefaultVirtualPathProvider.FileExists 中的(System.String virtualPath)[0x00016] /usr/src/mono/mcs/class/System.Web/System.Web.Hosting/DefaultVirtualPathProvider.cs:68 位于System.Web.WebPages.FileExistenceCache.FileExists(System.String 虚拟路径)[0x00000]位于:0处 System.Web.WebPages.VirtualPathFactoryManager.PageExistsInVPP (System.Web.WebPages.VirtualPathFactoryManager.PageExists上的:0中的System.String virtualPath,布尔useCache)[0x00000] (System.String virtualPath,Boolean useCache)[0x00000]位于:0中的System.Web.WebPages.WebPageExecutingBase.FileExists (System.String路径,布尔useCache)[0x00000]位于:0的System.Web.WebPages.StartPage.GetStartPage (System.Web.WebPages.WebPagerUnderingBase页,System.String 文件名,IEnumerable
1 supportedExtensions)[0x00000]位于:0的System.Web.Mvc.RazorView.RenderView
(System.Web.Mvc.ViewContext、System.IO.TextWriter、,
System.Object实例)[0x00000]位于:0处
System.Web.Mvc.buildmanager compiledview.Render
(System.Web.Mvc.ViewContext、System.IO.TextWriter)
[0x00000]英寸:0英寸
System.Web.Mvc.ViewResultBase.ExecuteSult
(System.Web.Mvc.ControllerContext上下文)[0x00000]位于:0处
System.Web.Mvc.ControllerActionInvoker.InvokeActionResult
(System.Web.Mvc.ControllerContext ControllerContext,
System.Web.Mvc.ActionResult ActionResult)[0x00000]位于:0处
System.Web.Mvc.ControllerActionInvoker+c\u DisplayClass1c.b\u 19
()[0x00000]英寸:0英寸
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter
(IResultFilter筛选器,System.Web.Mvc.ResultExecutingContext
预文本,System.Func
1 continuation)[0x00000]输入:0


由于谷歌的代码之夏,xsp回购协议目前正在经历严重的重构。这些重构可能会导致回归。然后:

  • 请编译xsp标记3.0.10而不是master,以查看问题是否消失
  • 如果有,请在中提交错误(并在摘要中添加“[回归]”),并在中联系@minibillirc://irc.gnome.org/monodevelop 让他对他可能提出的问题有所了解
  • 如果问题仍然存在,请将错误归档

  • 由于谷歌的代码之夏,xsp回购协议目前正在经历严重的重构。这些重构可能会导致回归。然后:

  • 请编译xsp标记3.0.10而不是master,以查看问题是否消失
  • 如果有,请在中提交错误(并在摘要中添加“[回归]”),并在中联系@minibillirc://irc.gnome.org/monodevelop 让他对他可能提出的问题有所了解
  • 如果问题仍然存在,请将错误归档

  • 没有标记3.0.10。我已经编译了标记3.0.11,这是我目前正在使用的,但不幸的是它没有解决错误。我添加了错误,希望是正确的,我以前从未使用过Bugzilla:如果它没有解决错误,那么它就不是一个回归,所以请删除“回归”一词从您的bug摘要抱歉。我已经修复了摘要描述。酷;另外:摘要仍然不能很好地描述bug。“不工作”是什么意思?请说明类似“网站仅在域的根文件夹中工作”这样的内容没有标记3.0.10。我已经编译了标记3.0.11,这是我目前正在使用的,但不幸的是它没有解决错误。我添加了错误,希望是正确的,我以前从未使用过Bugzilla:如果它没有解决错误,那么它就不是一个回归,所以请删除“回归”一词从您的bug摘要抱歉。我已经修复了摘要描述。酷;另外:摘要仍然不能很好地描述bug。“不工作”是什么意思?请说明类似“网站仅在域的根文件夹中工作”这样的内容