Reverse Proxy seit V3.41.7
Verfasst: 01.12.2018, 15:02
Liebes Forum,
seit besagtem Update funktioniert mein Reverse Proxy via Apache2 nicht mehr richtig.
Hier dazu meine Konfiguration:
Ein Aufruf der CCU führt nun nur noch zu folgendem unbrauchbaren Dialog:
Any help highly appreciated!
seit besagtem Update funktioniert mein Reverse Proxy via Apache2 nicht mehr richtig.
Hier dazu meine Konfiguration:
Code: Alles auswählen
<IfModule mod_proxy.c>
ProxyRequests off
RewriteEngine On
redirectmatch ^/rega$ /rega/
rewritecond %{REQUEST_URI} ^/rega/
rewriterule (.*) $1 [PT]
rewritecond %{HTTP_REFERER} https://www.[url].de/rega/
rewriterule ^/(.*) /rega/$1 [PT]
ProxyPass /rega/ http://10.0.1.5:8181/ timeout=1200
ProxyPassReverse /rega/ http://10.0.1.5:8181/ timeout=1200
</IfModule>
<IfModule mod_proxy.c>
ProxyRequests off
RewriteEngine On
redirectmatch ^/ccu$ /ccu/
rewritecond %{REQUEST_URI} ^/ccu/
rewriterule (.*) $1 [PT]
rewritecond %{HTTP_REFERER} https://www.[url].de/ccu/ [OR]
rewritecond %{HTTP_REFERER} https://www.[url].de/webui/ [OR]
rewritecond %{HTTP_REFERER} https://www.[url].de/pda/ [OR]
rewritecond %{HTTP_REFERER} https://www.[url].de/api/ [OR]
rewritecond %{HTTP_REFERER} https://www.[url].de/addons/cuxd/ [OR]
rewritecond %{HTTP_REFERER} https://www.[url].de/addons/cuxchart/ [OR]
rewritecond %{HTTP_REFERER} https://www.[url].de/ise/ [OR]
rewritecond %{HTTP_REFERER} \?sid\=\@.+\@ [OR]
rewritecond %{THE_REQUEST} \?sid\=\@.+\@
rewriterule ^/(.*) /ccu/$1 [PT]
rewriterule ^/pda/(.*) /ccu/pda/$1
rewriterule ^/webui/(.*) /ccu/webui/$1
rewriterule ^/addons/db/(.*) /ccu/addons/db/$1
rewriterule ^/addons/cuxd/(.*) /ccu/addons/cuxd/$1
rewriterule ^/addons/cuxchart/(.*) /ccu/addons/cuxchart/$1
rewriterule ^/ise/(.*) /ccu/ise/$1
ProxyPass /ccu/ http://10.0.1.5/ timeout=1200
ProxyPassReverse /ccu/ http://10.0.1.5/ timeout=1200
</IfModule>
Any help highly appreciated!