如何将Spring Web应用部署到Apache Web服务器。

huangapple 未分类评论49阅读模式
英文:

How to deploy a spring web application to an apache web server

问题

以下是翻译好的内容:

所以我是一个完全的初学者(开始编程4个月了),所以请耐心一点,我有一个带有自动安装的Apache Tomcat Web服务器的Spring Web应用程序,它在本地主机上运行得很好。

几天前,我购买了一台服务器,并在上面安装了Apache2 Web服务器,目前我正在努力找出如何配置我的Spring应用程序,使其作为控制器处理发送到服务器的任何请求,但似乎找不到任何信息。

英文:

So I'm a complete beginner(started programming 4 months ago) so bear with me please, i have this spring web application with an apache tomcat web server auto installed with it, and it's working quite fine in a local host.

I've bought a server a few days ago and installed the apache2 web server on it, and am currently trying to figure out how to configure my spring application to work as the controller handling any request that's sent to the server, but don't seem to find anything.

答案1

得分: 0

你需要配置代理(通常是mod_proxy),请查看这个链接

英文:

You need to configure a proxy (usually mod_proxy), take a look at this

答案2

得分: 0

可能在部署应用到Tomcat时出现了错误。我建议检查应用日志。

英文:

There was probably an error while deploying the application to tomcat. I suggest checking the application log.

huangapple
  • 本文由 发表于 2020年5月30日 08:21:18
  • 转载请务必保留本文链接:https://java.coder-hub.com/62096354.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定