• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jkMount with apache loading glassfish subdomains

 
K. Tsang
Bartender
Posts: 3406
13
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
John Brosan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic