Re: how can lassfish application server behind Apache and wordpress blog as a subdirectory can work together

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2016-04-01 at 10:21 AM Szűcs Roland wrote:

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

Hi Szűcs,

Does'nt 'JkUnMount /blog/ ajp13' work for you?
What Version of mod_jk is used in the setup?

Cheers Oscar

https://support.pivotal.io/hc/en-us/articles/202654008-Using-mod-jk-how-to-exclude-certain-files-in-Tomcat-web-application-context-from-being-passed-to-Tomcat

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux