my rails app is running in amazon-ec2 server and i have a wordpress blog. I implemented the above code in my app but still its not working. whats happening is, when i try http://mydomain.com/blog/, it is getting redirected to http://myblog.wordpress.com rather than showing it in http://mydomain.com/blog/. how can i solve this???