ProxyHTMLURLMap issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi,

Please help ... been grinding away for days :-).


I am trying to reverse proxy to my internal web site from the outside.

The internal web site has CSS and Java and everything.

HOWEVER.

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.

<!--[if lt IE 7.0]>
      <script src=""></script>
      <![endif]-->
<!--[if lt IE 7.0]>
        <link rel="stylesheet" href="" type="text/css"/>
      <![endif]-->
<!--[if IE 7.0]>
        <link rel="stylesheet" href="" type="text/css"/>
      <![endif]-->


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/

I am presuming this is related to the error.

The displayed page is missing its "theme", which I am assuming is to do with the "hack"

How can I get ProxyHTMLMap to pass this content through.

Config snippet is


#  -------  TV


#            To support scripting events (with ProxyHTMLExtended On),
#            you'll need to declare them too.

ProxyHTMLEvents onclick ondblclick onmousedown onmouseup \
                onmouseover onmousemove onmouseout onkeypress \
                onkeydown onkeyup onfocus onblur onload \
                onunload onsubmit onreset onselect onchange


        ProxyHTMLLogVerbose on
        LogLevel debug
        ProxyHTMLExtended On
        ProxyPass         /tv/                http://tv-3:8088/
        ProxyHTMLURLMap   http://tv-3:8088/  /tv

        <Location  /tv/>
           ProxyPassreverse /
           SetOutputFilter  proxy-html
           ProxyHTMLURLMap    /      /tv/
           ProxyHTMLURLMap    /tv    /tv
           RequestHeader    unset  Accept-Encoding
        </Location>


</VirtualHost>

Thanks
peter



--

Peter de Groot
Eastern Goldfields College
Kalgoorlie 6430
Department of Education and Training
Phone 90801800 Fax 90801866 Mob 0418915312


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux