httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From koen.vdve...@proviron.com
Subject Re: [users@httpd] mod_proxy_html does not like meta tags
Date Thu, 02 Mar 2006 22:19:29 GMT
<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><DIV><BR></DIV><P><FONT
color=#990099>-----Nick Kew &lt;nick@webthing.com&gt; wrote: -----<BR><BR></FONT>&gt;On&nbsp;Wednesday&nbsp;01&nbsp;March&nbsp;2006&nbsp;20:13,&nbsp;koen.vdvelde@proviron.com&nbsp;wrote:<BR>&gt;<BR>&gt;&gt;&nbsp;eg:<BR>&gt;&gt;&nbsp;&nbsp;&nbsp;&lt;meta&nbsp;http-equiv="Refresh"<BR>&gt;&gt;<BR>&gt;content="5;URL=http://internal.example.com/mail/koen.vdvelde.nsf?open<BR>&gt;databa<BR>&gt;&gt;se"&gt;<BR>&gt;&gt;<BR>&gt;&gt;&nbsp;will&nbsp;NOT&nbsp;be&nbsp;translated&nbsp;in&nbsp;:<BR>&gt;&gt;&nbsp;&nbsp;&nbsp;&lt;meta&nbsp;http-equiv="Refresh"<BR>&gt;&gt;&nbsp;&nbsp;<BR>&gt;&gt;<BR>&gt;content="5;URL=http://external.example.com/mail/koen.vdvelde.nsf?open<BR>&gt;databa<BR>&gt;&gt;se"&gt;<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;&nbsp;Any&nbsp;idea&nbsp;what&nbsp;I&nbsp;am&nbsp;doing&nbsp;wrong&nbsp;?<BR>&gt;<BR>&gt;That's&nbsp;not&nbsp;a&nbsp;URL&nbsp;attribute&nbsp;under&nbsp;HTML&nbsp;(or&nbsp;XHTML)&nbsp;rules.<BR>&gt;<BR>&gt;You
can make it rewrite that by defining "content" as a scripting<BR>&gt;event<BR>&gt;in
the source.  That's a hack of course, but then so is the whole of<BR>&gt;that<BR>&gt;ugly&nbsp;meta-crap.&nbsp;&nbsp;And&nbsp;I&nbsp;don't&nbsp;think&nbsp;it&nbsp;will&nbsp;work&nbsp;with&nbsp;ProxyHTMLMeta.<BR>&gt;<BR>&gt;--&nbsp;<BR>&gt;Nick&nbsp;Kew<BR>&gt;<BR>did
you mean : ".. defining ... in the source", as in "... the apache and/or mod_proxy_html source"
??<BR>In that case I'm afraid you are over-estimating me :-(<BR>&nbsp;<BR>I
(thought I) did understand that proxyHTMLURLMap originaly only was able to rewrite &lt;a
href=...&gt; tags.<BR>But with the new version AND by setting <BR>&nbsp;
ProxyHTMLExtended On<BR>this changed to a "general" text-search-and-replace functionality,
able to rewrite even (java)scripts, stylesheets, etc ...</P><P>If that 's right,
than adding to the config : <BR>&nbsp;&nbsp;&nbsp;&nbsp; ProxyHTMLExtended
On<BR>&nbsp;&nbsp;&nbsp;&nbsp; ProxyHTMLURLMap&nbsp; Foo&nbsp;
Bar&nbsp; i<BR>would change any "foo" to "bar" in my web pages</P><P>But
I tested it ... and it doesn't in my configuration.</P><P>So ... Did I misunderstand
the docu ? or Did I do something wrong ?</P><P>TIA,</P><P>Koen. <BR></P></FONT>
---------------------------------------------------------------------
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