Re: Mod_Substitute - Match the last occurrence of a string in the response

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

 



On Wed, 2016-11-23 at 09:25 +0000, Dr James Smith wrote:
> Why are you attaching after the last meta tag - wouldn't it be easier
> just before the </head> tag or just after the <head> tag - you should
> have no other js in the header - except possibly an HTML 5 shim...

A </head> is of course optional (implied if not present) in HTML.

If you're parsing markup, mod_proxy_html saves you having to
throw dodgy heuristics at it.

-- 
Nick Kew


---------------------------------------------------------------------
To unsubscribe, e-mail: users-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