Vielleichet hilft dir
'noescape|NE' (no URI escaping of output)
This flag prevents mod_rewrite from applying the usual URI escaping rules to
the result of a rewrite. Ordinarily, special characters (such as '%', '$', ';',
and so on) will be escaped into their hexcode equivalents ('%25', '%24', and
'%3B', respectively); this flag prevents this from happening. This allows
percent symbols to appear in the output, as in
RewriteRule /foo/(.*) /bar?arg=P1\%3d$1 [R,NE]
which would turn '/foo/zed' into a safe request for '/bar?arg=P1=zed'.
(siehe http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewriterule)
Gruss
Oliver
-----Ursprüngliche Nachricht-----
Von: Thomas Krüger [mailto:[EMAIL PROTECTED]
Gesendet: Di 07.02.2006 13:59
An: [email protected]
Betreff: rewrite/proxy: Request unescaped
Hallo Liste,
ich habe eine Problem mit einem RewriteRule, vielleicht kann jemand helfen.
Zuerst einmal das Rule:
RewriteRule ^(.*)
http://localhost:8080/VirtualHostBase/http/%{SERVER_NAME}:80/zeo_OptecNet/OptecNet/VirtualHostRoot/$1
[l,p]
(natürlich in einer Zeile)
Wenn ich jetzt einen URL mit %20 darin (also einem Leerzeichen) aufrufe wird
ein Request mit Leerzeichen (nicht %20, spricht nicht escaped) an den Port
8080 geschickt, was der dortige Zope-Server mit einem Bad Request quitiert.
Weiß jemand wie ich den Apache dazu bringen kann die URL mit %20 aufzurufen?
Mir ist übrigens bewußt, dass das mit dem Leerzeichen recht ungüstig ist, aber
es muss leider sein.
Auf diversen Apache-Zope-Kombinationen geht es problemlos.
Version: Apache 2.0.48 auf SuSE 9.1
Thomas
--
Thomas Krüger | Tannenhöhe 15 | Tel.: 05323 961858
Krüger IT | 38678 Clausthal-Zellerfeld | Fax.: 05323 962617
PGP: 0xEADA7C59 | CAcert-Assurer: https://www.cacert.org
Join OpenBC: http://www.openbc.com/go/invite/4364300.0eb9ee
--------------------------------------------------------------------------
Apache HTTP Server Mailing List "users-de"
unsubscribe-Anfragen an [EMAIL PROTECTED]
sonstige Anfragen an [EMAIL PROTECTED]
--------------------------------------------------------------------------
--------------------------------------------------------------------------
Apache HTTP Server Mailing List "users-de"
unsubscribe-Anfragen an [EMAIL PROTECTED]
sonstige Anfragen an [EMAIL PROTECTED]
--------------------------------------------------------------------------