tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hassan Schroeder <hassan.schroe...@gmail.com>
Subject Re: Subdomain vs. Subdirectory
Date Thu, 19 Nov 2009 19:29:26 GMT
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.  :-)
-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan

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


Mime
View raw message