Thread: Apache Proxy
View Single Post
Old 3rd May 2010
DNAeon DNAeon is offline
Shell Scout
 
Join Date: Sep 2008
Location: Bulgaria
Posts: 138
Default

Quote:
Originally Posted by plexter View Post
Thanks for the info.

I'm trying to find an example configuration but can't seem to find one for what I want. Would you be able to assist?

Basically (as an example) if I have 2 servers running. Server1: abc.mynetwork.com and Server2: php.mynetwork.com

How would I direct traffic accordingly? With ABC for regular traffic and PHP for scripting. I only have been able to find info for load balancing should server1 go offline then send to server2, but I would like to load balance based on the URL entered. (abc... or php...)

Any help?
Thanks!
Hi,

Here's a sample documentation:
http://www.unix-heaven.org/index.php...server-freebsd

It contains examples on how you can configure a single Apache proxy server, that is redirecting the HTTP/HTTPS requests to internal servers.

You can also use Apache's mod_cache and mod_proxy_balancer modules in order to have cache and load-balancing capabilities in your Apache proxy server.
__________________
"I never think of the future. It comes soon enough." - A.E

Useful links: FreeBSD Handbook | FreeBSD Developer's Handbook | The Porter's Handbook | PF User's Guide | unix-heaven.org
Reply With Quote