I have a regular plain old static HTML file under my RAILS_ROOT that I
would like to serve as itself (without any dynamic anything).
Just stick it in your public/ directory. The web server will spot that
it exists, and not trigger the 404 action that drops into Rails, serving
the static file instead.
I should have checked my path more carefully - I simply asked for the
wrong file.
Sorry for the wasted time.
WG
Alex Y. wrote:
Wes G. wrote:
I have a regular plain old static HTML file under my RAILS_ROOT that I
would like to serve as itself (without any dynamic anything).
Just stick it in your public/ directory. The web server will spot that
it exists, and not trigger the 404 action that drops into Rails, serving
the static file instead.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.