RE: ProxyHTMLURLMap issues ... resent .. surely somebody can help with this

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

 



supplement to previous post:

This looks something like your problem:
http://apache.webthing.com/mod_proxy_html/faq.html#script

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 




________________________________

	From: Peter de Groot [mailto:peter.de.groot@xxxxxxxxxxxxx] 
	Sent: Thursday, November 19, 2009 10:12 AM
	To: users@xxxxxxxxxxxxxxxx
	Subject:  ProxyHTMLURLMap issues ... resent ..
surely somebody can help with this 
	
	

	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/
	
	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
	
	
	
	
	-- 
	
	 <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> 
 
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. 
The sender's company reserves the right to monitor all e-mail communications through their networks.

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[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