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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---