I'm using a Apache2 server with Passenger for my Rails app.
I dunno how to create a 301 redirect in my VirtualHost as :
- domain.fr --> www.domain.com
- www.domain.fr --> www.domain.com
I've tried :
Redirect 301 / http://www.domain.com/
Redirect permanent / http://www.domain.com/
But it's not the way to do it :-)
Thx for your answers..