tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Subdomain vs. Subdirectory
Date Fri, 20 Nov 2009 09:58:55 GMT
Hassan Schroeder wrote:
> On Thu, Nov 19, 2009 at 10:07 AM, picosam <picosam@gmail.com> wrote:
> 
>> I have a Tomcat6 server running behind an Apache2 server using JK mod. My
>> Tomcat responds to www.myserver.com and www.myserver.com/api. I would like
>> to make the server not respond to the latter and access the application
>> under /api via api.myserver.com instead.
> 
> So you want "api.myserver.com" to be a "virtual host".
> 
> There's a doc for that.  :-)

Right, and I missed that the Op also wanted to change the hostname.
So you need both the HowTo #38 and what Hassan mentions here.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message