Hello, I am completely lost in trying to configure my Tomcat 5.5. I have read the docs under "Context", "Engine", "Host", and am having trouble putting the information to use.
I have one webapp that I need to configure to a DNS Entry. Below is my server.xml. My DNS is www.theuniquepear.com and it lives under webapps/unique. But with the below configuration, and when I try and hit the url it goes here: http://www.theuniquepear.com/ and does not go to the context of "unique"? Can anyone assist me here? Thanks <Server port="8005" shutdown="SHUTDOWN"> <GlobalNamingResources> <!-- Used by Manager webapp --> <Resource name="UserDatabase" auth="Container" type="org.apache.catalina.UserDatabase" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" pathname="conf/tomcat-users.xml" /> </GlobalNamingResources> <Service name="Catalina"> <Connector port="80" /> <!-- This is here for compatibility only, not required --> <Connector port="8009" protocol="AJP/1.3" /> <Engine name="Standalone" defaultHost="localhost" debug="0"> <!-- This Host is the default Host --> <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="true"> <Context path="" docBase="ROOT" debug="0"/> <Context path="/orders" docBase="/home/ian/orders" debug="0" reloadable="true" crossContext="true"> </Context> </Host> <!-- This Host is the first "Virtual Host": www.example.com --> <Host name="www.theuniquepear.com" appBase="webapps/unique"> <Context path="unique" docBase="."/> </Host> </Engine> </Service> </Server>