apache - How to create a friendly url in Tomcat? -


i want modify application url //localhost:8080/monitor/index.html monitor , on putting monitor on browser, application should open. there way achieve this, can suggest configuration changes required this.

can map short url existing 1 may somewhere in web.xml. not sure approach suggestions great.

thanks , regards deb

you're mixing several different protocol layers in question.

if enter nothing "monitor" in browser url bar browser going first lookup "monitor" in dns , finding nothing send query google or configured search engine. in past browsers have taken other steps, such appending ".com" , prepending "www." don't think modern browsers more.

so far, server not remotely involved.

if you're large isp user (timewarner, comcast) , use dns it's possible isp intercept failed dns lookup , route request "helpful" search page (i.e. spam) of own.

at point request still near server.

i suppose mess /etc/hosts file on local system resolve "monitor" proper hostname, that's extremely brittle solution has hard coded on each machine want have "shortcut" link (and breaks when hostname changes).

you're better off setting web shortcut in browser points right place.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -