Hi expert users,
I am newbie to Apache webserver and as a start I face a complex problem.
I have developed a Java EE 7 app with Glassfish 4.1.1 Application server. On the other hand I have a wordpress blog. Google pagerank calculations handle differently the subdomain and the subdirectory. If I put my blog under my java web app, than the pagerank of blog influences my domain's pagerank positively. If I use it as a subdomain than there is no positive impact.
Consequently I have to solve somehow, that if somebody sends a get request to mydomain.com than the request should be handled by Glassfish but if mydomain.com/blog than Apache should handle this.
I have read articles how to install Glassfish behind Apache but they showed me only how to force Apache to make Glassfish handle the request ofmydomain.com/* using jk_mod. (http://www.lyonlabs.org/howto/howdoi-glassfish.html)
I have read also an other potential solution to use a "Java php interpreter for glassfish" called Quercus (https://docs.oracle.com/cd/E19798-01/821-1760/gjxjf/index.html).
Is there no any "native" Apache solution for my problem. I prefer a solution that use the apache very flexible and outstanding configuration features.
Cheers
Szűcs Roland | Ismerkedjünk meg a Linkedin-en | |||
Ügyvezető | Telefon: +36 1 210 81 13 | |||
Bookandwalk.hu |