Hi, I'd like to have a route that looks like:
http://webhost.com/myresource/random.server.com/folderOnServer/resourceName The params I'd like to come out of that are: :server = random.server.com :folder = folderOnServer :resource = resourceName So, I do this: get 'myresource/*server/(:folder)/*mapservice' => "controller#action", :constraints ={:server=>/[^\/]+/} Which I hope is saying, I want to match all characters for the server param, until you get to the first /. What is happening is: :server = random.server.com/folderOnServer :folder = nil :resource = resourceName Any suggestions on what I am doing wrong? Thanks, Glenn -- Posted via http://www.ruby-forum.com/. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

