|
|
| (31 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 |
| === Modul aktivieren === | | </syntaxhighlight> |
| sudo a2enmod proxy
| |
| sudo a2enmod proxy_html
| |
| sudo a2enmod proxy_http
| |
| | |
| ; Hinweis
| |
| Anschließend muss der Apache Webserver neu gestartet werden ('''force-reload''')
| |
| | |
| == Syntax ==
| |
| === Optionen ===
| |
| === Parameter ===
| |
| === Umgebungsvariablen ===
| |
| === Exit-Status ===
| |
| == Anwendung ==
| |
| === Fehlerbehebung ===
| |
| == Konfiguration ==
| |
| Zum Verwenden des Moduls muss die [:Apache/Virtual_Hosts:VirtualHost]-Konfiguration entsprechend angepasst werden.
| |
| | |
| ; Hier ein Ausschnitt einer möglichen Konfiguration
| |
| <VirtualHost *>
| |
| ...
| |
| ProxyRequests Off
| |
| <Proxy *>
| |
| Order deny,allow
| |
| Allow from all
| |
| </Proxy>
| |
| ProxyPass /ejabberd/ http://127.0.0.1:5281/
| |
| ProxyPassReverse /ejabberd/ http://127.0.0.1:5281/
| |
| ...
| |
| </VirtualHost>
| |
| | |
| ; Hinweis
| |
| Nach dieser Änderung muss der Apache Webserver neu gestartet werden (reload)
| |
| | |
| ; Warnung
| |
| Die Option '''ProxyRequests''' sollte ohne weitere Sicherheitsvorkehrungen (z.B. nur für bestimmte Subnetze erlaubt) '''NICHT''' auf On gesetzt werden, ansonst hat man einen sog. Open Proxy, was im Normalfall ein großes Sicherheitsproblem darstellt!
| |
| === Proxy-Eigenschaften ===
| |
| === Dateien ===
| |
|
| |
|
| <noinclude> | | <noinclude> |
| Zeile 52: |
Zeile 19: |
| == Anhang == | | == Anhang == |
| === Siehe auch === | | === Siehe auch === |
| {{Special:PrefixIndex/{{BASEPAGENAME}}}} | | {{Special:PrefixIndex/{{BASEPAGENAME}}/}} |
| ==== Dokumentation ====
| | === Dokumentation === |
| ===== RFC =====
| |
| {| class="wikitable sortable options"
| |
| |-
| |
| ! RFC !! Titel
| |
| |-
| |
| | [https://www.rfc-editor.org/rfc/0000 0000] ||
| |
| |}
| |
|
| |
|
| ===== Man-Pages =====
| | === Links === |
| ===== Info-Pages =====
| | ==== Weblinks ==== |
| ==== Links ====
| | # https://sarwiki.informatik.hu-berlin.de/Reverse_Proxy |
| ===== 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 ==
| |
| === Siehe auch ===
| |
| {{Special:PrefixIndex/{{BASEPAGENAME}}}}
| |
| ==== Links ====
| |
| ===== Weblinks =====
| |
|
| |
|
| [[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