Multiple paths targeting the same webapp

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

 



Hi,

I would like to have different urls targeting the same webapp on Tomcat.
I'm using mod_jk 1.2.23.

I have two urls : http://myhost/mywebapp1/index.do and
http://myhost/mywebapp2/index.do.
Now I want these urls to target the same tomcat webapp.
Incoming requests on /mywebapp1 and /webapp2 have to target /mywebapp
without changing the url of the user.
How can I do this ? Notice, that I have to use mod_jk for the ajp dialog.
mod_proxy_ajp is not suitable in my context.
For now, I have to copy my webapp twice on Tomcat (webapp1 and webapp2).

<VirtualHost myhost:80>
...
JkMount /mywebapp1/*.do myworker
JkMount /mywebapp2/*.do myworker
...
</VirtualHost>

Is there a better way to do this ?

Regards,

-- 
Bj



-- 
View this message in context: http://www.nabble.com/Multiple-paths-targeting-the-same-webapp-tp19648646p19648646.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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