Moqui でパブリック Web サイトをセットアップするのに苦労しています。パブリック マーケティング サイトとサインアップ フォームとして (dev-)www.example.net を使用しようとしています。次に、[tennant-name].example.net のテナント基本的なコンポーネントをセットアップしてから、MoquiDevConf.xml を編集し、以下に示すように webapp-list を変更しました。
<webapp-list>
<webapp name="webpublic" http-port="8080" https-enabled="false">
<root-screen host="dev-www.example.net" location="component://webpublic/screen/webpublic.xml"/>
</webapp>
<webapp name="webroot" http-port="8080" https-enabled="false">
<root-screen host="^((?!dev-www.example.net).)*$" location="component://webroot/screen/webroot.xml"/>
</webapp>
</webapp-list>
変更を有効にするためにアプリを再起動しましたが、 http://dev-www.example.net:8080 / にアクセスしようとすると、エラー 500 しか表示されません。
org.moqui.BaseException: Could not find root screen for host [dev-www.example.net]
ログでこれを見る限り、Moquiはコンポーネントを見つけていると言えます:
Added component [webpublic] at [file:/Volumes/MacHDD/Sources/atlas-moqui/runtime/component/webpublic]
非 dev-www ホストは引き続き機能し、通常のログイン画面が表示されるので、これは既存の webroot のほぼ直接のコピーであるため、何が欠けているのかわかりませんか?
助けてくれてありがとう!サム