|
|
| (35 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) |
| Zeile 1: |
Zeile 1: |
| '''mod_proxy''' - Kurzbeschreibung
| | == mod_proxy == |
| | ; ProxyPass |
| | Um Apache als Reverse-Proxy-Server einzurichten, wird [[mod_proxy]] aktiviert |
|
| |
|
| == Beschreibung ==
| | ; Weitere Module |
| === Sicherheitskonzept ===
| | Gängige Module, die möglicherweise notwendig sind |
| === Modul mod_proxy ===
| | * [[mod_http]] |
| | * [[mod_headers]] |
| | * [[mod_html]] |
|
| |
|
| | | === Installation === |
| == Installation == | | Installation und Aktivierung von mod_proxy |
| Seit Apache 2.4 ist mod_proxy_html enthalten und muss nur aktiviert werden
| | <syntaxhighlight lang="bash" highlight="1" line copy> |
| | | sudo apt install libapache2-mod-proxy-html a2enmod mod_proxy |
| == Syntax == | | </syntaxhighlight> |
| === Optionen ===
| |
| === Parameter ===
| |
| === Umgebungsvariablen ===
| |
| === Exit-Status ===
| |
| == Anwendung ==
| |
| === Fehlerbehebung ===
| |
| == Konfiguration ==
| |
| === Proxy-Eigenschaften ===
| |
| === Dateien ===
| |
|
| |
|
| <noinclude> | | <noinclude> |
| == Anhang ==
| |
| === Siehe auch ===
| |
| {{Special:PrefixIndex/{{BASEPAGENAME}}}}
| |
| ==== Dokumentation ====
| |
| ===== RFC =====
| |
| {| class="wikitable sortable options"
| |
| |-
| |
| ! RFC !! Titel
| |
| |-
| |
| | [https://www.rfc-editor.org/rfc/0000 0000] ||
| |
| |}
| |
|
| |
| ===== Man-Pages =====
| |
| ===== Info-Pages =====
| |
| ==== Links ====
| |
| ===== Projekt =====
| |
| ===== Weblinks =====
| |
| # https://wiki.ubuntuusers.de/Apache/mod_proxy_html/
| |
| # [http://sarwiki.informatik.hu-berlin.de/Reverse_Proxy Sehr guter Artikel über Reverse Proxy] {de}
| |
|
| |
| = TMP =
| |
| == Beschreibung ==
| |
|
| |
|
| |
|
| <noinclude>
| |
| == Anhang == | | == Anhang == |
| === Siehe auch === | | === Siehe auch === |
| {{Special:PrefixIndex/{{BASEPAGENAME}}}} | | {{Special:PrefixIndex/{{BASEPAGENAME}}/}} |
| ==== Links ==== | | === Dokumentation === |
| ===== Weblinks =====
| |
| | |
| = TMP =
| |
| [https://httpd.apache.org/docs/2.4/mod/mod_proxy_html.html mod_proxy_html] {en} ist ein Ausgabefilter, der HTML-Links so umschreiben kann, dass mehrere Webserver nahtlos miteinander kombiniert werden können.
| |
| | |
| So kann z.B. ein 2. Webserver (welchen z.B. Dienste wie [:Archiv/ejabberd:] bereitstellen) unter `http://server/ejabberd` erreicht werden, obwohl der 2. Webserver auf der IP 127.0.0.1 und dem Port 5281 läuft. Die Hauptaufgabe (und damit der Unterschied zum "normalen" '''mod_proxy''') besteht darin, dass das übertragene HTML so modifiziert wird, dass alle Links mit der veränderten Situation klar kommen.
| |
| | |
| Hier eine grafische Darstellung des Ganzen:
| |
| [[Bild(mod_proxy_html.png, align=center)]]
| |
| Wie im Beispiel zu sehen wird man über `http://server/ejabberd` auf den eingebauten Webserver vom [:Archiv/ejabberd:] umgeleitet. Alle Seiten, die der ejabberd sendet, werden durch '''mod_proxy_html''' so verändert, dass die Links mit `http://server/ejabberd/` beginnen. So ist eine normale Funktion der ejabberd-Administrationsseiten gewährleistet. Natürlich funktioniert dieses Verfahren auch mit vielen anderen Diensten.
| |
| | |
| === Modul aktivieren ===
| |
| sudo a2enmod proxy
| |
| sudo a2enmod proxy_html
| |
| sudo a2enmod proxy_http
| |
|
| |
|
| ; Hinweis
| | === Links === |
| Anschließend muss der Apache Webserver neu gestartet werden ('''force-reload''')
| | ==== Weblinks ==== |
| | # https://sarwiki.informatik.hu-berlin.de/Reverse_Proxy |
|
| |
|
| [[Kategorie:Apache/HTTP/Module]] | | [[Kategorie:Apache/HTTP/Module]] |
mod_proxy
- ProxyPass
Um Apache als Reverse-Proxy-Server einzurichten, wird mod_proxy aktiviert
- Weitere Module
Gängige Module, die möglicherweise notwendig sind
Installation
Installation und Aktivierung von mod_proxy
sudo apt install libapache2-mod-proxy-html a2enmod mod_proxy
Anhang
Siehe auch
Dokumentation
Links
Weblinks
- https://sarwiki.informatik.hu-berlin.de/Reverse_Proxy