GF 3.0.1 + Virtual Server: www.myhost.com:8080/projectname-war => www.myhost.com. How?
Posted
by
Harry Pham
on Stack Overflow
See other posts from Stack Overflow
or by Harry Pham
Published on 2011-01-05T03:31:07Z
Indexed on
2011/01/08
16:53 UTC
Read the original article
Hit count: 279
EDIT
I need to change www.myhost.com:8080/myproject-war
to www.myhost.com
. Here is what I've been trying:
I configurate the Virtual Server: server
. I have still have default Network Listeners to be http-listener-1 and http-listner-2. I change the Default Web Module to ScholarActive#ScholarActive-war.war
(The only option in the drop down list, since I only deploy 1 application).
For the docroot
, I try this
${com.sun.aas.instanceRoot}/applications/ScholarActive/ScholarActive-war_war
or this
${com.sun.aas.instanceRoot}/applications/ScholarActive/
Both does not work. What does docroot need to point to, for this to work?
what I try to do is: when I type localhost:8080/ScholarActive-war, then my application load, I want to make so that if I type locahost:8080, it will load the app as well, then what left is changed the port to 80. But no luck. Any Idea?
© Stack Overflow or respective owner