rewrite outgoing url

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

 



Hi guys,

I'm trying to rewrite outgoing url as follows:

incoming to apache                   ---> http://myhost.com/aaaa/folder
rewriten to                                ----> http://myhost.com/folder
then forwarded to load balancer mod_jk  ----> /folder/*  loadbalancer
(geronimo servers)

the outgoing response  rewritten          ----> /folder/ http://myhost/aaaa
/folder

I've tried a combination of mod_jk and mod_rewrite, this works but I want
now to add an instance like this:

incoming to apache                   ---> http://myhost.com/bbbb/folder
rewritten to                                     ---->
http://myhost.com/folder
then forwarded to load balancer mod_jk  ----> /folder/*  loadbalancer
(Different geronimo servers)

the outgoing response  rewritten          ----> /folder/ http://myhost/bbbb
/folder

Any ideas?

Thanks,
Gabriel

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[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