Hi, i''m trying to set up a rails project in a shared hosting (i''ve no access to the vhost configuration). Actually i''ve a project folder in httpdocs. And this is the .htaccess in httpdocs RewriteEngine On RewriteRule ^$ /project/public/index.html [L] RewriteCond %{REQUEST_URI} !^/project/public RewriteRule ^(.*)$ /project/public/$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ project/public/dispatch.fcgi/$1 [QSA,L] When i access to the domain it works quite fine, and also the db seems to works. The only problem i''ve is that i use the resources methods to create the urls. So i use for example login_account_url to generate the url to the login page. But it generate an url like "http://www.domain.com/project/public/account/login" instead of "http://www.domain.com/account/login". How can i fix this and set the public folder as root (without using the apache vhost config)? The problem is not just that "/projecy/public/" it''s ugly, it''s that it doesn''t work if there is that :( Thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---