Virtual Hosting on Tomcat ………!!!

Mar-10th-2010

Hi,

You can easily host multiple websites under single tomcat (virtual host) with the help of server.xml file…

[root@map007]# vi /usr/local/tomcat/conf/server.xml

=========================================================

< Host name="linuxsurgeon.com" appBase="/home/linux/public_html" >
< Alias>www.linuxsurgeon.com
< Context path="" reloadable="true" docBase="/home/linux/public_html" debug="1"/ >
< Context path="/manager" debug="0" privileged="true" >
< docBase="/usr/local/jakarta/tomcat/server/webapps/manager" >
< /Context >
< /Host>

===========================================================

Enjoy Linux !!!

Mega World News Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google Yahoo Buzz StumbleUpon Weekend Joy

Comments

  1. Kawi gurl Said,

    thanks for keeping me up to date on this subject.

    Sent from my iPad 4G

Add A Comment

*