# Rails on Apache

**URL:** <https://www.ruby-forum.com/t/rails-on-apache/92936>\
**Category:** Rails\
**Created:** [April 25, 2007, 8:49pm UTC](https://www.ruby-forum.com/t/rails-on-apache/92936 "2007-04-25T20:49:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jack.tang](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/8797f3/32.png) [@jack.tang](https://www.ruby-forum.com/u/jack.tang)\
**Post date:** [April 25, 2007, 8:49pm UTC](https://www.ruby-forum.com/t/rails-on-apache/92936/1 "2007-04-25T20:49:12Z")

</div>

Hi list

I deploy my rails application on apache using mod\_proxy. and here is  
the config.

\<VirtualHost \*:80\>  
ServerName [testnl.lifegoo.com](http://testnl.lifegoo.com)  
DocumentRoot /home/jack/app\_release11/public  
SetOutputFilter DEFLATE

\<Directory “/home/jack/app\_release11/public”\>  
Options FollowSymLinks  
AllowOverride None  
Order allow,deny  
Allow from all

ProxyPass / [http://localhost:3000/](http://localhost:3000/)  
ProxyPassReverse / [http://localhost:3000/](http://localhost:3000/)  
ProxyPreserveHost on

# These directories should always be served up by Apache,

# since they contain static content. Or just let rails do it.

ProxyPass /images !  
ProxyPass /stylesheets !  
ProxyPass /javascripts !  
ProxyPass /favicon.ico !

ErrorLog logs/testnl.lifegoo.com.error.log  
CustomLog logs/testnl.lifegoo.com.access.log common

And when i access the URL: [LifeGoo.com is for sale | HugeDomains](http://testnl.lifegoo.com/?tag=c%2B%2B) (the  
value is “c++”), in rails application, I get the value of tag  
parameter is "c ". So how can I solve the problem. Hope you can help  
me out 🙂

Thanks  
/Jack
