# Admin email, Server Name (domain name) and any aliases ServerAdmin inuka@learningspirit.co.uk ServerName 78.86.167.70 # ServerAlias www.domain1.com # Index file and Document Root (where the public files are located) DirectoryIndex index.html DocumentRoot /home/inuka/public_html/78.86.167.70/public # Custom log file locations LogLevel warn ErrorLog /home/inuka/public_html/78.86.167.70/logs/error.log CustomLog /home/inuka/public_html/78.86.167.70/logs/access.log combined # Admin email, Server Name (domain name) and any aliases ServerAdmin inuka@learningspirit.co.uk ServerName 78.86.167.70 # ServerAlias www.domain1.com DocumentRoot /home/inuka/public_html/ RewriteEngine On BalancerMember http://127.0.0.1:8000 BalancerMember http://127.0.0.1:8001 # Redirect all non-static requests to Mongrel RewriteCond %{DOCUMENT_ROOT}/ra/public/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ balancer://mongrelcluster%{REQUEST_URI} [P,QSA,L] ProxyPass / balancer://mongrelcluster/ ProxyPassReverse / balancer://mongrelcluster/ ProxyPreserveHost on Order deny,allow Allow from all # Custom log file locations ErrorLog /home/inuka/public_html/ra/log/error.log CustomLog /home/inuka/public_html/ra/log/access.log combined # Admin email, Server Name (domain name) and any aliases ServerAdmin inuka@learningspirit.co.uk ServerName 78.86.167.70 # ServerAlias www.domain1.com DocumentRoot /home/inuka/public_html/ RewriteEngine On BalancerMember http://127.0.0.1:8002 BalancerMember http://127.0.0.1:8003 # Redirect all non-static requests to Mongrel RewriteCond %{DOCUMENT_ROOT}/views_demo/public/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ balancer://mongrelcluster%{REQUEST_URI} [P,QSA,L] ProxyPass / balancer://mongrelcluster/ ProxyPassReverse / balancer://mongrelcluster/ ProxyPreserveHost on Order deny,allow Allow from all # Custom log file locations ErrorLog /home/inuka/public_html/views_demo/log/error.log CustomLog /home/inuka/public_html/views_demo/log/access.log combined