I'm having some problems with apache virtualhosts (vhosts scripts are set in "/home/vhosts/$VHOST")...
<VirtualHost *:80>
ErrorLog "logs/www.site.com-error_log"
CustomLog "logs/www.site.com-access_log" common
</VirtualHost>
This configuration works, when apache receives a request for domain "
www.site.com" it will forward it to 192.168.56.202 backendserver and this server finds the proper script at "/home/vhosts/
www.site.com".
My problems are concerning load balancing. My configuration is:
<VirtualHost *:80>
<Proxy balancer://site>
</Proxy>
ProxyPass / balancer://site/
ErrorLog "logs/www.site.com-error_log"
CustomLog "logs/www.site.com-access_log" common
</VirtualHost>
But it is not working: requests will be forwarded to those backends, but I can't figure out how to make those BalancerMember backends to point at "/home/vhosts/
www.site.com".
How should I do that?