Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

ProxyHTMLURLMap issues

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


peter.de.groot at det

Nov 18, 2009, 1:38 AM

Post #1 of 1 (260 views)
Permalink
ProxyHTMLURLMap issues

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="/javascript/iepng.js"></script> <![endif]--> <!--[if lt IE 7.0]> <link rel="stylesheet" href="/css/ie6fix.css" type="text/css"/> <![endif]--> <!--[if IE 7.0]> <link rel="stylesheet" href="/css/ie7.css" 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/"]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/"]http://tv-3:8088/
ProxyHTMLURLMap http://tv-3:8088/"]http://tv-3:8088/ /tv

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


</VirtualHost>

Thanks
peter



--
http://egc.wa.edu.au"]
Peter de Groot
Eastern Goldfields College
Kalgoorlie 6430
Department of Education and Training
Phone 90801800 Fax 90801866 Mob 0418915312
http://det.wa.edu.au"]
Attachments: EGC_logo.gif (2.29 KB)
  COLOUR DEPT LOGO Landscape_email.gif (7.35 KB)

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.