In production, using Apache I can use RedirectMatch permanent to force url wo subdomain to use www.
<VirtualHost *:80>
ServerName example.com
RedirectMatch permanent ^/(.*) http://www.example.com/$1
How can I get the same behavior when using Thin in dev mode ?
need to change all example.com/… urls into www.example.com/… if I don’t want to touch the routes ?
thanks for feedback