hey, my shared hosting allows me to run rails from shell, but the admin recommended me to not place the application within the web directory. actually, this is how the dir structure looks like after i log in:
logs is clear, sub contains subdomain dirs (as soon as i create /sub/my, i can easily access my.domain.com), web is the main www directory and rails contains my rails application (rails/mydomain/* to be precise).
the thing is that i somehow need to link the /sub/dev directory to /rails/mydomain/public, so that when i access dev.domain.com, the rails application appears. i tried to link it using ln -sfn but it gives me "You don't have permission to access / on this server." error. i guess it might be something with .htaccess to do, but i cant really thing of anything smart right now.