# Route.rb parameters

**URL:** <https://www.ruby-forum.com/t/route-rb-parameters/118872>\
**Category:** Rails\
**Created:** [October 31, 2007, 8:40pm UTC](https://www.ruby-forum.com/t/route-rb-parameters/118872 "2007-10-31T20:40:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ken.ingram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f6c823/32.png) [@ken.ingram](https://www.ruby-forum.com/u/ken.ingram)\
**Post date:** [October 31, 2007, 8:40pm UTC](https://www.ruby-forum.com/t/route-rb-parameters/118872/1 "2007-10-31T20:40:12Z")

</div>

I set up VirtualHost in Apache which works fine to the “public”  
directory, however  
attempting to connect to the app/controller is problematic.

i.e. The page returns this:

Routing Error  
no route found to match “/music\_library/admin” with {:method=\>:get}

My guess is that I need /:controller/:action/:id

I don’t completely understand mod\_rewrite, but is there some  
comprehensive documentation  
which explains what the default rewrite placeholders are for route.rb.

Seems like I need :url/:controller/:action/:id  
or :application/:controller/:action/:id

or something.

How the heck do I find out which one is the appropriate option other  
than hours of futile guesswork?
