You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Karthik Nanjangude <ka...@xius-bcgi.com> on 2009/05/25 07:13:51 UTC
[users@httpd] ............ :( Plz help
Hi
SPECF
Apache : 2.2.11
Mod jk : mod_jk-1.2.26-httpd-2.0.59.so
JBOSS : 4.2.1 ( 2 nos)
The specific web apps on the JBOSS are
http://<IP>:<PORT1> /acme
http://<IP>:<PORT2> /acme
The same have been configured in worker1.properties via Load balancer in Apache/conf directory
The Problem
1) PUBLIC DNS for the same would be something like this
Eg. http://acmework.acmeblog.com<http://acmework.acmeblog.com/>
2) "/acme" application need's to be transformed as /achme?area=ind
I need to configure APACHE, so some body calling on INTERNET calls'
"http://acmework.acmeblog.com<http://acmework.acmetalk.com/>" should land up on the web application as
http://acmework.acmeblog.com?area=ind<http://acmework.acmeblog.com/?area=ind>
How to achieve the same..... plz help
Re: [users@httpd] ............ :( Plz help
Posted by Igor Cicimov <ic...@gmail.com>.
You can try mod_rwrite in the virtual host section:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^acmework\.acmeblog\.com$
RewriteRule ^/(acme)$ http://%1/$1?area=ind
Igor
On Mon, May 25, 2009 at 3:13 PM, Karthik Nanjangude <
karthik.nanjangude@xius-bcgi.com> wrote:
> Hi
>
>
>
> SPECF
>
> Apache : 2.2.11
>
> Mod jk : mod_jk-1.2.26-httpd-2.0.59.so
>
> JBOSS : 4.2.1 ( 2 nos)
>
>
>
>
>
> The specific web apps on the JBOSS are
>
>
>
> http://<IP>:<PORT1> /acme
>
> http://<IP>:<PORT2> /acme
>
>
>
>
>
> The same have been configured in worker1.properties via Load balancer
> in Apache/conf directory
>
>
>
>
>
> The Problem
>
>
>
> 1) PUBLIC DNS for the same would be something like this
>
>
>
> Eg. http://acmework.acmeblog.com
>
>
>
>
>
> 2) “/acme” application need’s to be transformed as
> /achme?area=ind
>
>
>
>
>
>
>
> I need to configure APACHE, so some body calling on INTERNET calls’
>
>
>
> “http://acmework.acmeblog.com <http://acmework.acmetalk.com/>” should
> land up on the web application as
>
>
>
> http://acmework.acmeblog.com?area=ind<http://acmework.acmeblog.com/?area=ind>
>
>
>
>
>
>
>
> How to achieve the same….. plz help
>
>
>