Skip to content

Instantly share code, notes, and snippets.

@imageaid
Created December 4, 2010 16:33
Show Gist options
  • Save imageaid/728302 to your computer and use it in GitHub Desktop.
Save imageaid/728302 to your computer and use it in GitHub Desktop.
A basic Tomcat host declaration in server.xml
<Host name="mydomain.com" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
<Alias>www.domain.com</Alias>
<Context path="" docBase="C:/dev/Clients/mydomain.com" />
</Host>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment