1つのXSP4サブプロセスを使用して、2つの異なるルートディレクトリにUbuntu 16.04のASP.NET Webフォームコンテンツを提供しますか?

1つのXSP4サブプロセスを使用して、2つの異なるルートディレクトリにUbuntu 16.04のASP.NET Webフォームコンテンツを提供しますか?

XSP4サブプロセスを使用して、2つの異なるルートディレクトリにUbuntu 16.04のASP.NET Webformsコンテンツを提供しようとしています。

では、ルートディレクトリという名前を/etc/mono-server4作成し、ルートディレクトリという名前を付けました。私はそれで十分だと思います。ただし、次のランタイム例外が発生します。debian.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

私が何かを見逃しているか、何か間違っていると思い切っていると思う人がいますか?

どんな助けでも大変感謝します。

ベストアンサー1

おすすめ記事