views:

19

answers:

0

Hi guys.

I am deploying a new rails app. But i have a problem. In my routes file i have the following (at the end of the file):

match '/:id(/*path)' => "websites#index"

in development everything works great! but i am now switching to production and the files in the public directory can not be accessed. For some reason those requests get routed to the websites#index function.

I think i did something wrong in apache (i am running apache2 with 3 thin server).
This is my enabled-sites/000-default file: http://gist.github.com/575280
(sorry not gonna post it here.. to much work to make that look good on stackoverflow)

I hope somebody can help!! THANXS :D