You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Nick Kew <ni...@webthing.com> on 2009/11/19 13:46:59 UTC

Re: [users@httpd] ProxyHTMLURLMap issues ... resent .. surely somebody can help with this

Boyle Owen wrote:
> I think the reason no-one has replied is that no-one knows...

Very likely true, though I'd add I don't think I've seen the post
you're replying to.

> 	The internal web site uses a "CSS Hack" (??)  to get around browser issues in IE.
> 	When I browse the internal site directly I see this in the source. 
> 	
> 	
> 	<!--

mod_proxy_html won't rewrite comments.  It'll pass them through
untouched or strip them out - no other option.

> 	When I view the page source via the proxy.. this piece of the code is MISSING, and the apache log shows this
> 	
> 	 Non-HTML content; not inserting proxy-html filter, referer: http://intranet.fff.xxxxdu/tv/

That's a non-HTML document (as determined by the Content-Type header),
not a comment in an HTML document.

-- 
Nick Kew

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


Re: [users@httpd] [debug] proxy_util.c(1820): proxy: worker proxy:reverse already initialized

Posted by Tom Evans <te...@googlemail.com>.
On Fri, Nov 20, 2009 at 9:25 AM, Peter de Groot <
peter.de.groot@det.wa.edu.au> wrote:

>
> No ...
> Log Level is set to warn.
>
>
>
The second parameter in the log message is the level that the message was
logged at. Maybe there is another LogLevel directive somewhere that is
overriding what you think is being set.

Cheers

Tom

Re: [users@httpd] [debug] proxy_util.c(1820): proxy: worker proxy:reverse already initialized

Posted by Peter de Groot <pe...@det.wa.edu.au>.
Yep .. according to the doc..  this is the safest way to do a reverse proxy.

Sometimes the thing proxies properly .. usually the first time .. and then
a refresh give me a web site (the proxied one) unavailable.

If course it is working now ... even with the errors in the log..
but I am the only user on at the moment

Peter


Peter

André Warnier wrote:
> Another thing, nothing to do with your original question, but which 
> puzzles me :
>
> In your config, you seem to be "proxying away" links with "/weather/", 
> yet right after that you have a <Location /weather>.  Is this Location 
> section then ever used at all ?
>

-- 


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


Re: [users@httpd] [debug] proxy_util.c(1820): proxy: worker proxy:reverse already initialized

Posted by André Warnier <aw...@ice-sa.com>.
Another thing, nothing to do with your original question, but which 
puzzles me :

In your config, you seem to be "proxying away" links with "/weather/", 
yet right after that you have a <Location /weather>.  Is this Location 
section then ever used at all ?


Peter de Groot wrote:
> 
> No ...
> Log Level is set to warn.
> 
> 
> 
> André Warnier wrote:
>> Peter de Groot wrote:
>>>
>>> Another question.
>>>
>>> Why does this in the config  fill the log files with the  errors below.
>>
>> Maybe just because you set the log level to "debug" ?
>> They do not look like error messages.
>>
>> ---------------------------------------------------------------------
>> 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


Re: [users@httpd] [debug] proxy_util.c(1820): proxy: worker proxy:reverse already initialized

Posted by Peter de Groot <pe...@det.wa.edu.au>.
No ...
Log Level is set to warn.



André Warnier wrote:
> Peter de Groot wrote:
>>
>> Another question.
>>
>> Why does this in the config  fill the log files with the  errors below.
>
> Maybe just because you set the log level to "debug" ?
> They do not look like error messages.
>
> ---------------------------------------------------------------------
> 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


Re: [users@httpd] [debug] proxy_util.c(1820): proxy: worker proxy:reverse already initialized

Posted by André Warnier <aw...@ice-sa.com>.
Peter de Groot wrote:
> 
> Another question.
> 
> Why does this in the config  fill the log files with the  errors below.

Maybe just because you set the log level to "debug" ?
They do not look like error messages.

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


Re: [users@httpd] ProxyHTMLURLMap issues ... resent .. surely somebody can help with this

Posted by Nick Kew <ni...@webthing.com>.
On 20 Nov 2009, at 09:31, Tom Evans wrote:

> The last three replies *were* from the author :)
> 
> Cheers
> 
> Tom
> 
> You know when you click reply, and then you realize you misunderstood what the other guy said....

Lol!

I read your previous reply the way you wrote it, and had to figure this one out!

> ++coffee;

Good idea.

p.s. to the OP, what happens if you run your HTML through xmllint --html?

If the "comment" disappears, it's too broken for libxml2.  If the comment
survives xmllint but gets eaten by mod_proxy_html, then I should be
investigating and hopefully fixing something!

-- 
Nick Kew

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


Re: [users@httpd] ProxyHTMLURLMap issues ... resent .. surely somebody can help with this

Posted by Tom Evans <te...@googlemail.com>.
On Fri, Nov 20, 2009 at 9:30 AM, Tom Evans <te...@googlemail.com> wrote:

> On Fri, Nov 20, 2009 at 4:42 AM, Peter de Groot <
> peter.de.groot@det.wa.edu.au> wrote:
>
>>
>> I am going to get back to the author of the app, and see what he can
>> do to change the source HTML.
>>
>
> The last three replies *were* from the author :)
>
> Cheers
>
> Tom
>

You know when you click reply, and then you realize you misunderstood what
the other guy said....

++coffee;

Re: [users@httpd] ProxyHTMLURLMap issues ... resent .. surely somebody can help with this

Posted by Tom Evans <te...@googlemail.com>.
On Fri, Nov 20, 2009 at 4:42 AM, Peter de Groot <
peter.de.groot@det.wa.edu.au> wrote:

>
> I am going to get back to the author of the app, and see what he can
> do to change the source HTML.
>

The last three replies *were* from the author :)

Cheers

Tom

Re: [users@httpd] ProxyHTMLURLMap issues ... resent .. surely somebody can help with this

Posted by Nick Kew <ni...@webthing.com>.
Nick Kew wrote:

>>     <!--
> 
> mod_proxy_html won't rewrite comments.  It'll pass them through
> untouched or strip them out - no other option.

Come to think of it, that was a somewhat-legitimate feature request.
Maybe I'll add it to a future 3.2 release.

Meanwhile you might find it easier to revert to a non-markup-aware
filter such as mod_sed, and work your way through any "false
positives" that arise out of context-blind pattern matching.

-- 
Nick Kew

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