[EMAIL PROTECTED] Question about mod_charset_light and mod_proxy_html

2006-11-06 Thread mickg
What I want to accomplish: Apache reverse proxy queries internalserver.mickg.net. internalserver.mickg.net responds (in win1251). Somehow convert to utf-8, and THEN feed into mod_proxy_html. Server to user (slightly salted and flavored, in utf-8 flavor). Currently, all is working, minus the win12

Re: [EMAIL PROTECTED] Question about mod_charset_light and mod_proxy_html

2006-11-07 Thread Nick Kew
On Mon, 06 Nov 2006 19:13:19 -0500 mickg <[EMAIL PROTECTED]> wrote: > Overall, this is an attempt to transcode stuff before mod_proxy_html > munges it horribly, as it does not accept windows-1251. Firstly, that's not strictly true of mod_proxy_html. See Question 1 in the FAQ. It probably doesn'

Re: [EMAIL PROTECTED] Question about mod_charset_light and mod_proxy_html

2006-11-07 Thread mickg
Nick Kew wrote: On Mon, 06 Nov 2006 19:13:19 -0500 mickg <[EMAIL PROTECTED]> wrote: Overall, this is an attempt to transcode stuff before mod_proxy_html munges it horribly, as it does not accept windows-1251. Firstly, that's not strictly true of mod_proxy_html. See Question 1 in the FAQ. It

Re: [EMAIL PROTECTED] Question about mod_charset_light and mod_proxy_html

2006-11-07 Thread Nick Kew
On Tue, 07 Nov 2006 08:50:30 -0500 mickg <[EMAIL PROTECTED]> wrote: > > Secondly, isn't windows-1251 just MS's bastardisation of Latin-1? > In the lower registers, yes. In the upper ones, no. > Because it is really Cyrillyc-1251. Oh, erm, right. Cyrillic. I must've been confusing it with windo

Re: [EMAIL PROTECTED] Question about mod_charset_light and mod_proxy_html

2006-11-07 Thread mickg
Nick Kew wrote: On Tue, 07 Nov 2006 08:50:30 -0500 mickg <[EMAIL PROTECTED]> wrote: Secondly, isn't windows-1251 just MS's bastardisation of Latin-1? In the lower registers, yes. In the upper ones, no. Because it is really Cyrillyc-1251. Oh, erm, right. Cyrillic. I must've been confusing

Re: [EMAIL PROTECTED] Question about mod_charset_light and mod_proxy_html

2006-11-07 Thread Nick Kew
On Tue, 07 Nov 2006 17:49:25 -0500 mickg <[EMAIL PROTECTED]> wrote: > 2 questions: > > I think I'd have to play with that hands-on to figure it out > > with your attempted configuration. > Was that an offer :) If yes, please say so, and shell account will be > provided. (As the system is a VM,

Re: [EMAIL PROTECTED] Question about mod_charset_light and mod_proxy_html

2006-11-07 Thread mickg
Nick Kew wrote: On Tue, 07 Nov 2006 17:49:25 -0500 mickg <[EMAIL PROTECTED]> wrote: 2 questions: I think I'd have to play with that hands-on to figure it out with your attempted configuration. Was that an offer :) If yes, please say so, and shell account will be provided. (As the system is

[EMAIL PROTECTED] Question about mod_charset_light and mod_proxy_html, part 2

2006-11-06 Thread mickg
When doing the request for a page that is reverse-proxied, with the configuration: ProxyPass /geser/ http://192.168.17.1/ ProxyPassReverse / http://192.168.17.1/ ProxyPassReverse / CharsetOptions DebugLevel=9 NoImplicitAdd

Re: [EMAIL PROTECTED] Question about mod_charset_light and mod_proxy_html (Solved!)

2006-11-07 Thread mickg
Just to put my money where my mouth is, I have implemented a (stupid) prototype that does: If no known charset is native to libxml2 detected , a recompiled version of mod_proxy_html now uses iconv (eventually via the xmlFindCharEncodingHandler function) to convert from the source encoding to UTF-

Re: [EMAIL PROTECTED] Question about mod_charset_light and mod_proxy_html (Solved!)

2006-11-08 Thread Nick Kew
On Wed, 08 Nov 2006 00:48:39 -0500 mickg <[EMAIL PROTECTED]> wrote: > Just to put my money where my mouth is, I have implemented a (stupid) > prototype that does: If no known charset is native to libxml2 > detected , a recompiled version of mod_proxy_html now uses iconv > (eventually via the xmlFi

Re: [EMAIL PROTECTED] Question about mod_charset_light and mod_proxy_html (Solved!)

2006-11-08 Thread Nick Kew
On Wed, 08 Nov 2006 00:48:39 -0500 mickg <[EMAIL PROTECTED]> wrote: > Just to put my money where my mouth is, I have implemented a (stupid) > prototype that does: If no known charset is native to libxml2 > detected , a recompiled version of mod_proxy_html now uses iconv > (eventually via the xmlFi

Re: [EMAIL PROTECTED] Question about mod_charset_light and mod_proxy_html (Solved!)

2006-11-08 Thread mickg
Nick Kew wrote: On Wed, 08 Nov 2006 00:48:39 -0500 mickg <[EMAIL PROTECTED]> wrote: Just to put my money where my mouth is, I have implemented a (stupid) prototype that does: If no known charset is native to libxml2 detected , a recompiled version of mod_proxy_html now uses iconv (eventually vi

Re: [EMAIL PROTECTED] Question about mod_charset_light and mod_proxy_html (Solved!)

2006-11-08 Thread Nick Kew
On Wed, 08 Nov 2006 12:56:28 -0500 mickg <[EMAIL PROTECTED]> wrote: > Do you want the full working code once I clean up the memory problem? > It is, after all, GPL, so it would be in good spirit for me to release > the modified source. :) Yes please. I haven't thought through whether to incorpo

Re: [EMAIL PROTECTED] Question about mod_charset_light and mod_proxy_html (Solved!)

2006-11-08 Thread mickg
Nick Kew wrote: On Wed, 08 Nov 2006 12:56:28 -0500 mickg <[EMAIL PROTECTED]> wrote: Do you want the full working code once I clean up the memory problem? It is, after all, GPL, so it would be in good spirit for me to release the modified source. :) Yes please. I haven't thought through whet

Re: [EMAIL PROTECTED] Question about mod_charset_light and mod_proxy_html (Solved!)

2006-11-08 Thread mickg
Nick Kew wrote: On Wed, 08 Nov 2006 12:56:28 -0500 mickg <[EMAIL PROTECTED]> wrote: Do you want the full working code once I clean up the memory problem? It is, after all, GPL, so it would be in good spirit for me to release the modified source. :) Yes please. I haven't thought through whet