How to install Varnish properly on a freebsd DA machine.
Please help me out here, as I have played around quite a bit, but am left in the dark how to get this working.
I am on a freebsd 7.2 64 bit DA machine and do NOT want to change DA settings, cause that would ruin my upgrade path with DA etc.
Therefore here is how I think it has to be done:
- leave DA stuff alone
- use Varnish in front of apache
- apache stays on port 80
- traffic from port 80 is redirected through firewall to varnis port, varnish internally uses the port 80 to backend non cached stuff to apache
BUT...
Stating the above was the easy part, now the question comes How to get this to work on a freebsd machine.
I have not been able to get this to work, so if anyone is game to try it out and post the how to here, all of us freebsd happy da-users would be highly indebted!
Thanks!
Please help me out here, as I have played around quite a bit, but am left in the dark how to get this working.
I am on a freebsd 7.2 64 bit DA machine and do NOT want to change DA settings, cause that would ruin my upgrade path with DA etc.
Therefore here is how I think it has to be done:
- leave DA stuff alone
- use Varnish in front of apache
- apache stays on port 80
- traffic from port 80 is redirected through firewall to varnis port, varnish internally uses the port 80 to backend non cached stuff to apache
BUT...
Stating the above was the easy part, now the question comes How to get this to work on a freebsd machine.
I have not been able to get this to work, so if anyone is game to try it out and post the how to here, all of us freebsd happy da-users would be highly indebted!
Thanks!