Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

What will apache issue for $SERVER_NAME and $SERVER_PORT when server is behind a VIP/LoadBalancer?

I believe we will be using F5 with LTM

share|improve this question

2 Answers 2

This depends on whether you are using Source Address Translation or not. If you use this feature, it will show the BIG-IP's self-IP. Otherwise it will show the origional source address.

share|improve this answer

Unless the F5 is doing something specific to change those (and it can) it should work just like it would if the F5 were not there. The F5 load balancer can translate ports and even server names if you let it, but you have to tell it to do that.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.