rewrite upper to lowercase
February 02, 2013 04:09PM
Hey,
i switched today from apache2 to nginx. Now im looking for away to rewrite all upercase letter to lowercase. on apache i used:

RewriteEngine on
RewriteCond %{REQUEST_URI} [A-Z]
RewriteRule (.*) ${lc:$1} [L,R=301]
RewriteBase /dir/
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 127
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready