[users@httpd] mod_proxy_html produces pages that my firefox cannot read

2013-10-06 Thread Giovanni Gherdovich
Hello, I am experiencing a misbehaviour of apache which seems correlated with the action of mod_proxy_html. Or, most likely, my configuration is faulty. TL;DR: I have a backend server (backend), a reverse proxy (proxy) and a web browser like firefox or chromium (client). If in (proxy)'s apache2.c

[users@httpd] mod_proxy_html and AJAX call that returns HTML response?

2013-04-09 Thread Rickard, Ronald
I am attempting to front a 3rd party application, OpenStack Horizon, with an Apache reverse proxy. I have most of the Apache configuration working, except one page in the 3rd party application that has an AJAX call (JQuery). That page is broken because mod_proxy_html is adding elements to

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

[users@httpd] mod_proxy_html

2013-01-08 Thread John Iliffe
I have a mail server with an http interface that I proxy behind the Apache 2.4.2 web server. In the past it always worked properly with the following in httpd.conf: # Surgemail redirect to allow web based e-mail ServerName mailx.iliffe.ca ProxyPass / http://127.0.0.1:7080/ ProxyPassRe

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! "

[users@httpd] mod_proxy_html not overridding one-change-only

2012-12-04 Thread Sanjeev Gupta
Hi There .. I've setup Apache HTTPD 2.4.3 on Ubuntu 10.04 to frontend my applications running on Catalina. I'm configured modrewrite and mod_proxy_html as below to rewrite URLs like https://domain-name.com/applicationURL/product;jsessionid=E7D38C12A41E0F280C CB06128EF6604C.jvm1 to https://domain

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

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

2012-11-14 Thread Thomas Eckert
Hi folks I'm using apache (2.4.3) as reverse proxy with mod_proxy_html (as delivered with 2.4.3) and encountered an issue using HTML rewriting in combination with content compression, as with the "Accept-Encoding" and "Content-Encoding" HTTP headers. This issue has been encountered by numero

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

[users@httpd] mod_proxy_html Issue

2012-01-23 Thread Roman Gelfand
I am using this module to rewrite the contents of html documents. It appears that it strips   which causes me all kinds of grief with IE. Looking, briefly, at mod_proxy_html.c, I couldn't find reference to  . Unless, it is a setting in mod_proxy_html config file? Any suggestions are appreciated

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.

[users@httpd] mod_proxy_html

2011-12-07 Thread Christian.Kaiser
Hello to all, 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. Mod_proxy_html always adds following tags: Is it possible to disable mod_proxy_html

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

[users@httpd] mod_proxy_html

2011-11-29 Thread Christian.Kaiser
Hello to all, I've got a problem with mod_proxy_html. I have defined the following location: ProxyPass https://internal.xy.de/ ProxyPassReverse / ProxyPassReverse https://internal.xy.de/ ProxyPassReverseCookiePath / /ne [interpolate] ProxyHTMLEnable On

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

[users@httpd] mod_proxy_html html entities

2011-11-22 Thread Christian.Kaiser
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? Regards Christian

[users@httpd] mod_proxy_html

2011-10-28 Thread Nick Kew
As previously discussed on the dev list, I've recently relicensed mod_proxy_html and mod_xml2enc and donated them to Apache. Details in my blog piece at http://bahumbug.wordpress.com/2011/10/28/modules-move-home/ Of possible interest to developers, packagers, and end-users who build from source r

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

[users@httpd] mod_proxy_html

2011-09-19 Thread Christian.Kaiser
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. Please advice Regards Christian

[users@httpd] mod_proxy_html does not work for

2011-05-27 Thread Sternath, Elmar (NSN - DE/Munich)
Hi, to replace the pattern 'https://www.abc.com' in this html code snippet https://www.xyz.com/_layouts/AddGallery.xap?rev=hR HsosXQNixIDlr8ntVz3Q%3D%3D"> I tried to apply the following rule ProxyHTMLLinks param value but it didn't apply. Any ideas how to get this fixed? In cas