Content unavailable! (broken link)https://www.dynarocks.com/wiki/attach/PageHeader/interSULT-2.002.jpg

This page (revision-14) was last changed on 27-Feb-2018 08:49 by Dieter Käppel

This page was created on 20-Apr-2012 10:16 by Dieter Käppel

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Version Date Modified Size Author Changes ... Change note
14 27-Feb-2018 08:49 3 KB Dieter Käppel to previous
13 27-Feb-2018 08:49 3 KB Dieter Käppel to previous | to last
12 19-Jun-2014 22:07 3 KB Dieter Käppel to previous | to last
11 19-Oct-2013 15:19 2 KB Dieter Käppel to previous | to last
10 16-Aug-2013 16:51 2 KB Dieter Käppel to previous | to last
9 22-Feb-2013 19:05 2 KB Dieter Käppel to previous | to last
8 02-Feb-2013 14:45 2 KB Dieter Käppel to previous | to last
7 20-May-2012 13:14 2 KB Dieter Käppel to previous | to last
6 10-May-2012 05:49 1 KB Dieter Käppel to previous | to last
5 08-May-2012 21:53 1 KB Dieter Käppel to previous | to last
4 20-Apr-2012 10:19 1 KB Dieter Käppel to previous | to last
3 20-Apr-2012 10:17 1 KB Dieter Käppel to previous | to last Apache ==> Apache HTTPD
2 20-Apr-2012 10:17 1 KB Dieter Käppel to previous | to last
1 20-Apr-2012 10:16 234 bytes Dieter Käppel to last
Incoming links Outgoing links

Difference between version and

At line 7 changed 2 lines
ProxyPass /path http://localhost:8080/
ProxyPass /other-path http://localhost:8081/
ProxyPass /path/ http://localhost:8080/path/
ProxyPass /other-path/ http://localhost:8081/other-path/
At line 11 added 12 lines
__Erklärung:__ Links steht der in der Anfrage zu ersetzende Pfad /path/, der auf '/' endet. Die Endung ist wichtig, damit am Pfad keine doppelten '/' auftreten. Es ist sinnvoll den internen Pfad genauso zu benennen wie den externen, da viele Web-Applikationen absolute Links im HTML-Code herausgeben.
!Header
Durch reines Ersetzen der Anfrage würden die Localhost-URLs mit raus gegeben werden, zum Beispiel bei Redirects. Daher sind Rückwärtsersetzungen sinnvoll:
{{{
RedirectEngine On
ProxyPassReverse /path/ http://localhost:8080/path/
}}}
_Erklärung:__ In den Headern werden die Localhost-Adressen wieder durch die Adressen der original Anfragen zurück ersetzt, daher auch 'Reverse'.
×