Hello,

Je rencontre un soucis:
j'ai un serveur tomcat sur une machine local.
J'aimerais pointer dans une webbapp directement depuis l'exterieur:

Voici mon server.xml

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
       <!-- HOST DEFINIE PAR DEFAULT  -->
      <Host name="localhost"  appBase="webapps"
            unpackWARs="true" autoDeploy="true"
            xmlValidation="false" xmlNamespaceAware="false">
 
        <!-- SingleSignOn valve, share authentication between web applications
             Documentation at: /docs/config/valve.html -->
        <!--
        <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
        -->
 
        <!-- Access log processes all example.
             Documentation at: /docs/config/valve.html -->
        <!--
        <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
               prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/>
        -->
      </Host>
        <!-- MON HOST -->
      <Host name="ci.mondomaine.fr" appBase="webapps" unpackWARs="true" autoDeploy="true">
        <Context path="" docBase="jenkins" debug="true" reloadable="true"/>
        </Host>
Ca ne fonctionne pas, j'ai carrement pas de reponse du serveur ou en bidouillant, je me retrouve avec du 404...

Comment faire pour que je rentre directement dans une webapp depuis l’extérieur?

Merci d'avance.