Skip to content

Instantly share code, notes, and snippets.

@nnoco
Created March 12, 2014 09:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nnoco/9503650 to your computer and use it in GitHub Desktop.
Save nnoco/9503650 to your computer and use it in GitHub Desktop.
가상 호스트 추가를 위한 server.xml 수정
<Server ...>
...
<Service ...>
<Engine ...>
...
<!-- 기본 localhost 호스트 -->
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
...
</Host>
<!-- 서브 도메인에 연결될 호스트 추가 -->
<Host name="sub.domain.com" appBase="webapps"
unpackWARs="true" autoDeploy="true">
</Host>
</Engine>
</Service>
</Server>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment