我想在远程环境中运行和调试我的 gwt 应用程序。例如 gwt + apache web 服务器的组合 IE。我正在运行和调试我的应用程序,如 http://ServerName/gwtapp.html?gwt.codesvr=localhost:9997
在我的工作区/应用程序/war 上设置了 apache 服务器文档根
谁能帮我配置apache服务器来配置这种环境。
最佳答案
添加 DocumentRoot 应该就足够了指令到您的 Apache 配置。
<VirtualHost *:80>
DocumentRoot /xxx/workspace/application/war
</VirtualHost>
在 Linux 机器上,apache 配置可以在/etc/apache2/sites-enabled/default 中找到
关于apache - 在 Apache Web 服务器上运行 Gwt 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8986074/