Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Deutsches Forum (German) Diskussionsforum
  • Search

[OT] Apache mod_proxy und Umlaute [solved]

Unterhaltung über Gentoo und andere Themen: Alles was nicht in ein Support-Forum gehört.
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
Author
Message
tacki
Guru
Guru
User avatar
Posts: 418
Joined: Sat Jun 29, 2002 8:59 pm
Location: Germany

[OT] Apache mod_proxy und Umlaute [solved]

  • Quote

Post by tacki » Mon Oct 20, 2003 6:26 am

Moin,

ich hab hier einen zentralen Apache2, auf den alle Anfragen aus dem Inet eingehen. Bei bestimmten Hostnames leite ich die anfrage per Proxy-Request weiter an einen anderen internen Server:

Code:
<VirtualHost *>
Servername mail.xxx.de
ProxyPass / http://internerxxx:80/
ProxyPassReverse / http://internerxxx:80/
</VirtualHost>


Das ganze Funktioniert auch wunderbar, nur kommt der Proxy mit den Umlauten nicht zurrecht... Das heisst, alle Umlaute auf der Seite werden 'verkrüppelt' dargestellt. So wird aus 'können' ein "können"....

Ich benutze Apache 2.0.47

Kann mir da jemand helfen?

Grüße

tacki
Last edited by tacki on Mon Oct 20, 2003 8:41 am, edited 1 time in total.
Top
yhirmikq
n00b
n00b
Posts: 14
Joined: Mon Oct 20, 2003 7:11 am

  • Quote

Post by yhirmikq » Mon Oct 20, 2003 7:37 am

Hi,

ich verstehe das Problem nicht ganz. Wo sind denn die Umlaute? In HTML heisst ein ö eigentlich ö Damit sollte es dann keine Probleme geben.

- Sebastian
Top
tacki
Guru
Guru
User avatar
Posts: 418
Joined: Sat Jun 29, 2002 8:59 pm
Location: Germany

  • Quote

Post by tacki » Mon Oct 20, 2003 7:43 am

der fehler kann nicht im quellcode liegen, denn der interne server hat auch keine probleme mit umlauten wenn ich intern drauf geh... (gleiches client-system - laptop)
Top
tacki
Guru
Guru
User avatar
Posts: 418
Joined: Sat Jun 29, 2002 8:59 pm
Location: Germany

  • Quote

Post by tacki » Mon Oct 20, 2003 8:41 am

Das Problem wurde gelöst:

Als AddDefaultCharset in der commonapache2.conf war ISO-8859-1 eingestellt. Da die Seite aber als UTF-8 codiert ist, hat apache beim 'holen' der Seite die Umlaute zerhäckselt.

also Browser -> Firewall -> Apache2 (ISO-8859-1) -> mod_proxy -> Website (UTF-8)

Code: Select all

<VirtualHost *>
        Servername mail.xxx.de
        ProxyPass / http://internerxxx:80/
        ProxyPassReverse / http://internerxxx:80/
        [b]AddDefaultCharset UTF-8[/b]
</VirtualHost>
das hat das Problem behoben... Die restlichen Seiten die von diesem Apache gehandelt werden, laufen als ISO-8859-1.
Top
Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Diskussionsforum”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy