Hallo Mailinglistennutzer
Ich habe ein Charset Problem, bei einem Apache Reverse Proxy.
##### Ausgangslage:
- interner Webserver
-- cl-http (Clozure Lisp)
-- auf Port 8000
-- liefert Webseiten im Encoding iso-8859-1 aus
- Reverse Proxy
-- Apache 2.4.6
-- mod_proxy
-- mod_proxy_html
-- mod_xml2enc
-- holt die Webseiten vom internen Server, kümmert sich um das
Umschreiben der Header und der absoluten Links im Dokument, bevor er
diese ausliefert (als UTF-8)
##### Problem
Über Formulare werden von extern Daten als
"application/x-www-form-urlencoded" zurückgeliefert. Schaue ich mir
die Kommunikation beim Senden der Formulardaten mittels Wireshark an,
so stelle ich fest, dass das Encoding durch mod_proxy/xml2enc nicht
geändert wird und die Daten beim Backendserver als UTF-8 ankommen.
Somit gibt's bei den deutschen Umlauten natürlich ein Problem.
##### Frage
Wie kann ich es erreichen, dass eine Konvertierung des Zeichensatzes
von utf-8 nach iso-8859-1 gemacht wird, wenn Daten an den
Backendserver weitergereicht werden?
##### Anlagen
####### Config des Virtual Host
<VirtualHost *:80>
ServerName worf.fritz.box
ProxyRequests Off
ProxyHTMLEnable On
ProxyHTMLExtended On
ProxyHTMLURLMap http://localhost:8000/ci/ http://worf.fritz.box/delib/
<Location /delib/ >
ProxyPass http://localhost:8000/ci/
ProxyPassReverse http://localhost:8000/ci/
</Location>
</VirtualHost>
####### Config von mod_html
ProxyHTMLLinks a href
ProxyHTMLLinks area href
ProxyHTMLLinks link href
ProxyHTMLLinks img src longdesc usemap
ProxyHTMLLinks object classid codebase data usemap
ProxyHTMLLinks q cite
ProxyHTMLLinks blockquote cite
ProxyHTMLLinks ins cite
ProxyHTMLLinks del cite
ProxyHTMLLinks form action
ProxyHTMLLinks input src usemap
ProxyHTMLLinks head profile
ProxyHTMLLinks base href
ProxyHTMLLinks script src for
ProxyHTMLEvents onclick ondblclick onmousedown onmouseup \
onmouseover onmousemove onmouseout onkeypress \
onkeydown onkeyup onfocus onblur onload \
onunload onsubmit onreset onselect onchange \
content
ProxyHTMLLinks frame src longdesc
ProxyHTMLLinks iframe src longdesc
ProxyHTMLLinks body background
ProxyHTMLLinks applet codebase
Mit bestem Dank
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]