httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oscar Knorn <oscar.kn...@uni-due.de>
Subject Re: [users@httpd] how can lassfish application server behind Apache and wordpress blog as a subdirectory can work together
Date Fri, 01 Apr 2016 08:51:14 GMT
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 <http://mydomain.com/> than the request should
> be handled by Glassfish but if mydomain.com/blog
> <http://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/* <http://mydomain.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
>
> -- 
> <https://www.linkedin.com/pub/roland-sz%C5%B1cs/28/226/24/hu> 	Szűcs
> Roland
> <https://www.linkedin.com/pub/roland-sz%C5%B1cs/28/226/24/hu>
> Ismerkedjünk meg a Linkedin
> <https://www.linkedin.com/pub/roland-sz%C5%B1cs/28/226/24/hu>-en
> <https://bookandwalk.hu/>
> Ügyvezető 		Telefon: +36 1 210 81 13
> Bookandwalk.hu <https://bokandwalk.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

Mime
View raw message