Hallo zusammen
Da ich inzwischen dieses Problem "erarbeiten" darf, erlaube ich es mir das Thema auszugraben.
Ich habe inzwischen diverse Tests machen dürften und dann durfte ich Monate warten ob ich nun weiter machen soll oder nicht...
Naja erstmal habe ich eine kopie des Proxyservers gemacht, dass wir daran rumschrauben können ohne in Produktionssysteme eingreifen zu müssen. Daher habe ich ein paar weitere Tests druchgeführt. Das Configfile habe ich inzwischen "bereinigt" dass nur noch die Seite darin ist, die das Problem an sich hat.
Hier ist das "bereinigte" Configfile von /apache2/sites-aviable/
- Code: Select all
<VirtualHost *:80>
ServerName proxy2.****.lan
# Redirect permanent / https://proxy2.****.lan/confluence/yourtime
RedirectMatch permanent ^/(.*)$ https://proxy2.****.lan/$1
</VirtualHost>
<VirtualHost *:443>
ServerName proxy2.****.lan
ErrorLog /sites/service/logs/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /sites/service/logs/access.log combined
ServerSignature Off
#This brings you to the confluence start-pageshows a start-page.
RedirectMatch permanent ^/$ https://proxy2.****.lan/yourtime
RedirectMatch ^/yourtime$ "/yourtime/f?p=YT:SEITE1"
# This secures the server from being used as a third party
# proxy server
ProxyRequests Off
## Allows the proxying of a SSL connection
#SSLProxyEngine On
#ProxyVia On
#RequestHeader set Front-End-Https "On"
## Set up SSL to work with this host
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/server.crt
SSLCertificateKeyFile /etc/apache2/ssl/server.key
ServerSignature Off
ProxyHTMLLogVerbose On
#LogLevel Info
ProxyPreserveHost Off
<Location /yourtime/>
#ProxyPass /yourtime/ http://pub.****.lan:7780/pls/apex_entw/
ProxyPass http://pub.****.lan:7780/pls/apex_entw/
#ProxyHTMLURLMap http://pub.****.lan:7778/pls/apex_entw /yourtime
#DirectoryIndex f?p=YT:SEITE1
RequestHeader set X-Proxy-Request yes
ProxyPassReverse /yourtime/
#ProxyPassReverseCookieDomain pub.****.lan:7780 proxy2.****.ch
#ProxyPassReverseCookiePath /yourtime /pls/apex_entw
#ProxyHTMLURLMap http://pub.****.lan:7780/pls/apex_entw /yourtime
#SetOutputFilter INFLATE;proxy-html;DEFLATE
SetOutputFilter proxy-html
</Location>
</VirtualHost>
Das Problem ist immer noch das gleiche wie im ersten Beitrag beschrieben. Sobald ich ein Command "a2dismod proxy_html" absetze und die Zeile "ProxyHTMLLogVerbose On" nicht auskommentiere gibt Apache2 beim Neustart eine Fehlermeldung aus, dass er die Konfiguration nicht laden kann. Nun wollte ich hier fragen, kann mir jemand Simpel erklären oder ein Link geben, der mir erklärt, was proxy_html genau macht? Dass es ein HTML-Tag darum legt ist mir klar, aber was wird noch alles gemacht? Ich habe inzwischen die Vermutung dass wir das Modul gar nicht brauchen. Gibt es irgndwo eine Hilfe nur im Bezug auf das proxy_html Modul mit den verschiedenen Konfigurationsmöglichkeiten? z.B. dass es in bestimmten Fällen keinen HTML-Tag darum herum macht usw.
Ich bin dankbar für jede Hilfe.
Gruss
Kneubi