# Apache / mod\_rails config

**URL:** <https://www.ruby-forum.com/t/apache-mod-rails-config/167822>\
**Category:** Rails\
**Created:** [May 13, 2009, 12:54am UTC](https://www.ruby-forum.com/t/apache-mod-rails-config/167822 "2009-05-13T00:54:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![giorgio](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/cab0a1/32.png) [@giorgio](https://www.ruby-forum.com/u/giorgio)\
**Post date:** [May 13, 2009, 12:54am UTC](https://www.ruby-forum.com/t/apache-mod-rails-config/167822/1 "2009-05-13T00:54:56Z")

</div>

Hi,

I have mod\_rails on Apache serving a rails app just fine.

What I want to do is have another folder served by apache as a  
downloadable list of files.

Do I need to do mod\_rewrite stuff and mess around with htaccess?

If so has anybody got a recipe?

Cheers  
George

---

<div class="post-metadata">

**Author:** ![giorgio](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/cab0a1/32.png) [@giorgio](https://www.ruby-forum.com/u/giorgio)\
**Post date:** [May 13, 2009, 11:18am UTC](https://www.ruby-forum.com/t/apache-mod-rails-config/167822/2 "2009-05-13T11:18:03Z")

</div>

Hi George,

This is a bit outside the scope of this group, but how you set that up  
doesn’t really have anything to do with the mod\_rails install. From  
what I know, you should just be able to create a new virtual host and  
point it to the folder of files you want to serve. Mod rewrite would  
only be needed if you want to change the url’s from the file/folder  
names to something else.

Cheers,  
Jeremy
