Thanks for the helping hand. Yesterday Karl helped me sort that out. Now the problem I am facing is that
when I login to wordpress, all I see is a blank screen. however i it does login. When I use the internal login url, I can see the dashboard. Once again when I activate any plugin or publish a post, the plugin gets activated and the post gets published but I get a blank screen.
Any idea how to get rid of this?