httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter de Groot <peter.de.gr...@det.wa.edu.au>
Subject Re: [users@httpd] ProxyHTMLURLMap issues ... resent .. surely somebody can help with this
Date Fri, 20 Nov 2009 04:42:36 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
I enabled comment pass through, and it still broke.<br>
Would not pass through the comments ..<br>
Non valid HTML .. if that is correct ?<br>
More complete listing of the front of the source at the end<br>
<br>
Regardless ..<br>
<br>
So from what you are saying proxy_html does NOT&nbsp; filter comments,<br>
even if I if they were formatted correctly.<br>
<br>
The internal app is a variant&nbsp; of this of a TV recording&nbsp; software<br>
&nbsp;<a class="moz-txt-link-freetext"
 href="http://www.cs.usyd.edu.au/%7Eefax/DVScheduler.html#DV%20Scheduler">http://www.cs.usyd.edu.au/~efax/DVScheduler.html#DV%20Scheduler</a><br>
<br>
Given that it appears that even if the format of the comments, is ok,<br>
and this is problem.&nbsp; It would not help me anyway, as the current
version of html_proxy<br>
does not filter them........................<br>
<br>
I am going to get back to the author of the app, and see what he can<br>
do to change the source HTML.<br>
<br>
Even if it causes probs with IE browsers :-)<br>
<br>
Tx for the help<br>
<br>
Here is a code from the top<br>
<br>
<pre id="line1">&lt;<span class="start-tag">html</span>&gt;
&lt;<span class="start-tag">head</span>&gt;
&lt;<span class="start-tag">META</span><span class="attribute-name">
http-equiv</span>=<span
 class="attribute-value">"Content-Type" </span><span
 class="attribute-name">content</span>=<span class="attribute-value">"text/html;
charset=UTF-8"</span>&gt;
&lt;<span class="start-tag">title</span>&gt;DNTV Scheduler Pro System
Status&lt;/<span
 class="end-tag">title</span>&gt;
&lt;<span class="start-tag">link</span><span class="attribute-name">
rel</span>=<span
 class="attribute-value">"stylesheet" </span><span
 class="attribute-name">href</span><span>="</span><a
 href="view-source:http://tv-3:8088/css/main.css">/css/main.css</a><span>"
</span><span
 class="attribute-name">type</span>=<span class="attribute-value">"text/css"</span>&gt;
<span class="comment">&lt;!--[if lt IE 7.0]&gt;
      &lt;script src="/javascript/iepng.js"&gt;&lt;/script&gt;
      &lt;![endif]--&gt;</span>
<span class="comment">&lt;!--[if lt IE 7.0]&gt;
        &lt;link rel="stylesheet" href="/css/ie6fix.css" type="text/css"/&gt;
      &lt;![endif]--&gt;</span>
<span class="comment">&lt;!--[if IE 7.0]&gt;
        &lt;link rel="stylesheet" href="/css/ie7.css" type="text/css"/&gt;
      &lt;![endif]--&gt;</span>
&lt;<span class="start-tag">script</span><span class="attribute-name">
src</span><span>="</span><a
 href="view-source:http://tv-3:8088/javascript/main.js">/javascript/main.js</a><span>"</span>&gt;&lt;/<span
 class="end-tag">script</span>&gt;&lt;<span class="start-tag">script</span>&gt;

		function selectChannel(obj)
		{
			var mode = obj.fullscreen;
			if (mode == false)
			{
				var cnt = obj.controls.audioLanguageCount;
				var index = obj.controls.currentAudioLanguageIndex;
				index = index + 1;
				if (index &gt; cnt)
					index = 1;
	
				obj.controls.currentAudioLanguageIndex = inde

 etc  ... etc ... etc
</pre>
<br>
<br>
Nick Kew wrote:
<blockquote cite="mid:4B0541DF.90805@webthing.com" type="cite">Nick Kew
wrote: <br>
  <br>
  <blockquote type="cite">
    <blockquote type="cite">&nbsp;&nbsp;&nbsp; &lt;!-- <br>
    </blockquote>
    <br>
mod_proxy_html won't rewrite comments.&nbsp; It'll pass them through <br>
untouched or strip them out - no other option. <br>
  </blockquote>
  <br>
Come to think of it, that was a somewhat-legitimate feature request. <br>
Maybe I'll add it to a future 3.2 release. <br>
  <br>
Meanwhile you might find it easier to revert to a non-markup-aware <br>
filter such as mod_sed, and work your way through any "false <br>
positives" that arise out of context-blind pattern matching. <br>
  <br>
</blockquote>
<br>
</body>
</html>

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