# Static HTML in rails application

**URL:** <https://www.ruby-forum.com/t/static-html-in-rails-application/111776>\
**Category:** Rails\
**Created:** [August 10, 2007, 6:41pm UTC](https://www.ruby-forum.com/t/static-html-in-rails-application/111776 "2007-08-10T18:41:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 10, 2007, 6:41pm UTC](https://www.ruby-forum.com/t/static-html-in-rails-application/111776/1 "2007-08-10T18:41:08Z")

</div>

Hi all,

can anyone tell me the easiest way to include some static html pages  
(generated by latex2html) to a rails application? The problem is that  
rails tries to route all those static links which leads to errors.

Thanks,  
Frank

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 10, 2007, 7:34pm UTC](https://www.ruby-forum.com/t/static-html-in-rails-application/111776/2 "2007-08-10T19:34:14Z")

</div>

Hi Frank,

I think you should set this up in your web server.  
If you’re using Apache + Mongrel, check what gets routed to the  
mongrel cluster and remove the URLs that you want to be served  
directly by Apache. It’s a similar to handling images, CSS, etc.

Amir
