Aliasing localhost in Tomcat -


I have a "quick" web application posted in the Tomcat5.5 version. Typically, I run this application using the URL, localhost / sharp and it loads the index.jsp file which is the home page of the application. I want the same application to use the URL, www.local.dev.mydomain.com/quicker Is this server possible to do some configuration in XML or some other place? One way to do this is to modify the host files in the window -

  # 127.0.0.1 localhost 127.0.0.1 www.local.dev.mydomain.com  

But, if possible, I want to do it in a tomcat way.

Just leave the host name to all URLs (i.e. / quick Instead of using http://www.local.dev.mydomain.com/quicker ), all your links will be local to the web server, the app on which it keeps running does not make any difference Which domain is it?


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -