如何在URL删除该应用程序的名称? Tomcat的+的httpd [英] How to remove the application name in URL? tomcat + httpd

查看:143
本文介绍了如何在URL删除该应用程序的名称? Tomcat的+的httpd的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每个人

我做了被Apache的Web应用程序框架点击,只是扔它变成后面的httpd tomcat的。

I made a web application by Apache Click Framework, and just throwed it into tomcat behind httpd.

(假设我的域名是www.domain.com)。
因此,我可以通过URL来访问我的应用程序:www.myDomain.com/myApp/pages/login.htm

(assume my domain name is www.domain.com.) So I can access my app by the URL: www.myDomain.com/myApp/pages/login.htm

我的问题是,如何通过配置在的httpd或Tomcat删除此URL中的对myApp的一部分?因为我的域名已经有类似对myApp。

My questions is, how to remove the "myApp" part in this url by configuration in httpd or tomcat? because my domain name already has some words like "myApp".

推荐答案

简单命名你的战争文件 root.war ,并将其部署到Tomcat。
您可能必须删除preconfigured ROOT / 首先在tomcat目录(如果存在)。

Simply name your war file root.war and deploy it to tomcat. You probably have to remove the preconfigured ROOT/ directory in tomcat first, if it exists.

这篇关于如何在URL删除该应用程序的名称? Tomcat的+的httpd的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆