2003 virtual directory

Rob Nichols
I've trying to set up Rails on an intranet server that already hosts a number of application. Therefore, I need a new Rails app to work in its own virtual directory.

I've followed your instructions, but I get page not found (HTTP error 404). The application works with WebBrick.

Looking at the redirect options, It looks as though I should be able to replace:

app/controller/action

with

app/dispatch.fcgi?controller/action

so as to test whether the .fcgi setup is at fault, or the redirect. When I do this I get:

Routing Error
Recognition failed for "/depot/dispatch.fcgi"

And the format of this is typical for a Rails app. This suggests to me that the .fcgi system is working, but I have routing problem associated with the redirect.

Am I on the right path? Do you have any suggestions as to how to get the path working correctly?

RE: 2003 virtual directory

2-3-2006 8:39
If you get a Rails error message your fcgi is working. The routing error

Did you try dispatch.fcgi?app/controller/action?

To be honest I still did not try sub directory setups. I'll give this a try somewhere next week.

/Boris

Name:
Email:
Url:
Message:

I love umbraco. Click here to go to the umbraco developer site