In message <[email protected]>, Richard Chiswell writes: >Hi all, > >I've got a simple question which I've been puzzling on for the last 30 >minutes or so - how do you change a string in Varnish to lowercase? > >Basically, all the links on our site should be lowercase, but some >people have been randomly capitalising them when linking to them - I'd >just like Varnish to issue a 301 redirect to the lowercased version of >the URL: everything is in place apart from converting the string to >lowercase.
You'll have to use a bit of inline C code to do that. Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [email protected] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. _______________________________________________ varnish-misc mailing list [email protected] http://projects.linpro.no/mailman/listinfo/varnish-misc
