Displaying 1 result from an estimated 1 matches for "235th".
Did you mean:
35th
2006 Apr 20
1
How do you run a rail app from a subdirectory?
...on''t have to
modify httpd.conf every time I do.
Basically, I envisioned that it would work like this:
There''s a development server: dev.myserver.com
Each check-out goes in a seperate subdirectory:
dev.myserver.com/r234 -> revision 234 checked out
dev.myserver.com/r235 -> 235th revision
And each checked-out version is an app, so it works like this:
dev.myserver.com/r234/controller/action/id
And the paths from link_to and javascript_include_tag are set right
link_to :controller=>''mycontr'' -> <a href="/r234/mycont">...</a>...