>
> What the purpose to hide the controller and action from URL?
>

To have nicer URLs?  For example:
http://www.facebook.com/andyjeffriesrather than
http://www.facebook.com/user/show/andyjeffries

It's quite a common request.

You can use the Apache mod_rewrite itself to make this change. You will
> need to know a little regex to make these changes.
>

You can, but given that Rails has native support for this in the Routing
subsystem I'd personally avoid putting it in the webserver (otherwise if you
want to move to something else, Nginx, Unicorn, whatever) you'd have to redo
the work.

Cheers,


Andy

-- 
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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to