issues with mongrel and apache please help me

hey all, I have an app working great with apache2 and mongrel_cluster. However, I'm trying to run another application and now when I go to it falls to my second app and the vice versa. That's probably because I messed up somewhere with the cluster. this is the content of my conf.d/app1.proxy_cluster.conf:

<Proxy balancer://mongrel_cluster>   BalancerMember   BalancerMember   BalancerMember </Proxy>

and this is my conf.d/app2.proxy_cluster.conf: <Proxy balancer://mongrel_cluster>   BalancerMember   BalancerMember </Proxy>

## Maybe I need to change the name of my mongrel_cluster but I'm not sure how to do this :confused: ## this is my sites-enabled/app1.conf: NameVirtualHost

<VirtualHost>   ServerName   ServerAlias   DocumentRoot /home/patcito/testapp/public/ Include /etc/apache2/conf.d/testapp.common </VirtualHost>

##this is my conf.d/app1.common: <Directory "/home/patcito/testapp/public/">     Options FollowSymLinks     AllowOverride None     Order allow,deny     Allow from all   </Directory>

  RewriteEngine On

  # Make sure people go to, not   RewriteCond %{HTTP_HOST} ^$ [NC]   RewriteRule ^(.*)$$1 [R=301,L]

  # Check for maintenance file and redirect all requests   RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f   RewriteCond %{SCRIPT_FILENAME} !maintenance.html   RewriteRule ^.*$ /system/maintenance.html [L]

  # Rewrite index to check for static   RewriteRule ^/$ /index.html [QSA]

  # Rewrite to check for Rails cached page   RewriteRule ^([^.]+)$ $1.html [QSA]

  # Redirect all non-static requests to cluster   RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f   RewriteRule ^/(.*)$ balancer://mongrel_cluster%{REQUEST_URI} [P,QSA,L]

  # Deflate   AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css   BrowserMatch ^Mozilla/4 gzip-only-text/html   BrowserMatch ^Mozilla/4.0[678] no-gzip   BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

ProxyPass /images ! ProxyPass /stylesheets ! ProxyPass /javascripts !

#continue with other static files that should be served by apache

Alias /images /home/patcito/testapp/public/images Alias /stylesheets /home/patcito/testapp/public/stylesheets Alias /javascripts /home/patcito/testapp/public/javascripts

those two files for app2 are similar. Any idea what's wrong? thanx in advance