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 [users@httpd] ProxyHTMLURLMap issues ... resent .. surely somebody can help with this
Date Thu, 19 Nov 2009 09:11:57 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Hi,<br>
<br>
Please help ... been grinding away for days :-).<br>
<br>
<br>
I am trying to reverse proxy to my internal web site from the outside.<br>
<br>
The internal web site has CSS and Java and everything.<br>
<br>
HOWEVER.<br>
<br>
The internal web site uses a "CSS Hack" (??)&nbsp; to get around browser
issues in IE.<br>
When I browse the internal site directly I see this in the source. <br>
<br>
<pre id="line1"><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></pre>
<br>
When I view the page source via the proxy.. this piece of the code is
MISSING, and the apache log shows this<br>
<br>
&nbsp;Non-HTML content; not inserting proxy-html filter, referer:
<a class="moz-txt-link-freetext" href="http://intranet.fff.xxxxdu/tv/">http://intranet.fff.xxxxdu/tv/</a><br>
<br>
I am presuming this is related to the error.<br>
<br>
The displayed page is missing its "theme", which I am assuming is to do
with the "hack"<br>
<br>
How can I get ProxyHTMLMap to pass this content through.<br>
<br>
Config snippet is<br>
<br>
<br>
#&nbsp; -------&nbsp; TV<br>
<br>
<br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
To support scripting events (with ProxyHTMLExtended On),<br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
you'll need to declare them too.<br>
<br>
ProxyHTMLEvents onclick ondblclick onmousedown onmouseup \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
onmouseover onmousemove onmouseout onkeypress \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
onkeydown onkeyup onfocus onblur onload \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
onunload onsubmit onreset onselect onchange<br>
<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ProxyHTMLLogVerbose
on<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LogLevel debug<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ProxyHTMLExtended On<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ProxyPass&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/tv/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a
 class="moz-txt-link-freetext" href="http://tv-3:8088/">http://tv-3:8088/</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ProxyHTMLURLMap&nbsp;&nbsp;
<a class="moz-txt-link-freetext"
 href="http://tv-3:8088/">http://tv-3:8088/</a>&nbsp; /tv<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Location&nbsp;
/tv/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ProxyPassreverse /<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
SetOutputFilter&nbsp; proxy-html<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ProxyHTMLURLMap&nbsp;&nbsp;&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/tv/<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ProxyHTMLURLMap&nbsp;&nbsp;&nbsp; /tv&nbsp;&nbsp;&nbsp; /tv<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
RequestHeader&nbsp;&nbsp;&nbsp; unset&nbsp; Accept-Encoding<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Location&gt;<br>
<br>
<br>
&lt;/VirtualHost&gt;<br>
<br>
Thanks<br>
peter<br>
<br>
<br>
<br>
<div class="moz-signature">-- <br>
<table border="0" cellpadding="2" cellspacing="2" height="99"
 width="1022">
  <tbody>
    <tr>
      <td align="center" valign="middle" width="80"><a
 href="http://egc.wa.edu.au"><img alt=""
 src="cid:part1.03010600.05090400@det.wa.edu.au" border="0" height="104"
 width="120"></a><br>
      </td>
      <td valign="top" width="350">Peter de Groot<br>
Eastern Goldfields College<br>
Kalgoorlie 6430<br>
Department of Education and Training<br>
Phone 90801800 Fax 90801866 Mob 0418915312<br>
      </td>
      <td valign="top"><a href="http://det.wa.edu.au"><img alt=""
 src="cid:part2.09060707.09020600@det.wa.edu.au" border="0" height="60"
 width="295"></a><br>
      </td>
    </tr>
  </tbody>
</table>
</div>
</body>
</html>

Mime
View raw message