aspose file tools*
The moose likes Other Java Products and Servers and the fly likes jkMount with apache loading glassfish subdomains Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "jkMount with apache loading glassfish subdomains" Watch "jkMount with apache loading glassfish subdomains" New topic
Author

jkMount with apache loading glassfish subdomains

K. Tsang
Bartender

Joined: Sep 13, 2007
Posts: 2596
    
    9

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 OCPJP7 OCPWCD5 OCPBCD5
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jkMount with apache loading glassfish subdomains