Re: [users@httpd] mod_proxy_html does not like meta tags

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

 



Oops ... I just noticed my previous reply was in html :-(
Here-under you can find my correctly formatted message again
Sorry again,
Koen

-----Nick Kew <nick@xxxxxxxxxxxx> wrote: -----

>To: users@xxxxxxxxxxxxxxxx
>From: Nick Kew <nick@xxxxxxxxxxxx>
>Date: 01/03/2006 22:26
>Subject: Re: [users@httpd] mod_proxy_html does not like meta tags
>
>On Wednesday 01 March 2006 20:13, koen.vdvelde@xxxxxxxxxxxx wrote:
>
>> eg:
>>   <meta http-equiv="Refresh"
content="5;URL=http://internal.example.com/mail/
>> koen.vdvelde.nsf?opendatabase">
>>
>> will NOT be translated in :
>>   <meta http-equiv="Refresh"
content="5;URL=http://external.example.com/mail/
>> koen.vdvelde.nsf?opendatabase">
>>
>>
>> Any idea what I am doing wrong ?
>
>That's not a URL attribute under HTML (or XHTML) rules.
>
>You can make it rewrite that by defining "content" as a scripting event
>in the source. That's a hack of course, but then so is the whole of that
>ugly meta-crap.  And I don't think it will work with ProxyHTMLMeta.
>
>--
>Nick Kew
>
did you mean : ".. defining ... in the source", as in "... the apache
and/or mod_proxy_html source" ??
In that case I'm afraid you are over-estimating me :-(

I (thought I) did understand that proxyHTMLURLMap originaly only was able
to rewrite <a href=...> tags.
But with the new version AND by setting
  ProxyHTMLExtended On
this changed to a "general" text-search-and-replace functionality, able to
rewrite even (java)scripts, stylesheets, etc ...

If that 's right, than adding to the config :
     ProxyHTMLExtended On
     ProxyHTMLURLMap  Foo  Bar  i
would change any "foo" to "bar" in my web pages

But I tested it ... and it doesn't in my configuration.

So ... Did I misunderstand the docu ? or Did I do something wrong ?

TIA,

Koen.


---------------------------------------------------------------------
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