Zolf
asked on
Tomcat server setup
Hello there,
i have tomcat server to run my webapp.i have setup the server.xml as follows. the problem is that when the users type in the website,they only get to tsee It works!!.what am i messing.please help
<Host name="www.website.com" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="rs_default" debug="0" reloadable="true"> </Context>
<Context path="rs" docBase="rs" debug="0" reloadable="true"> </Context>
<Alias>website.com</Alias>
<Alias>11.11.111.111</Alia
</Host>
place webapp war in webapps directory and it will deploy to /filename
ASKER
thanks for your feedbacks.
can you please explain in breif these points
1. do i need to have two Context path
2. what are those variables in the Content path
https://tomcat.apache.org/tomcat-4.1-doc/config/context.html
they are mostly redundant... you can override settings for webapps this way. if you make war files yourself you can edit web.xml to include settings with deployment descriptor aka web.xml.
they are mostly redundant... you can override settings for webapps this way. if you make war files yourself you can edit web.xml to include settings with deployment descriptor aka web.xml.
ASKER
i went thought that link,but did not understand it.can you please give me an e.g. of it. my war file is in the webapps folder
it will work without particular context lines.
ASKER
you mean it will work like this without context line
<Host name="www.website.com" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Alias>website.com</Alias>
<Alias>11.11.111.111</Alia
</Host>
ASKER
anybody??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks
ASKER
please help