|
skaplan
|
 |
Posted: Fri Mar 23, 2007 5:14 pm |
|
 |
 |
 |
 |
How do I make ruby the root of a website?
|
|
|
|
comprug
Forum Regular
|
 |
Posted: Fri Mar 23, 2007 8:49 pm |
|
 |
 |
 |
 |
Ok, here's what you do:
rails app
rm htdocs
rm app/public/index.html
ln -s app/public htdocs
|
|
|
|
skaplan
|
 |
Posted: Fri Mar 23, 2007 9:01 pm |
|
 |
 |
 |
 |
can you put a htaccess file into the public folder
|
|
|
|
pmeserve
HostMySite Tech
|
 |
Posted: Fri Mar 23, 2007 11:13 pm |
|
 |
 |
 |
 |
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
|
|
|