Problem with mod_proxy special character(s)

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C288EF.77285B50
Content-Type: text/plain;
charset=iso-8859-1
Content-Transfer-Encoding: 7bit

I need to proxy from /?xml to http://localhost:5282/?xml. So, I set the
proxy settings as follows:

ProxyPass /?xml http://localhost:5282/?xml
ProxyPassReverse /xml http://localhost:5282/?xml

However, apparently mod_proxy converts the character '?' to '%3f' and so the
proxy does not match when I try to access "/?xml". It matches only if I try
to use "/%3fxml" but then when it proxies, it tries to get to
"http://localhost:5282/%3fxml" and so does not find the destination.

Is there a way to turn off the conversion of '?' to '%3f' ?

Thanks for your help.

-Sanjeev

------_=_NextPart_001_01C288EF.77285B50
Content-Type: text/html;
charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>Problem with mod_proxy special character(s)</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>I need to proxy from /?xml to <A =
HREF=3D"http://localhost:5282/?xml" =
TARGET=3D"_blank">http://localhost:5282/?xml</A>. So, I set the proxy =
settings as follows: </FONT>
</P>

<P><FONT SIZE=3D2>        ProxyPass =
/?xml <A HREF=3D"http://localhost:5282/?xml" =
TARGET=3D"_blank">http://localhost:5282/?xml</A> </FONT>
<BR><FONT SIZE=3D2>        =
ProxyPassReverse /xml <A HREF=3D"http://localhost:5282/?xml" =
TARGET=3D"_blank">http://localhost:5282/?xml</A> </FONT>
</P>

<P><FONT SIZE=3D2>However, apparently mod_proxy converts the character =
'?' to '%3f' and so the proxy does not match when I try to access =
"/?xml". It matches only if I try to use "/%3fxml" =
but then when it proxies, it tries to get to "<A =
HREF=3D"http://localhost:5282/%3fxml" =
TARGET=3D"_blank">http://localhost:5282/%3fxml</A>" and so does =
not find the destination.</FONT></P>

<P><FONT SIZE=3D2>Is there a way to turn off the conversion of '?' to =
'%3f' ? </FONT>
</P>

<P><FONT SIZE=3D2>Thanks for your help. </FONT>
</P>

<P><FONT SIZE=3D2>-Sanjeev </FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C288EF.77285B50--
smishra [ So, 10 November 2002 20:29 ] [ ID #12227 ]
Webserver » gmane.comp.apache.mod-proxy » Problem with mod_proxy special character(s)

Vorheriges Thema: mod_proxy and mod_jk ordering
Nächstes Thema: NXIsapi_pro.dll