tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Arnold <carn...@electrichendrix.com>
Subject Re: Serve same content to multiple URL's
Date Thu, 04 Apr 2013 20:55:21 GMT
On Apr 4, 2013, at 4:45 PM, "Igor Cicimov" <icicimov@gmail.com> wrote:

> You just need to create Alias in the existing VirtualHost in Apache and the
> Host in Tomcat.

So in the existing apache virtualhost, I need to make an alias entry? Like so:

<VirtualHost *:80>
   ServerName share.domain.com
   ServerAlias   share.domain2.com

  JkMount /share|/* worker1
  RedirectMatch http://share.domain.com/share
**i will need another redirectmatch here, wouldn't I? In order to redirect domain 2?
</VirtualHost>

And in the tomcat server.xml, add a host entry?
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message