Answer the question
In order to leave comments, you need to log in
How to setup virtual host on Tomcat7?
Good afternoon, there is a virtual machine with RedHat7, on which Tomcat7 is installed.
Draw.io is installed on the tomcat
,
everything works fine, i.e. opens at tomcat.mydomain:8080/draw/?https=0
But this is an ugly address, so I want to create a virtual domain, for example draw.mydomain
Therefore, I started creating virtual hosts according to this manual:
https://gist.github.com/esfand /7748566
namely added
<Host name="draw.domain" appBase="draw" autoDeploy="true" unpackWARs="true">
<Alias>draw.domain</Alias>
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" resolveHosts="false"/>
</Host>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question