Re: [users@httpd] mod_proxy_html not working when using carriage returns

2013-02-21 Thread Nick Kew
On Thu, 21 Feb 2013 14:27:53 +0100 Krist van Besien wrote: > > The second one has a CR right after href definition, and as a result > > mod_proxy_html can't convert it. I would like to ask if someone knows a way > > to let mod_proxy_html understand how to interpret that CR, or just a way to > > r

Re: [users@httpd] mod_proxy_html not working when using carriage returns

2013-02-21 Thread Krist van Besien
On Mon, Feb 18, 2013 at 10:52 AM, Pablo Florencio wrote: > The problem I see is that mod_proxy_html can't convert urls when there is a > carry return inside it. For example, here there are two links: > > > href="https://10.10.10.10/example/working_OK.html"; > > https://10.10.10.10/example/not_wo

[users@httpd] CORRECTION!!!! Re: [users@httpd] mod_proxy_html

2013-01-08 Thread John Iliffe
Hi Eric I just realized I spelled the directive wrong. Very sorry about that. John = On Tuesday 08 January 2013 11:06:54 Eric Covener wrote: > > A query to the mail server folks suggests that I add the > > ProxyPassCookieDomain directive but this requires

Re: [users@httpd] mod_proxy_html

2013-01-08 Thread John Iliffe
Thanks Eric. So the problem is deeper and now I'm really confused :-( From httpd.conf: cat /usr/apache-2.4.3/conf/httpd.conf | grep mod_proxy LoadModule proxy_module modules/mod_proxy.so So mod_proxy.so is loaded at start up. Now I add: ServerName coax.iliffe.ca ProxyPass / http://127.

Re: [users@httpd] mod_proxy_html

2013-01-08 Thread Eric Covener
> A query to the mail server folks suggests that I add the > ProxyPassCookieDomain directive but this requires mod_proxy_html which > apparently is not shipped with the Apache source. It's in mod_proxy: http://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxypassreversecookiedomain

Re: [users@httpd] mod_proxy_html, HTML rewrite and content compression

2013-01-04 Thread Thomas Eckert
On 11/16/2012 05:12 PM, Nick Kew wrote: On Fri, 16 Nov 2012 11:31:38 +0100 Thomas Eckert wrote: Thanks for the hint but unfortunately "manually" adding xml2enc to the filtering chain does not help. Looks like you've got problems over and above anything to do with your configuration! "

Re: [users@httpd] mod_proxy_html, HTML rewrite and content compression

2012-11-16 Thread Nick Kew
On Fri, 16 Nov 2012 11:31:38 +0100 Thomas Eckert wrote: > Thanks for the hint but unfortunately "manually" adding xml2enc to the > filtering chain does not help. Looks like you've got problems over and above anything to do with your configuration! > "SetOutputFilter INFLATE;proxy-html" ge

Re: [users@httpd] mod_proxy_html, HTML rewrite and content compression

2012-11-16 Thread Thomas Eckert
On 11/14/2012 06:12 PM, Nick Kew wrote: On 14 Nov 2012, at 15:53, Thomas Eckert wrote: Is there a way to work around this ? I do want the call to mod_xml2enc to happen but I also want the reverse proxy to support content compression. That's a lot of correct analysis. The output chain you wan

Re: [users@httpd] mod_proxy_html, HTML rewrite and content compression

2012-11-14 Thread Nick Kew
On 14 Nov 2012, at 15:53, Thomas Eckert wrote: > Is there a way to work around this ? I do want the call to mod_xml2enc to > happen but I also want the reverse proxy to support content compression. That's a lot of correct analysis. The output chain you want is INFLATE;xml2enc;proxy-html;DEFLAT

Re: [users@httpd] mod_proxy_html Issue

2012-01-24 Thread Roman Gelfand
 "word1 word2" becomes "word1 word2" is what happens. Perhaps, the libxml2 that ships with debian lenny, os I am using, is outdated. Is there a way, other than mod_proxy_html, to get rid of the base tag. Thanks, On Mon, Jan 23, 2012 at 8:57 PM, Igor Cicimov wrote: > Sorry mate not a C person m

Re: [users@httpd] mod_proxy_html Issue

2012-01-23 Thread Igor Cicimov
Sorry mate not a C person my self :) From the look of it that function puts the non HTML characters like <,&,>" into HTML format. Since   is already HTML formatted this function shouldn't affect it at all. But as I said I'm not the right person to comment on this hopefully someone alse can help.

Re: [users@httpd] mod_proxy_html Issue

2012-01-23 Thread Roman Gelfand
I think I have the latest version as I picked it up from the site. Actually, after doing a little digging, I found that mod_proxy_html by way of mod_xml2enc parses the html and, ultimately, puts it back together again. At the time of parsing, it replaces   with 0xc2 0xca or something like that.

Re: [users@httpd] mod_proxy_html Issue

2012-01-23 Thread Igor Cicimov
Which version? If it is the newest one have you loaded mod_xml2enc too? Did you look for answer on the module web site? http://apache.webthing.com/mod_proxy_html/config.html Igor On Tue, Jan 24, 2012 at 10:29 AM, Roman Gelfand wrote: > I am using this module to rewrite the contents of html doc

Re: [users@httpd] mod_proxy_html

2011-12-07 Thread Nick Kew
On 7 Dec 2011, at 13:14, wrote: > Hello to all, Please don't hijack someone else's thread.! > we use mod_proxy_html. > > Now we have a problem with dealing xml-content. Some files in a location > should not be parsed by mod_proxy_html, the shoult be delivered untouched to > the client.

Re: [users@httpd] mod_proxy_html

2011-11-29 Thread Nick Kew
On Tue, 29 Nov 2011 13:38:00 + wrote: > Please advice Does the error log tell you anything if you crank up verbosity? -- Nick Kew - The official User-To-User support forum of the Apache HTTP Server Project. See http://htt

Re: [users@httpd] mod_proxy_html html entities

2011-11-22 Thread Nick Kew
On 22 Nov 2011, at 13:00, Tom Evans wrote: > Nick, does mod_proxy_html set/alter xmlSubstituteEntitiesDefaultValue > (from ? I think this controls the behaviour on > parsing a document. No it doesn't. Not sure if that option existed when I first wrote it: if it did then I missed it. I guess i

Re: [users@httpd] mod_proxy_html html entities

2011-11-22 Thread Tom Evans
On Tue, Nov 22, 2011 at 12:47 PM, Nick Kew wrote: > > On 22 Nov 2011, at 12:36, > wrote: > >> Hello to all, >> >> I set up a reverse proxy with module mod_proxy_html enabled. >> Now all html entities will be rewritten, for example: ü to ü >> >> Can I prevent this rewriting? > > Probably not.  C

Re: [users@httpd] mod_proxy_html html entities

2011-11-22 Thread Nick Kew
On 22 Nov 2011, at 12:36, wrote: > Hello to all, > > I set up a reverse proxy with module mod_proxy_html enabled. > Now all html entities will be rewritten, for example: ü to ü > > Can I prevent this rewriting? Probably not. Can you do it with libxml2? (it's a long time since I looked at

Re: [users@httpd] mod_proxy_html

2011-09-19 Thread Nick Kew
On Mon, 19 Sep 2011 09:34:07 + wrote: > Hello, > > we're using mod_proxy_html. > Rewriting URLs in HTML code works fine, but we have a problem with rewriting > URLs in *.css files. I'm not aware of any CSS syntax-aware filter, so you'll have to use a general-purpose text filter from the ch