Any clues? As for i have same rails app generating pages for other countries also...
I do some url checks in my start_controller to ensure the country flags work correctly.

Is it because, mongrel can't handle request_uri correctly?

On 7/25/06, hemant <[EMAIL PROTECTED]> wrote:
I am using Apache2.2 + mod_proxy_balancer + mongrel setup and my mongrel.conf file(for apache is like this)

   
      2
      3 <Proxy balancer://mongrel_cluster>
      4   BalancerMember http://127.0.0.1:9000
      5   BalancerMember http://127.0.0.1:9001
      6   BalancerMember http://127.0.0.1:9002
      7 </Proxy>
      8
      9 <VirtualHost *>
     10   ServerAdmin [EMAIL PROTECTED]
     11   ServerName *.foobar.com
     12   ServerAlias foobar.com
     13   ProxyPass / balancer://mongrel_cluster/
     14 #  ProxyPassReverse / balancer://mongrel_cluster/
     15 #  ErrorLog /usr/local/apache2/logs/mon.log
     16 #  CustomLog /var/log/apache/apache_access_log combined
     17 </VirtualHost>
     18
     19 <Location /balancer-manager>
     20   SetHandler balancer-manager
     21 </Location>


Now, i get pages for foobar.com allright, but if i try to view pages for us.foobar.com, i get <b>Forbidden</b> Error.
Though, when i manually enter, http://us.foobar.com:9001 , then i get corrpesponding page for that country allright.

So, my wild guess is mod_proxy_balancer is messing things a little. Any clues?

--
nothing much to talk



--
nothing much to talk
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to