Recent Posts by Adam Cigánek

Subscribe to Recent Posts by Adam Cigánek 2 post(s) found

21 Nov, 2008 10:14 AM
Avatar Adam Cigánek 2 posts

Topic: Brightbox Help / Setting up domain redirects

This solution seems to be good enough. Thanks a lot John!

 
20 Nov, 2008 05:12 PM
Avatar Adam Cigánek 2 posts

Topic: Brightbox Help / Setting up domain redirects

Hello,

I would like to set up permanent (301) redirect from http://my-domain.net to http://www.my-domain.net. I guess i can do that by putting some mod-rewrite magic into /etc/apache2/sites-available/rails-my-app, but then the changes would be wiped out on next `cap deploy:setup`. So, is there some better way to do it? Perhaps some additional directive to put into config/deploy.rb or something like that? Thanks.