how to host multiple java website on linux/centos using same port

4.94 Download
Note: To prevent users from installing apk files from outside, Google Play has now added a warning when installing apks & mods. PlayProtect will tell you the file is harmful. Simply, just click “Install anyway (unsafe)”.
Grand Theft Auto V / GTA 5 v2.00 APK + MOD (Beta)

Information

Namehow to host multiple java website on linux/centos using same port
how to host multiple java website on linux/centos using same port -



GOTO - cd opt/tomcat/conf/vim server.xml


Fisrt Host

 <Host name="localhost"  appBase="webapps"
                unpackWARs="true" autoDeploy="true">
       
        <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
               prefix="localhost_access_log" suffix=".txt"
               pattern="%h %l %u %t &quot;%r&quot; %s %b" />


      </Host>

For Second Host Type  below code -

 <Host name="localhost1"  appBase="webapps2"
            unpackWARs="true" autoDeploy="true">

        <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
               prefix="localhost_access_log" suffix=".txt"
               pattern="%h %l %u %t &quot;%r&quot; %s %b" />

      </Host>
Thanks for visiting our website..

if you have any doubts kindly drop a comment......


Mới hơn Cũ hơn
Gangstar Vegas v6.8.0e MOD APK + OBB (Unlimited Money/VIP 10)
Poppy Playtime Chapter 1 v1.0.8 APK (Full Game)