Reply to topic
Rails On Root
skaplan


Joined: 06 Feb 2007
Posts: 5
Reply with quote
How do I make ruby the root of a website?
Rails root
comprug
Forum Regular

Joined: 15 Feb 2006
Posts: 341
Reply with quote
Ok, here's what you do:
rails app
rm htdocs
rm app/public/index.html
ln -s app/public htdocs
skaplan


Joined: 06 Feb 2007
Posts: 5
Reply with quote
can you put a htaccess file into the public folder
pmeserve
HostMySite Tech

Joined: 19 Mar 2004
Posts: 178
Reply with quote
skaplan - Yes, in fact you need one there for Rails to work w/ Apache + mod_fastcgi at all. You can feel free to edit the default .htaccess file Rails creates, but be careful
Rails On Root
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic