Re: Subdomain vs. Subdirectory
picosam wrote: Hello, 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. http://wiki.apache.org/tomcat/HowTo # 38 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Subdomain vs. Subdirectory
Hassan Schroeder wrote: On Thu, Nov 19, 2009 at 10:07 AM, picosam pico...@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-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Subdomain vs. Subdirectory
Hello, 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. Thank you, Sammy -- View this message in context: http://old.nabble.com/Subdomain-vs.-Subdirectory-tp26421421p26421421.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Subdomain vs. Subdirectory
On Thu, Nov 19, 2009 at 10:07 AM, picosam pico...@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.schroe...@gmail.com twitter: @hassan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org