rendered paste body<VirtualHost *:80>
# 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
</VirtualHost>
<VirtualHost *:8080>
# 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
<Proxy balancer://mongrelcluster>
BalancerMember http://127.0.0.1:8000
BalancerMember http://127.0.0.1:8001
</Proxy>
# 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
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
# Custom log file locations
ErrorLog /home/inuka/public_html/ra/log/error.log
CustomLog /home/inuka/public_html/ra/log/access.log combined
</VirtualHost>
<VirtualHost *:8081>
# 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
<Proxy balancer://mongrelcluster>
BalancerMember http://127.0.0.1:8000
BalancerMember http://127.0.0.1:8001
</Proxy>
# 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
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
# 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
</VirtualHost>