.htaccess

Hello friends.

I have hosted my application on bluehost and from cpanel i created a rails application which is generated inside my public_html folder.

~/public_html/myapp

then i followed the following steps

ln -s ~/public_html/myapp/public myapplive

any edited my .htaccess file like RewriteBase /myapplive RewriteRule ^([^.]+)$ $1.html [QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]

So now everything is working fine but the All my links are displaying http://www.domainname.com/myapplive/controller/action

So i Just want my url should be http://www.domainname.com/controller/action

any suggestion?

thanks Abhi