https://wiki.letto.at/wiki/?title=Betreiben_hinter_einem_Apache-Server&feed=atom&action=history
Betreiben hinter einem Apache-Server - Versionsgeschichte
2024-03-28T23:17:55Z
Versionsgeschichte dieser Seite in Letto-Wiki
MediaWiki 1.30.0
https://wiki.letto.at/wiki/index.php?title=Betreiben_hinter_einem_Apache-Server&diff=1757&oldid=prev
Damboeck am 28. März 2019 um 14:29 Uhr
2019-03-28T14:29:55Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr style="vertical-align: top;" lang="de">
<td colspan="2" style="background-color: white; color:black; text-align: center;">← Nächstältere Version</td>
<td colspan="2" style="background-color: white; color:black; text-align: center;">Version vom 28. März 2019, 14:29 Uhr</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Zeile 1:</td>
<td colspan="2" class="diff-lineno">Zeile 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* Dies hat den Vorteil, dass der Apache-Server das Zertifikat für https Verwalten kann.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* Dies hat den Vorteil, dass der Apache-Server das Zertifikat für https Verwalten kann.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* Konfiguration des Apache Servers:</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* Konfiguration des Apache Servers <ins class="diffchange diffchange-inline">als AJP-Proxy</ins>:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><pre></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><pre></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>a2enmod ssl</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>a2enmod ssl</div></td></tr>
</table>
Damboeck
https://wiki.letto.at/wiki/index.php?title=Betreiben_hinter_einem_Apache-Server&diff=1753&oldid=prev
Damboeck am 28. März 2019 um 14:12 Uhr
2019-03-28T14:12:03Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr style="vertical-align: top;" lang="de">
<td colspan="2" style="background-color: white; color:black; text-align: center;">← Nächstältere Version</td>
<td colspan="2" style="background-color: white; color:black; text-align: center;">Version vom 28. März 2019, 14:12 Uhr</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Zeile 1:</td>
<td colspan="2" class="diff-lineno">Zeile 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">= Betreiben des Servers hinter einem Apache-Server =</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* Dies hat den Vorteil, dass der Apache-Server das Zertifikat für https Verwalten kann.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* Dies hat den Vorteil, dass der Apache-Server das Zertifikat für https Verwalten kann.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* Konfiguration des Apache Servers:</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* Konfiguration des Apache Servers:</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l11" >Zeile 11:</td>
<td colspan="2" class="diff-lineno">Zeile 10:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Betreiben des TomEE-Servers hinter einem Apache-Server ==</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Betreiben des TomEE-Servers hinter einem Apache-Server ==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">* Dies hat den Vorteil, dass der Apache-Server das Zertifikat für https Verwalten kann.</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* In der Konfigurationsdatei des Apache eintragen, wenn der AJP Port des TomEE-Servers auf 8089 liegt:</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* In der Konfigurationsdatei des Apache eintragen, wenn der AJP Port des TomEE-Servers auf 8089 liegt:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><pre></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><pre></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l31" >Zeile 31:</td>
<td colspan="2" class="diff-lineno">Zeile 29:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Betreiben des Glassfish-Servers hinter einem Apache-Server ==</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Betreiben des Glassfish-Servers hinter einem Apache-Server ==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">* Dies hat den Vorteil, dass der Apache-Server das Zertifikat für https Verwalten kann.</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* Den Glassfish für den AJP-Proxy auf Port 8009 vorbereiten ( Dabei wird auch das admin-Passwort abgefragt! )</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* Den Glassfish für den AJP-Proxy auf Port 8009 vorbereiten ( Dabei wird auch das admin-Passwort abgefragt! )</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><pre></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><pre></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l56" >Zeile 56:</td>
<td colspan="2" class="diff-lineno">Zeile 53:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div></IfModule></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div></IfModule></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">== siehe auch ==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* [[Installation]]</ins></div></td></tr>
</table>
Damboeck
https://wiki.letto.at/wiki/index.php?title=Betreiben_hinter_einem_Apache-Server&diff=1752&oldid=prev
Damboeck: Die Seite wurde neu angelegt: „= Betreiben des Servers hinter einem Apache-Server = * Dies hat den Vorteil, dass der Apache-Server das Zertifikat für https Verwalten kann. * Konfiguration d…“
2019-03-28T14:10:46Z
<p>Die Seite wurde neu angelegt: „= Betreiben des Servers hinter einem Apache-Server = * Dies hat den Vorteil, dass der Apache-Server das Zertifikat für https Verwalten kann. * Konfiguration d…“</p>
<p><b>Neue Seite</b></p><div>= Betreiben des Servers hinter einem Apache-Server =<br />
* Dies hat den Vorteil, dass der Apache-Server das Zertifikat für https Verwalten kann.<br />
* Konfiguration des Apache Servers:<br />
<pre><br />
a2enmod ssl<br />
a2enmod proxy<br />
a2enmod proxy_ajp<br />
a2enmod rewrite<br />
systemctl restart apache2<br />
</pre><br />
<br />
== Betreiben des TomEE-Servers hinter einem Apache-Server ==<br />
* Dies hat den Vorteil, dass der Apache-Server das Zertifikat für https Verwalten kann.<br />
* In der Konfigurationsdatei des Apache eintragen, wenn der AJP Port des TomEE-Servers auf 8089 liegt:<br />
<pre><br />
<IfModule mod_ssl.c><br />
<VirtualHost _default_:443><br />
ServerAdmin x.y@z.at<br />
...<br />
SSLProxyEngine On<br />
ProxyRequests Off<br />
ProxyPreserveHost On<br />
<br />
<Location /letto><br />
ProxyPass ajp://localhost:8089/letto<br />
</Location><br />
...<br />
</VirtualHost><br />
</IfModule><br />
</pre><br />
<br />
== Betreiben des Glassfish-Servers hinter einem Apache-Server ==<br />
* Dies hat den Vorteil, dass der Apache-Server das Zertifikat für https Verwalten kann.<br />
* Den Glassfish für den AJP-Proxy auf Port 8009 vorbereiten ( Dabei wird auch das admin-Passwort abgefragt! )<br />
<pre><br />
/opt/glassfish4/glassfish/bin/asadmin --user admin --host localhost --port 4848 create-http-listener --listeneraddress 0.0.0.0 --listenerport 8009 --defaultvs server jk-connector-8009<br />
/opt/glassfish4/glassfish/bin/asadmin --user admin --host localhost --port 4848 set configs.config.server-config.network-config.network-listeners.network-listener.jk-connector-8009.jk-enabled=true<br />
/opt/glassfish4/glassfish/bin/asadmin stop-domain<br />
/opt/glassfish4/glassfish/bin/asadmin start-domain<br />
</pre><br />
* In der Konfigurationsdatei des Apache eintragen:<br />
<pre><br />
<IfModule mod_ssl.c><br />
<VirtualHost _default_:443><br />
ServerAdmin x.y@z.at<br />
...<br />
SSLProxyEngine On<br />
ProxyRequests Off<br />
ProxyPreserveHost On<br />
<br />
<Location /letto><br />
ProxyPass ajp://localhost:8009/letto<br />
</Location><br />
...<br />
</VirtualHost><br />
</IfModule><br />
</pre></div>
Damboeck