Default site root not public

How does one go about setting the default home directory to something
besides /public?

Thanks in advance,
Peter

On 8 Oct 2007, at 17:56, Peter H. wrote:

How does one go about setting the default home directory to something
besides /public?

map.connect ‘’, …
or in rails 2.0
map.root …

Fred

Frederick C. wrote:

On 8 Oct 2007, at 17:56, Peter H. wrote:

How does one go about setting the default home directory to something
besides /public?

map.connect ‘’, …
or in rails 2.0
map.root …

Fred

Hi Fred
Thanks for the reply.

I have my route set to

Install the default route as the lowest priority.

map.connect ‘:controller/:action/:id’
map.connect ‘’, :controller => “home”, :action => “index”

and I have tried

Install the default route as the lowest priority.

map.connect ‘:controller/:action/:id’
map.connect ‘/home’, :controller => “home”, :action => “index”

Something else that seems odd is if I rename my public/index.html to
index.rhtml the page does not parse.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs