| Author |
jkMount with apache loading glassfish subdomains
|
K. Tsang
Ranch Hand
Joined: Sep 13, 2007
Posts: 1219
|
|
Hello all, I have this scenario. Suppose I have a domain called "test.com" running apache. Then I install glassfish and mod_jk.
Now say I have a subdomain called "abc.test.com" such that this URL will route to glassfish app called "abc". Without mod_jk I can access this using "test.com:8080/abc" but instead I want to use mod_jk and point to "abc.test.com".
So I add the JKMount directive in my apache custom settings like this:
But now if I do that my default index page will load up glassfish index page. If I do "JkMount /*.test.com ajp13" or "JkMount /abc.test.com ajp13" it doesn't seem to work.
Do I need to do anything on Glassfish side like setting up virtual hosts? I hope not
Thanks
|
K. Tsang JavaRanch SCJP5 SCJD/OCM-JD
|
 |
John Brosan
Greenhorn
Joined: Jul 07, 2005
Posts: 9
|
|
I know that this is a really old post, but I am having the exact same issue and I was wondering if there are some good examples that someone could point me to in order to resolve this issue.
Thanks,
John
|
Linux, giving you more uptime than an overdose of viagra!
|
 |
 |
|
|
subject: jkMount with apache loading glassfish subdomains
|
|
|