Displaying 2 results from an estimated 2 matches for "myapp_cluster".
2007 Jan 02
2
problem with mongrel/apache2.2.3 and subdomain setup
...ServerName myapp.domain.com
DocumentRoot /var/www/apps/myapp/current/public
<Directory /var/www/apps/myapp/current/public>
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# Configure mongrel_cluster
<Proxy balancer://myapp_cluster>
BalancerMember http://127.0.0.1:8000
BalancerMember http://127.0.0.1:8001
</Proxy>
RewriteEngine On
# Prevent access to .svn directories
RewriteRule ^(.*/)?\.svn/ - [F,L]
ErrorDocument 403 "Access Forbidden"
# Check for maintenance file and redirect all re...
2006 Aug 28
6
Why the render speed is still so slow under apache?
...uster, the rendering still takes a long time-
which occupies about 95% of the time.
Following is the httpd.conf:
RewriteEngine On
RewriteRule ^/$ /index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
RewriteRule ^/(.*)$ balancer://myapp_cluster%{REQUEST_URI} [P,QSA,L]
As a whole, of the three cache mechanism : page/controller/fragment,
only page works normally under apache2.2+mongrel_cluster, the other two
cache do not improve the speed at all,but they do under webrick+windows.
Anyone who can help me with issue?
Jonathan
--
Poste...