1 つの XSP4 子プロセスを使用して、2 つの異なるルート ディレクトリから Ubuntu 16.04 上の ASP.NET Webforms コンテンツを提供しますか?

1 つの XSP4 子プロセスを使用して、2 つの異なるルート ディレクトリから Ubuntu 16.04 上の ASP.NET Webforms コンテンツを提供しますか?

1 つの XSP4 子プロセスを使用して、2 つの異なるルート ディレクトリから Ubuntu 16.04 上の ASP.NET Webforms コンテンツを提供したいと考えています。

では/etc/mono-server4debian.webappルート ディレクトリを指定して を作成し/var/www/firstaspnetseconddebian.webappルート ディレクトリを指定して を作成しました/var/www/secondaspnet。これで十分だと思いました。しかし、次のランタイム例外が発生します。

 System.Web.HttpException
    The resource cannot be found.

    Description: HTTP 404.The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

    Details: Requested URL: /hello.aspx
    Exception stack trace:
      at System.Web.Compilation.BuildManager.AssertVirtualPathExists (System.Web.VirtualPath virtualPath) <0x40e88650 + 0x00197> in <filename unknown>:0 
      at System.Web.Compilation.BuildManager.Build (System.Web.VirtualPath vp) <0x40e883f0 + 0x00033> in <filename unknown>:0 
      at System.Web.Compilation.BuildManager.GetCompiledType (System.Web.VirtualPath virtualPath) <0x40e880a0 + 0x00093> in <filename unknown>:0 
      at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath (System.Web.VirtualPath virtualPath, System.Type requiredBaseType) <0x40e87f50 + 0x00033> in <filename unknown>:0 
      at System.Web.UI.PageParser.GetCompiledPageInstance (System.String virtualPath, System.String inputFile, System.Web.HttpContext context) <0x40e87bb0 + 0x000bb> in <filename unknown>:0 
      at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext context, System.String requestType, System.String url, System.String path) <0x40e87b70 + 0x00027> in <filename unknown>:0 
      at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url, Boolean ignoreContextHandler) <0x40e7ccb0 + 0x002de> in <filename unknown>:0 
      at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url) <0x40e7cc80 + 0x0001b> in <filename unknown>:0 
      at System.Web.HttpApplication+<Pipeline>c__Iterator1.MoveNext () <0x40e65a50 + 0x02aab> in <filename unknown>:0

ps -ef で以下に示すように、システムの再起動中に systemd apache2.service によって生成された mod-mono-server4.exe のインスタンスを 1 つだけ実行しています。

  148:www-data  1090     1  0 16:42 ?        00:00:00 /usr/bin/mono /usr/lib/mono/4.5/mod-mono-server4.exe --filename /tmp/.mod_mono_server4 --nonstop --appconfigdir /etc/mono-server4

私が何を見逃しているのか、あるいは何を間違えたのか、誰か仮説を立ててもらえませんか?

どのような助けでも大歓迎です。

関連情報