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
</VirtualHost>
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
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/rj12m9-7f2UJ.
For more options, visit https://groups.google.com/groups/opt_out.