httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Bissmire <pb...@onetel.net.uk>
Subject Re: [users@httpd] Proxy garbles "special" characters
Date Mon, 06 Oct 2003 21:33:22 GMT
Telnetting yields following results.

>From my server:
HTTP/1.1 400 Bad Request
Date: Mon, 06 Oct 2003 22:22:36 GMT
Server: Apache/2.0.43 (Win32)
Content-Length: 290
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE etc.


>From www.granddictionnaire.com:
HTTP/1.1 302 Object moved
Server: Microsoft-IIS/5.0
Date: Mon, 06 Oct 2003 15:51:31 GMT
Pragma: no-cache
Location: btml/fra/r_motclef/index.asp
Content-Length: 158
Content-Type: text/html
Expires: Mon, 06 Oct 2003 15:50:31 GMT
Set-Cookie: ASPSESSIONIDQCRRACTS=OJOCEJCANCIFHHDGHKBLPHEF; path=/
Cache-control: no-store

<head>

So my server mentions a charset,
IIS does not.
I see no other significant difference
(apart from charset mention in html meta)

But what does this mean?
Peter Bissmire


Leif W wrote:

> ----- Original Message -----
> From: "Peter Bissmire" <pbiss@onetel.net.uk>
> To: <users@httpd.apache.org>
> Sent: Sunday, October 05, 2003 5:59 PM
> Subject: Re: [users@httpd] Proxy garbles "special" characters
>
> [snip]
>
> > Pardon my apparent ignorance, but what should I expect to see as http
> header
> > and how should I render it visible?
>
> One way to do this would be to telnet directly to the server and talk HTTP.
>
> telnet server.com 80
> GET /path/to/file.html HTTP/1.1
> Host: server.com [hit enter twice]
>
> HTTP/1.1 200 OK
> Date: Mon, 06 Oct 2003 14:18:22 GMT
> Server: Apache/2.0.47 (Unix) mod_ssl/2.0.47 OpenSSL/0.9.7b DAV/2 PHP/4.3.3
> Last-Modified: Fri, 15 Aug 2003 13:10:02 GMT
> ETag: "22c003-d9-5ecebe80"
> Accept-Ranges: bytes
> Content-Length: 217
> Content-Type: text/html; charset=ISO-8859-1
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML>
> <HEAD>
> <TITLE></TITLE>
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
> </HEAD>
> <BODY>
> This is not here.
> </BODY>
> </HTML>
>
> Connection to host lost.
>
> [snip]
>
> Leif
>
> > Peter Bissmire
> >
> >
> > Jonas Eckerman wrote:
> >
> > > On Sat, 04 Oct 2003 22:15:53 +0200, Peter Bissmire wrote:
> > >
> > > > I find certain sites are proxied with garbled "special" characters
> > > > (accented letters, apostrophes etc.).
> > >
> > > Garbled in what way?
> > >
> > > > The problem appears to be limited to IIS sites (.asp pages).
> > > > My guess is that the "specials" are being dished up as
> > > > 7-bit pairs and that these are "split" by the Apache proxy.
> > >
> > > I think you should start with checking this guess. Fetch a document
> > > directly from one of the IIS servers and look at both the headers and
> > > the data. See if the actual data is send in the format specified by
> > > the headers. Check both the http and the html headers.
> > >
> > > Then fetch the same document from the Apache proxy, and compare all
> > > the headers and data.
> > >
> > > With 7-bit pairs I suppose you mean double-byte characters of some
> > > kind. Are you guessing it is sending double-byte unicode data or
> > > using one of Microsofts double-byte codepages?
> > >
> > > Anyway, what do you mean when you think they are "split" by the
> > > Apache proxy? Two bytes are two bytes. If they arrive in the right
> > > order they arrive in the right order. If they are in two different
> > > TCP packages, that doesn't matter. So I really don't understand what
> > > it is you're guseeing...
> > >
> > > Maybe you have the URL for a page that gets "garbled" characters?
> > >
> > > > Can anyone indicate a configuration fix for this?
> > >
> > > So far, we don't know wether it's the Apache proxy or the IIS servers
> > > that's doing something bad, and we don't know how any of them are
> > > configured...
> > >
> > > Regards
> > > /Jonas
> > > --
> > > Jonas Eckerman, jonas_lists@frukt.org
> > > http://www.fsdb.org/
> > >
> > > ---------------------------------------------------------------------
> > > The official User-To-User support forum of the Apache HTTP Server
> Project.
> > > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail: users-help@httpd.apache.org
> >
>
> ----------------------------------------------------------------------------
> ----
>
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

Mime
View raw message