Changing Case of Variables in Nginx

Resi Cow resicow at
Thu Aug 7 19:48:35 MSD 2008

Have you tried it at all with pcre and rewrite, because I haven't been able
to get that to work.

I don't know enough about c programming, but it seems simple enough to also
provide the variables with maybe a _lowercase appended to them, to receive
them in lowercase. Sort of like $host_lowercase or $uri_lowercase. Would
this be an easy patch to generate?



On Thu, Aug 7, 2008 at 10:40 AM, Kon Wilms <konfoo at> wrote:

> On Thu, Aug 7, 2008 at 8:27 AM, Resi Cow <resicow at> wrote:
> > Is there a way to change the case of a variable ($request_uri, etc.) to
> all
> > *lowercase*?
> I'm interested in this as well. Actually, it is an almost essential
> feature with hosting live Flash (Flash Media Server) video on demand,
> since customers always forget what case they made their files. The
> solution is to convert anything ingested into the system to all
> lowercase and place nginx in front of the request URIs. At least,
> that's the preferred solution for me :)
> Cheers
> Kon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list