Forum: Ruby on Rails Rails on Apache

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
145e373624d173d2226a3dec4c563dfe?d=identicon&s=25 jack.tang (Guest)
on 2007-04-25 20:49
(Received via mailing list)
Hi list

I deploy my rails application on apache using mod_proxy. and here is
the config.

<VirtualHost *:80>
  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/
  ProxyPassReverse / 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/
  CustomLog logs/ common

And when i access the URL: (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 :)

This topic is locked and can not be replied to.