wie sehen denn aktuell Euro Configs aus?
Ich habe aktuell mit Apache/2.4.38 und Raspbian 10 (Buster( das Problem, dass der Reverse Proxy zwar wunderbar mit Tinymatic funktioniert, aber der Aufruf der WebUI nicht funktioniert.
Folgende URL wird nach der Authentifizierung in der Browserleiste aufgerufen:
https://meine-domain.de/login.htm
Und als FM wird folgendes angezeigt:
Not Found
The requested URL was not found on this server.
Apache/2.4.38 (Raspbian) Server at meine-domain.de Port 443
Der Aufruf anderer Beispielseiten funktioniert (Beispiel):
ProxyPass /test/ http://192.168.1.100/ timeout=1200
ProxyPassReverse /test/ http://192.168.1.100/ timeout=1200
Und hier meine Config (default-ssl.conf):
Code: Alles auswählen
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerAdmin webmaster@localhost
ServerName meine-domain.de
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on
SSLCertificateFile /pfad/zu/cert/cert.pem
SSLCertificateKeyFile /pfad/zu/key/key.pem
<Location />
AuthType basic
AuthName "home"
AuthUserFile /etc/apache2/ssl/httpsusers
Require valid-user
</Location>
<IfModule mod_proxy.c>
ProxyRequests off
RewriteEngine On
redirectmatch ^/ccu$ /ccu/
rewritecond %{REQUEST_URI} ^/ccu/
rewriterule (.*) $1 [PT]
rewritecond %{HTTP_REFERER} https://meine-domain.de/ccu/ [OR]
rewritecond %{HTTP_REFERER} https://meine-domain.de/webui/ [OR]
rewritecond %{HTTP_REFERER} https://meine-domain.de/webui/js/extern [OR]
rewritecond %{HTTP_REFERER} https://meine-domain.de/pda/ [OR]
rewritecond %{HTTP_REFERER} https://meine-domain.de/api/ [OR]
rewritecond %{HTTP_REFERER} https://meine-domain.de/addons/xmlapi/ [OR]
rewritecond %{HTTP_REFERER} https://meine-domain.de/addons/cuxd/ [OR]
rewritecond %{HTTP_REFERER} https://meine-domain.de/addons/cuxchart/ [OR]
rewritecond %{HTTP_REFERER} https://meine-domain.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 ^/webui/js/extern/(.*) /ccu/webui/js/extern/$1
rewriterule ^/addons/db/(.*) /ccu/addons/db/$1
rewriterule ^/addons/xmlapi/(.*) /ccu/addons/xmlapi/$1
rewriterule ^/addons/cuxd/(.*) /ccu/addons/cuxd/$1
rewriterule ^/addons/cuxchart/(.*) /ccu/addons/cuxchart/$1
rewriterule ^/ise/(.*) /ccu/ise/$1
ProxyPass /ccu/ http://192.168.1.18/ timeout=1200
ProxyPassReverse /ccu/ http://192.168.1.18/ timeout=1200
</IfModule>
</VirtualHost>
</IfModule>
Code: Alles auswählen
11.11.11.11 - MeinUser [18/Feb/2021:12:50:52 +0100] "GET /ccu/ HTTP/1.1" 200 1630 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
11.11.11.11 - MeinUser [18/Feb/2021:12:50:52 +0100] "GET /ccu/pages/index.htm HTTP/1.1" 302 604 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
11.11.11.11 - MeinUser [18/Feb/2021:12:50:52 +0100] "GET /login.htm HTTP/1.1" 404 517 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"